Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spack:
- netcdf-c@4.9.2
- netcdf-fortran@4.6.1
- bacio@2.4.1
- g2@3.4.5
- g2@3.5.1
- ip@4.4.0 precision=d
- nemsio@2.5.4
- sp@2.5.0
Expand Down
4 changes: 2 additions & 2 deletions sorc/chgres_cube.fd/atm_input_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2077,8 +2077,8 @@ subroutine read_input_atm_grib2_file(localpet)
jpdtn = -1 ! Search for any product definition template number.
unpack =.false.

call getgb2(lugb, lugi, j, jdisc, jids, jpdtn, jpdt, jgdtn, jgdt, &
unpack, k, gfld, iret)
call getgb2i2(lugb, lugi , j, jdisc, jids, jpdtn, jpdt, jgdtn, jgdt, &
unpack, 2, k, gfld, iret)

!----------------------------------------------------------------------
! Read first record and check if this is NCEP GEFS data.
Expand Down
6 changes: 3 additions & 3 deletions sorc/chgres_cube.fd/sfc_input_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,7 @@ subroutine read_input_sfc_grib2_file(localpet)

if (localpet == 0) then

lugb=12
lugb=16
call baopenr(lugb,the_file,rc)
if (rc /= 0) call error_handler("ERROR OPENING GRIB2 FILE.", rc)

Expand All @@ -1832,8 +1832,8 @@ subroutine read_input_sfc_grib2_file(localpet)
jpdt = -9999 ! array of values in product definition template, set to wildcard
unpack = .false. ! unpack data

call getgb2(lugb, lugi, j, jdisc, jids, jpdtn, jpdt, jgdtn, jgdt, &
unpack, k, gfld, rc)
call getgb2i2(lugb, lugi, j, jdisc, jids, jpdtn, jpdt, jgdtn, jgdt, &
unpack, 2, k, gfld, rc)

if (rc == 0) then
if (gfld%idsect(1) == 7 .and. gfld%idsect(2) == 2) then
Expand Down
Loading