These routines perform all of the functions for reading and writing AVHRR archive images and their associated archive header files. A program may access these routines by linking the following object libraries.
$ADAPSLIB/archio.a $TPLIBThe AVHRR archive I/O routines use an internal buffer to read and write a specified number of lines at a time. This reduces the number of disk accesses that are required to process an image. The buffer is filled by c_arcopnrd() and will only be refilled when a line is accessed that is not within the buffer.
To ensure that updates made to the internal buffer are saved, c_arclose() must be called to write the final contents of the internal buffer to the image.