NCEPLIBS-w3emc 2.12.0
|
Grid coords to lat/lon for grib. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | w3fb07 (xi, xj, alat1, alon1, dx, alonv, alat, alon) |
Converts the coordinates of a location on earth given in a grid coordinate system overlaid on a polar stereographic map pro- jection true at 60 degrees n or s latitude to the natural coordinate system of latitude/longitude w3fb07() is the reverse of w3fb06(). | |
subroutine w3fb07 | ( | xi, | |
xj, | |||
alat1, | |||
alon1, | |||
dx, | |||
alonv, | |||
alat, | |||
alon | |||
) |
Converts the coordinates of a location on earth given in a grid coordinate system overlaid on a polar stereographic map pro- jection true at 60 degrees n or s latitude to the natural coordinate system of latitude/longitude w3fb07() is the reverse of w3fb06().
uses grib specification of the location of the grid
Program history log:
[in] | XI | I coordinate of the point real*4. |
[in] | XJ | J coordinate of the point real*4. |
[in] | ALAT1 | Latitude of lower left point of grid (point 1,1) latitude <0 for southern hemisphere; real*4. |
[in] | ALON1 | Longitude of lower left point of grid (point 1,1) east longitude used throughout; real*4. |
[in] | DX | Mesh length of grid in meters at 60 deg lat must be set negative if using southern hemisphere projection; real*4 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 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] | ALAT | Latitude in degrees (negative in southern hemi.). |
[out] | ALON | East longitude in degrees, real*4. |