23 character(len = 8) :: abbrev
1079 integer,
intent(in) :: g1val, g1ver
1080 integer,
intent(out) :: g2disc, g2cat, g2num
1088 if (
paramlist(n)%grib1val .eq. g1val .AND. &
1097 print *,
'param_g1_to_g2:GRIB1 param ', g1val,
' not found.', &
1098 ' for table version ', g1ver
1115 integer,
intent(in) :: g2disc, g2cat, g2num
1121 if (
paramlist(n)%grib2dsc .eq. g2disc .AND. &
1122 paramlist(n)%grib2cat .eq. g2cat .AND. &
1149 integer,
intent(in) :: g2disc, g2cat, g2num
1150 integer,
intent(out) :: g1val, g1ver
1157 if (
paramlist(n)%grib2dsc .eq. g2disc .AND. &
1158 paramlist(n)%grib2cat .eq. g2cat .AND. &
1166 print *,
'param_g2_to_g1:GRIB2 param ', g2disc, g2cat, &
1167 g2num,
' not found.'
This Fortran Module contains info on all the available GRIB Parameters, and their GRIB1 and GRIB2 cod...
type(gribparam), dimension(maxparam) paramlist
list of GRIB parameters.
subroutine param_g2_to_g1(g2disc, g2cat, g2num, g1val, g1ver)
This subroutine returns the GRIB 1 parameter number for a given GRIB2 Discipline, Category and Parame...
subroutine param_g1_to_g2(g1val, g1ver, g2disc, g2cat, g2num)
This subroutine returns the corresponding GRIB2 Discipline Category and Number for a given GRIB1 para...
integer, parameter maxparam
maximum number of GRIB parameters.
character(len=8) function param_get_abbrev(g2disc, g2cat, g2num)
This function returns the parameter abbreviation for a given GRIB2 Discipline, Category and Parameter...
This type holds information about GRIB parameters.