Skip to content

Commit

Permalink
Remove warnings from model_grid.F90.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Dec 14, 2022
1 parent a9eb601 commit ffe25e5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions sorc/chgres_cube.fd/model_grid.F90
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ subroutine define_input_grid(localpet, npets)
trim(input_type) == "gfs_gaussian_nemsio" .or. &
trim(input_type) == "gfs_sigio" .or. &
trim(input_type) == "gaussian_netcdf") then
call define_input_grid_gaussian(localpet, npets)
call define_input_grid_gaussian(npets)
elseif (trim(input_type) == "grib2") then
call define_input_grid_grib2(localpet,npets)
call define_input_grid_grib2(npets)
else
call define_input_grid_mosaic(localpet, npets)
endif
Expand All @@ -141,10 +141,9 @@ end subroutine define_input_grid
!! - spectral gfs sigio (prior to July 19, 2017)
!! - spectral gfs sfcio (prior to July 19, 2017)
!!
!! @param [in] localpet ESMF local persistent execution thread
!! @param [in] npets Number of persistent execution threads.
!! @author George Gayno NCEP/EMC
subroutine define_input_grid_gaussian(localpet, npets)
subroutine define_input_grid_gaussian(npets)

use nemsio_module

Expand All @@ -160,7 +159,7 @@ subroutine define_input_grid_gaussian(localpet, npets)

implicit none

integer, intent(in) :: localpet, npets
integer, intent(in) :: npets

character(len=250) :: the_file

Expand Down Expand Up @@ -607,20 +606,19 @@ end subroutine define_input_grid_mosaic

!> Define input grid object for grib2 input data.
!!
!! @param [in] localpet ESMF local persistent execution thread
!! @param [in] npets Number of persistent execution threads
!! @author Larissa Reames
!! @author Jeff Beck
!! @author George Gayno
subroutine define_input_grid_grib2(localpet,npets)
subroutine define_input_grid_grib2(npets)

use grib_mod
use gdswzd_mod
use program_setup, only : grib2_file_input_grid, data_dir_input_grid

implicit none

integer, intent(in) :: localpet, npets
integer, intent(in) :: npets

character(len=500) :: the_file

Expand Down

0 comments on commit ffe25e5

Please sign in to comment.