Skip to content

Commit

Permalink
avoid duplicate hardwiring of NCROPS parameter (module_irrig_params.F90)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmao-rreichle committed Feb 8, 2025
1 parent 43167ab commit 97ca013
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module module_irrig_params
use rmTinyCatchParaMod, ONLY : RegridRaster,regridrasterreal
use process_hres_data, ONLY : get_country_codes
use MAPL
use irrigation_module, ONLY : NCROPS => IRRG_NCROPS

implicit none

Expand Down Expand Up @@ -40,7 +41,7 @@ subroutine create_irrig_params (nc, nr, gfile)

integer, parameter :: NX_mirca = 4320
integer, parameter :: NY_mirca = 2160
integer, parameter :: NCROPS = 26, NMON = 12, STRLEN = 20
integer, parameter :: NMON = 12, STRLEN = 20
real, parameter :: DXY_mirca= 360./REAL(NX_mirca)
real, parameter :: lat1_mirca = 90.0 - DXY_mirca / 2.0 !1st grid center lat
real, parameter :: lon1_mirca = -180.0 + DXY_mirca / 2.0 !1st grid center lon
Expand Down

0 comments on commit 97ca013

Please sign in to comment.