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

Lat/lon to lambert(i,j) for grib. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fb11 (alat, elon, alat1, elon1, dx, elonv, alatan, xi, xj)
 Converts the coordinates of a location on Earth given in the natural coordinate system of latitude/longitude to a grid coordinate system overlaid on a lambert conformal tangent cone projection true at a given n or s latitude.
 

Detailed Description

Lat/lon to lambert(i,j) for grib.

Author
John Stackpole
Date
1988-11-25

Definition in file w3fb11.f.

Function/Subroutine Documentation

◆ w3fb11()

subroutine w3fb11 (   alat,
  elon,
  alat1,
  elon1,
  dx,
  elonv,
  alatan,
  xi,
  xj 
)

Converts the coordinates of a location on Earth given in the natural coordinate system of latitude/longitude to a grid coordinate system overlaid on a lambert conformal tangent cone projection true at a given n or s latitude.

w3fb11() is the reverse of w3fb12(). uses grib specification of the location of the grid

Program history log:

  • John Stackpole 1988-11-25
  • Ralph Jones 1990-04-12 Convert to cft77 fortran.
  • Ralph Jones 1994-04-28 Add save statement.
Parameters
[in]ALATLatitude in degrees (negative in southern hemis).
[in]ELONEast longitude in degrees, real*4.
[in]ALAT1Latitude of lower left point of grid (point (1,1)).
[in]ELON1Longitude of lower left point of grid (point (1,1)) all real*4.
[in]DXMesh length of grid in meters at tangent latitude.
[in]ELONVThe orientation of the grid. i.e., the east longitude value of the vertical meridian which is parallel to the y-axis (or columns of of the grid) along which latitude increases as the y-coordinate increases. real*4 this is also the meridian (on the back side of the tangent cone) along which the cut is made to lay the cone flat.
[in]ALATANThe latitude at which the lambert cone is tangent to (touching) the spherical Earth. Set negative to indicate a southern hemisphere projection.
[out]XII coordinate of the point specified by alat, elon
[out]XJJ coordinate of the point; both 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-11-25

Definition at line 41 of file w3fb11.f.