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

Grid coordinates to latitude, longitude. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fb05 (xi, xj, xmeshl, orient, alat, along)
 Converts the coordinates of a location from the grid(i,j) coordinate system overlaid on the polar stereographic map projec- tion true at 60 degrees n or s latitude to the natural coordinate system of latitude/longitude on the earth.
 

Detailed Description

Grid coordinates to latitude, longitude.

Author
Ralph Jones
Date
1986-07-17

Definition in file w3fb05.f.

Function/Subroutine Documentation

◆ w3fb05()

subroutine w3fb05 (   xi,
  xj,
  xmeshl,
  orient,
  alat,
  along 
)

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

w3fb05() is the reverse of w3fb04().

Program history log:

  • Ralph Jones 1986-07-17
  • Ralph Jones 1989-11-01 Change to cray cft77 fortran.
Parameters
[in]XII of the point relative to the north or s. pole
[in]XJJ of the point relative to the north or s. pole
[in]XMESHLMesh length of grid in km at 60 degrees(<0 if sh) (190.5 lfm grid, 381.0 nh pe grid,-381.0 sh pe grid)
[in]ORIENTOrientation west longitude of the grid (105.0 lfm grid, 80.0 nh pe grid, 260.0 sh pe grid)
[out]ALATLatitude in degrees (<0 if sh)
[out]ALONGWest longitude in degrees
Note
All parameters in the calling statement must be real. the range of allowable latitudes is from a pole to 30 degrees into the opposite hemisphere. the grid used in this subroutine has its origin (i=0,j=0) at the pole, so if the user's grid has its origin at a point other than a pole, a translation is required to get i and j for input into w3fb05(). the subroutine grid is oriented so that gridlines of i=constant are parallel to a west longitude sup- plied by the user. the earth's radius is taken to be 6371.2 km.
This code will not vectorize, it is normaly used in a double do loop with w3ft01(), w3ft00(), etc. to vectorize it, put it in line, put w3ft01(), w3ft00(), etc. in line.
Author
Ralph Jones
Date
1986-07-17

Definition at line 39 of file w3fb05.f.