NCEPLIBS-g2
3.5.0
|
Convert grid information from a GRIB2 grid to GRIB1 GDS info. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | gdt2gds (igds, igdstmpl, idefnum, ideflist, kgds, igrid, iret) |
Convert grid information from a GRIB2 Grid Description Section as well as its Grid Definition Template to GRIB1 GDS info. More... | |
Convert grid information from a GRIB2 grid to GRIB1 GDS info.
Definition in file gdt2gds.F90.
subroutine gdt2gds | ( | integer, dimension(*), intent(in) | igds, |
integer, dimension(*), intent(in) | igdstmpl, | ||
integer, intent(in) | idefnum, | ||
integer, dimension(*), intent(in) | ideflist, | ||
integer, dimension(*), intent(out) | kgds, | ||
integer, intent(out) | igrid, | ||
integer, intent(out) | iret | ||
) |
Convert grid information from a GRIB2 Grid Description Section as well as its Grid Definition Template to GRIB1 GDS info.
In addition, a check is made to determine if the grid is a NCEP predefined grid.
[in] | igds | Contains information read from the appropriate GRIB Grid Definition Section 3 for the field being returned. Must be dimensioned >= 5.
|
[in] | igdstmpl | Grid Definition Template values. |
[in] | idefnum | The number of entries in array ideflist. i.e. number of rows (or columns) for which optional grid points are defined. |
[in] | ideflist | Optional integer array containing the number of grid points contained in each row (or column). |
[out] | kgds | GRIB1 GDS as described in NCEPLIBS-w3emc w3fi63() function. |
[out] | igrid | NCEP predefined GRIB1 grid number. Set to 255, if not an NCEP grid. |
[out] | iret | Error return value:
|
Definition at line 44 of file gdt2gds.F90.