Content-type). The helpers are specified through a mailcap file, the same file used by Netscape and MIME-compliant mail readers (metamail) to process data.
syn-proc: helps with real-time observationstext/x-syn
syn-proc area-name syn-file
where
area-name
syn-file
SYN (METAR) records, MIME type text/x-syn
NODDSFLS folder
(so the program can figure out the location of the NODDS folder from the argv[0]).This program:
area-name just below the NODDSFLS, the folder this helper
is called from)
MZZUPDT_.XXF does not exist there, the syn-file
is copied there with a line "METXSYN DTGString" prepended and
"ENDAT/" appended.
MZZUPDT_.XXF did exist, it is merged into MZZUPDT_.NEW
syn-file is processed, MZZUPDT_.XXF is renamed into MZZOLD_.XXF, and
MZZUPDT_.NEW is renamed MZZUPDT_.XXF.
fldsum.dat file, and finally, touches the file update.obs. This
serves as a signal to JMV viewer that the MZZUPDT_.XXF and fldsum.dat files have been updated with a new set of Real Time Observations.
MZZUPDT_.XXF file. This syn-proc helper never writes to MZZUPDT_.XXF: instead, it creates an entirely new file, which it later renames into MZZUPDT_.XXF (taking care to save the existing MZZUPDT_.XXF as MZZOLD_.XXF).
Also note that the present syn-proc module does not need to access any other file that is not mentioned above (for example, syn-proc does not need an ARQ_info.txt file).
syn-proc is 2.5, as of Jul 23, 1997
sat-proc: helps with satellite image dataimage/x-portable-graymapPGM 'P5' format
sat-proc tmpname area-name sat-id description timestamp
where
tmpname
area-name
sat-id
SVN)
description
timestamp
EPOCH seconds (the same format as returned by time(2))
NODDSFLS folder
The program descends into the area (which is a folder named area-name just below NODDSFLS, the folder this application is called from). The tmpname file is copied to a file whose name is constructed as follows:
sat-id + "X000" + rightmostchar( sat-id ) + ".IMF"
(e.g.: if sat-id == "SVN", then file name would be "SVNX000N.IMF")
The full product description, a 'description' command-line argument, is used to create a record about this satellite product in the fldsum.dat file.
After this helper has taken care of the product data file and recorded this info in the fldsum.dat, the helper touches a file 'update.all'
The presence of this file tells JMV that fldsum.dat has been updated (and so JMV should re-draw the current display).
sat-proc is 2.0, as of August 8, 1997