FORTRAN program that transforms I,J coordinates of an SSM/I grid cell to
latitude and longitude coordinates. This program provides the inverse functions
as well. LOCATE
interfaces to the revised forms of the subroutines, MAPXY
and MAPLL
.
This repository is fully supported by NSIDC. If you discover any problems or bugs, please submit an Issue. If you would like to contribute to this repository, you may fork the repository and submit a pull request.
See the LICENSE for details on permissions and warranties. Please contact [email protected] for more information.
locate.for
requries gfortran
.
Install gfortran
and then compile the locatefor
executable with the
following command:
$ cd locate/
$ gfortran locate.for mapll.for mapxy.for -o locatefor
To use locate.for
, simply run the compiled locatefor
and follow the prompts.
For example, to convert northern hemisphere I,J coordinates to latitude,longitude coordinates:
$ ./locatefor
Enter the grid cell dimension:
1. 12.5 Km
2. 25.0 Km
1
Enter the hemisphere of interest:
1. North
2. South
1
Enter one of the following transform functions:
1. Convert I,J to Latitude, Longitude
2. Convert Latitude, Longitude to I,J
1
Enter the column number
the valid range is (1-608)
200
Enter the row number
the valid range is (1-896)
300
67.1696243 167.778168
See LICENSE.
See Code of Conduct.
This software was developed by the NASA National Snow and Ice Data Center Distributed Active Archive Center.