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

Grid coords to lat/lon for grib. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fb07 (xi, xj, alat1, alon1, dx, alonv, alat, alon)
 Converts the coordinates of a location on earth given in a grid coordinate system overlaid on a polar stereographic map pro- jection true at 60 degrees n or s latitude to the natural coordinate system of latitude/longitude w3fb07() is the reverse of w3fb06().
 

Detailed Description

Grid coords to lat/lon for grib.

Author
John Stackpole
Date
1988-01-01

Definition in file w3fb07.f.

Function/Subroutine Documentation

◆ w3fb07()

subroutine w3fb07 (   xi,
  xj,
  alat1,
  alon1,
  dx,
  alonv,
  alat,
  alon 
)

Converts the coordinates of a location on earth given in a grid coordinate system overlaid on a polar stereographic map pro- jection true at 60 degrees n or s latitude to the natural coordinate system of latitude/longitude w3fb07() is the reverse of w3fb06().

uses grib specification of the location of the grid

Program history log:

  • John Stackpole 1988-01-01
  • Ralph Jones 1990-04-12 Convert to cray cft77 fortran.
Parameters
[in]XII coordinate of the point real*4.
[in]XJJ coordinate of the point real*4.
[in]ALAT1Latitude of lower left point of grid (point 1,1) latitude <0 for southern hemisphere; real*4.
[in]ALON1Longitude of lower left point of grid (point 1,1) east longitude used throughout; real*4.
[in]DXMesh length of grid in meters at 60 deg lat must be set negative if using southern hemisphere projection; real*4 190500.0 lfm grid, 381000.0 nh pe grid, -381000.0 sh pe grid, etc.
[in]ALONVThe orientation of the grid. i.e., the east longitude value of the vertical meridian which is parallel to the y-axis (or columns of the grid) along which latitude increases as the y-coordinate increases. real*4 for example: 255.0 for lfm grid, 280.0 nh pe grid, 100.0 sh pe grid, etc.
[out]ALATLatitude in degrees (negative in southern hemi.).
[out]ALONEast longitude in degrees, real*4.
Note
Formulae and notation loosely based on hoke, hayes, and renninger's "map projections and grid systems...", march 1981 afgwc/tn-79/003
Author
John Stackpole
Date
1988-01-01

Definition at line 43 of file w3fb07.f.