NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
w3fb00.f File Reference

Convert latitude, longitude to i,j. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fb00 (alat, along, xmeshl, xi, xj)
 Converts the coordinates of a location on earth from the natural coordinate system of latitude/longitude to the grid (i,j) coordinate system overlaid on the polar stereographic map pro- jection true at 60 n.
 

Detailed Description

Convert latitude, longitude to i,j.

Author
A. Heermann
Date
1969-08-01

Definition in file w3fb00.f.

Function/Subroutine Documentation

◆ w3fb00()

subroutine w3fb00 (   alat,
  along,
  xmeshl,
  xi,
  xj 
)

Converts the coordinates of a location on earth from the natural coordinate system of latitude/longitude to the grid (i,j) coordinate system overlaid on the polar stereographic map pro- jection true at 60 n.

a preferable, more flexible subroutine to use is w3fb04(). w3fb00() is the reverse of w3fb01().

Program history log:

  • A. Heermann 1969-08-01
  • Ralph Jones 1990-08-31 Convert to cray cft77 fortran
Parameters
[in]ALATLatitude in deg. (-20.0 (s. hemis)) alat) 90.0).
[in]ALONGWest longitude in degrees.
[in]XMESHLMesh length of grid in kilometers at 60n.
[out]XII of the point relative to north pole.
[out]XJJ of the point relative to north pole.
Note
The grid used in this subroutine has its origin (i=0,j=0) at the north pole, so if the user's grid has its origin at a point other than the north pole, a translation is required to get i and j. The subroutine grid is oriented so that longitude 80w is parallel to the gridlines of i=constant. The radius of the earth is taken to be 6371.2 km. All parameters in the call statement must be real this code will not vectorize on a cray. You will have put it line to vectorize it.
Author
A. Heermann
Date
1969-08-01

Definition at line 31 of file w3fb00.f.