NCEPLIBS-g2  3.4.7
getpoly.f File Reference

Return the J, K, and M pentagonal resolution parameters specified in a GRIB2 Grid Definition Section. More...

Go to the source code of this file.

Functions/Subroutines

subroutine getpoly (csec3, lcsec3, jj, kk, mm)
 Return the J, K, and M pentagonal resolution parameters specified in a GRIB2 Grid Definition Section used spherical harmonic coefficients using GDT 5.50 through 5.53. More...
 

Detailed Description

Return the J, K, and M pentagonal resolution parameters specified in a GRIB2 Grid Definition Section.

Author
Stephen Gilbert
Date
2002-12-11

Definition in file getpoly.f.

Function/Subroutine Documentation

◆ getpoly()

subroutine getpoly ( character(len=1), dimension(*), intent(in)  csec3,
integer, intent(in)  lcsec3,
integer, intent(out)  jj,
integer, intent(out)  kk,
integer, intent(out)  mm 
)

Return the J, K, and M pentagonal resolution parameters specified in a GRIB2 Grid Definition Section used spherical harmonic coefficients using GDT 5.50 through 5.53.

Parameters
[in]csec3Character array containing the packed GRIB2 GDS
[in]lcsec3Length (in octets) of section 3
[out]JJ=J pentagonal resolution parameter
[out]KK=K pentagonal resolution parameter
[out]MM=M pentagonal resolution parameter
Note
Returns JJ, KK, and MM set to zero, if grid template not recognized.
Author
Stephen Gilbert
Date
2002-12-11

Definition at line 20 of file getpoly.f.

References gf_unpack3().

Referenced by addfield().