NAME

profiler_to_netcdf - convert POP3 file to NetCDF

SYNOPSIS

profiler_to_netcdf -f filename | {-d inputdirectory -b begintime { -s stoptime |

-h numhours}}

AVAILABLILTY

this program is in /net/sssf2/profiler/prof_utilities/bin

DESCRIPTION

This program reads from POP3 ".spc" files, reformats the data, and writes

NetCDF files. Currently, a separate NetCDF file in created for each hour.

Depending on the options chosen, the program will either read a single

.spc file or will search all .spc files in a directory for all data between

the begin and stop times or within a given number of hours of a begin time.

OPTIONS

-f filename

 

This option is for processing a single .spc file. filename is the full pathname

of the file.

 

-d inputdirectory

 

The full pathname of a directory where .spc files are stalled. Needed when

processing data is a time range.

 

-b begintime

 

The date and time of the beginning of the desired time range. The format

is ddmmmyy:hhmm. Example: 15feb95:1700 (note month is lower case).

 

-s stoptime

 

The date and time of the end of the desired time range. The format is

ddmmmyy:hhmm. Example: 15feb95:1700 (note month is lower case)

Either stoptime or numhours must be provided if a begintime is provided.

.

-h numhours

 

The number of hours to process data from. Must be an integer. Either

numhours or stoptime must be provided if a begintime is provided.

ENVIRONMENT

The environment variable OUTPUT_DIR must be set to the name of

the directory that the NetCDF files should be written to.

FILES

 

SEE ALSO

 

NOTES

 

BUGS

Garbage records in the POP3 files occasionally put the program in

an infinite loop.