Skip to content

FORTRAN program that transforms between I,J and latitude,longitude coordinates of an SSM/I grid cell.

License

Notifications You must be signed in to change notification settings

nsidc/polarstereo-latlon-convert-fortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSIDC logo

NSIDC Polar Stereographic Projection lat/lon conversion: locate

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.

Level of Support

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 nsidc@nsidc.org for more information.

Requirements

locate.for requries gfortran.

Installation

Install gfortran and then compile the locatefor executable with the following command:

$ cd locate/
$ gfortran locate.for mapll.for mapxy.for -o locatefor

Usage

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

License

See LICENSE.

Code of Conduct

See Code of Conduct.

Credit

This software was developed by the NASA National Snow and Ice Data Center Distributed Active Archive Center.

About

FORTRAN program that transforms between I,J and latitude,longitude coordinates of an SSM/I grid cell.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages