NCEPLIBS-w3emc 2.12.0
|
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. | |
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:
[in] | ALAT | Latitude in degrees (negative in southern hemis) |
[in] | ALON | East longitude in degrees, real*4 |
[in] | ALAT1 | Latitude of lower left point of grid (point (1,1)) |
[in] | ALON1 | Longitude of lower left point of grid (point (1,1)) all real*4 |
[in] | DX | Mesh 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] | ALONV | The 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] | XI | I Coordinate of the point specified by alat, alon. |
[out] | XJ | J Coordinate of the point; both real*4. |