NCEPLIBS-w3emc 2.12.0
|
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. | |
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:
[in] | ALAT | Latitude in degrees (negative in southern hemis). |
[in] | ALON | East longitude in degrees, real*4. |
[in] | ALAT1 | Latitude of lower left corner of grid (point (1,1)). |
[in] | ALON1 | Longitude of lower left corner of grid (point (1,1)) all real*4. |
[in] | ALATIN | The latitude at which the mercator cylinder intersects the earth. |
[in] | DX | Mesh length of grid in meters at alatin. |
[out] | XI | I coordinate of the point specified by alat, alon. |
[out] | XJ | J coordinate of the point; both real*4. |