Program: lfilesearch (Appendix 1)
by Andrew Newman and Grant T. Farmer
Program Goal:
Program will search default or input lfile for stations that are either within a certain distance of a point
or within a rectangular area.
Usage:
lfilesearch [-CLON/LAT/RAD] [-RLONMIN/LONMAX/LATMIN/LATMAX] [-T YYYY/DOY] [-L lfile] [-S station.info] [-I sittbl.]
Required Flags:
One of the two options is required:
-C will search the LFILE for stations within the circular radius [km] from CLON, CLAT
-R will search the LFILE for stations within rectangular region between LONMIN/LONMAX
and LATMIN/LATMAX. distance output will be from center of rectangle.
Optional Flags:
Use any or all of the following options:
-T will search if stations are good for a specific day
-L will use the input LFILE rather than default
-S will use the input station.info rather than default
-I will check supplied sittbl. file for stations
Bugs, caveats:
+ This program will give erroneous results if search is across the international dateline or poles.
+ search assumes a useful range between -180/180 and -90/90.
Example:
lfilesearch -C-107/35/1000 -Llocal.lfile -Slocal.station.info
or:
lfilesearch -R-120/-100/10/40 -T2002/311
|