Changeset 119

Show
Ignore:
Timestamp:
03/13/07 11:42:43
Author:
jcothran
Message:

changes made to savannah wera processing to process several files at a time as they arrive irregularly at a target http directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • docs/usc/trident/home/scscout/sc/obs/radar/README.txt

    r112 r119  
    1 The below cron calls the perl script get_latest.pl to convert a file like the sample gridded ascii currents file 20070610030_pri.cur_asc into the sample netcdf file seacoos.savannah.wera_hf_radar_latest.nc .   It uses the netCDF file template template_radar.txt and substitutes in the changing u/v , timestamp data as needed to create a complete netCDF text file which is then passed to ncgen to create a netCDF file. 
     1The below cron calls the perl script get_latest_data.pl to search for and process new files in the target http directory list.  Input files like the sample gridded ascii currents file 20070610030_pri.cur_asc are converted into the sample netcdf file seacoos.savannah.wera_hf_radar_latest.nc by convert_latest.pl   It uses the netCDF file template template_radar.txt and substitutes in the changing u/v , timestamp data as needed to create a complete netCDF text file which is then passed to ncgen to create a netCDF file. 
    22 
    33Latitude and longitude values were precomputed using lat_long.pl .  The starting grid lat/long coordinates and grid spacing/dimensions were used to compute the total bounding box in decimal degrees with the help of this link http://www.csgnetwork.com/gpsdistcalc.html to compute the approximate required ending decimal degrees and distance for the given starting lat/long. 
     
    66 
    77#hf radar for Savannah WERA 
    8 20 * * * * cd /home/scscout/sc/obs/radar ; perl get_latest.pl 1 >> /tmp/radar.log 2>&1 
    9 50 * * * * cd /home/scscout/sc/obs/radar ; perl get_latest.pl 0 >> /tmp/radar.log 2>&1 
     820 * * * * cd /home/scscout/sc/obs/radar ; perl get_latest_data.pl 1 >> /tmp/radar.log 2>&1 
     9 
    1010