Skip to content

Commit

Permalink
Add arawaka GDTNs (32768,32769) for grib2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Mar 1, 2024
1 parent ce1d621 commit 70841b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ip_grid_factory_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ subroutine init_grid_grib2(grid, g2_desc)
allocate(ip_lambert_conf_grid::grid)
case(GAUSSIAN_GRID_ID_GRIB2)
allocate(ip_gaussian_grid::grid)
case(ROT_EQUID_CYLIND_E_GRID_ID_GRIB2)
allocate(ip_rot_equid_cylind_egrid::grid)
case(ROT_EQUID_CYLIND_B_GRID_ID_GRIB2)
allocate(ip_rot_equid_cylind_grid::grid)
case default
print *, "gdt_num: ", g2_desc%gdt_num, " not recognized"
error stop
Expand Down
2 changes: 2 additions & 0 deletions src/ip_grid_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ module ip_grid_mod
integer, public, parameter :: POLAR_STEREO_GRID_ID_GRIB2 = 20 !< Integer grid number for polar stereo grid in grib2
integer, public, parameter :: LAMBERT_CONF_GRID_ID_GRIB2 = 30 !< Integer grid number for Lambert conformal grid in grib2
integer, public, parameter :: GAUSSIAN_GRID_ID_GRIB2 = 40 !< Integer grid number for Gaussian grid in grib2
integer, public, parameter :: ROT_EQUID_CYLIND_E_GRID_ID_GRIB2 = 32768 !< Integer grid number for rotated equidistant cylindrical E-stagger grid (grib2)
integer, public, parameter :: ROT_EQUID_CYLIND_B_GRID_ID_GRIB2 = 32769 !< Integer grid number for rotated equidistant cylindrical B-stagger grid (grib2)

private
public :: ip_grid
Expand Down

0 comments on commit 70841b8

Please sign in to comment.