Skip to content

Commit

Permalink
Add print of number of grib2 records read.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Jun 29, 2022
1 parent ed77aca commit 7185ed5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sorc/chgres_cube.fd/input_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2601,6 +2601,7 @@ subroutine read_input_atm_grib2_file(localpet)
endif

j = k

enddo

endif
Expand All @@ -2610,6 +2611,9 @@ subroutine read_input_atm_grib2_file(localpet)
call MPI_BCAST(lev_input,1,MPI_INTEGER,0,MPI_COMM_WORLD,iret)
call MPI_BCAST(rlevs_hold, max_levs, MPI_INTEGER,0,MPI_COMM_WORLD,iret)

if(localpet == 0) print*,'number of grib2 records read ',k
stop

allocate(slevs(lev_input))
allocate(rlevs(lev_input))
allocate(dummy3d_col_in(lev_input))
Expand Down

0 comments on commit 7185ed5

Please sign in to comment.