NCEPLIBS-w3emc  2.11.0
w3fb08.f File Reference

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

Go to the source code of this file.

Functions/Subroutines

subroutine w3fb08 (ALAT, ALON, ALAT1, ALON1, ALATIN, DX, XI, XJ)
 Converts a location on earth given in the coordinate system of latitude/longitude to an (i,j) coordinate system overlaid on a mercator map projection w3fb08() is the reverse of w3fb09() uses grib specification of the location of the grid. More...
 

Detailed Description

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

Author
John Stackpole
Date
1988-03-01

Definition in file w3fb08.f.

Function/Subroutine Documentation

◆ w3fb08()

subroutine w3fb08 (   ALAT,
  ALON,
  ALAT1,
  ALON1,
  ALATIN,
  DX,
  XI,
  XJ 
)

Converts a location on earth given in the coordinate system of latitude/longitude to an (i,j) coordinate system overlaid on a mercator map projection w3fb08() is the reverse of w3fb09() uses grib specification of the location of the grid.

Program history log:

  • John Stackpole 1988-03-01
  • Ralph Jones 1990-04-12 Convert to cray cft77 fortran.
Parameters
[in]ALATLatitude in degrees (negative in southern hemis).
[in]ALONEast longitude in degrees, real*4.
[in]ALAT1Latitude of lower left corner of grid (point (1,1)).
[in]ALON1Longitude of lower left corner of grid (point (1,1)) all real*4.
[in]ALATINThe latitude at which the mercator cylinder intersects the earth.
[in]DXMesh length of grid in meters at alatin.
[out]XII coordinate of the point specified by alat, alon.
[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-03-01

Definition at line 31 of file w3fb08.f.