|
Longitude,Latitude to i,j Converter |
|
|
This tool converts longitude,latitude values to HYCOM i,j values. The tool hycom_lonlat2ij in the HYCOM source distribution requires one latitude value, one longitude value, and the respective grid.a file for the HYCOM model you are working with.
hycom_lonlat2ij - Usage:
hycom_lonlat2ij lon lat [grid.a]
hycom_lonlat2ij [grid.a] < lonlat.txt
Prints the nearest HYCOM p-grid point to lon,lat. A single lon,lat can be specified on the command line, or a sequence of lon,lat pairs can be input from stdin. grid.a is a hycom grid file, default regional.grid.a. Note that the corresponding grid.b must also exist. This version for "serial" Unix systems. Written by Alan J. Wallcraft, Naval Research Laboratory, November 2001.
|