FUNCTION c_arcopnwrt (image, dtype, arcdesc)
char *image; long *dtype; long *arcdesc;
Host file name of the AVHRR archive image to be created.
Data type of the image (GAC, LAC, HRPT).
The AVHRR archive file descriptor. This record is then passed to c_arcseek(), c_arcwrite(), and c_arclose() as needed.
Open a new AVHRR archive image for writing. The specified image must not exist.
c_arcopnwrt() returns
E_SUCC (0) --> Successful completion. E_FAIL (-1) --> Operation failed. The specified file already exists, an error occurred opening the file, or the function was unable to allocate memory.