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

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

Go to the source code of this file.

Functions/Subroutines

subroutine w3fb06 (alat, alon, alat1, alon1, dx, alonv, 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 polar stereographic map pro- jection true at 60 degrees n or s latitude.
 

Detailed Description

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

Author
John Stackpole
Date
1988-01-01

Definition in file w3fb06.f.

Function/Subroutine Documentation

◆ w3fb06()

subroutine w3fb06 (   alat,
  alon,
  alat1,
  alon1,
  dx,
  alonv,
  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 polar stereographic map pro- jection true at 60 degrees n or s latitude.

w3fb06() is the reverse of w3fb07(). 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]ALATLatitude in degrees (negative in southern hemis)
[in]ALONEast longitude in degrees, real*4
[in]ALAT1Latitude of lower left point of grid (point (1,1))
[in]ALON1Longitude of lower left point of grid (point (1,1)) all real*4
[in]DXMesh length of grid in meters at 60 deg lat must be set negative if using southern hemisphere projection. 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 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]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-01-01

Definition at line 41 of file w3fb06.f.