Rename AVHRR browse images
Rename AVHRR browse images to reflect their sceneid.
- INFILE
- Input file to be renamed. The suffix for this file must be "1KM" (upper-case).
The file "00140339;1KM" will get renamed to "ah14041496153532_120414;brw" assuming the scene id contained in the header record of "00140339;1KM" is "ah14041496153532".
The header record of the browse image file specified by INFILE is examined to determine the scene id of the image. INFILE must have a suffix of "1KM" (upper-case). The browse image file is renamed to "SCENEID_TSTAMP;brw", where SCENEID is the scene id found in the header record and TSTAMP is the current time stamp (the directory specification remains unchanged).
An invalid browse image name was specified. Verify that the suffix is ";1KM".
An error occurred opening the image specified by INFILE. Verify that the file exists with the proper permissions.
An error occurred attempting to rename the browse image. Contact the system administrator.