Skip to content

Commit

Permalink
First attempt at adding the massden parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Sep 5, 2023
1 parent 4656e9f commit c95800b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions parm/varmap_tables/GFSphys_var_map.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ cnwat cnwat set_to_fill 0.0 S
hice icetk set_to_fill 1.5 S
weasd weasd set_to_fill 0.0 S
snod snod set_to_fill 0.0 S
massden smoke set_to_fill 1E-12 T
10 changes: 5 additions & 5 deletions sorc/chgres_cube.fd/atm_input_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,7 @@ subroutine read_input_atm_grib2_file(localpet)

integer, intent(in) :: localpet

integer, parameter :: ntrac_max=14
integer, parameter :: ntrac_max=15
integer, parameter :: max_levs=1000

character(len=300) :: the_file
Expand Down Expand Up @@ -2030,18 +2030,18 @@ subroutine read_input_atm_grib2_file(localpet)

tracers(:) = "NULL"

trac_names_oct10 = (/1, 1, 14, 1, 1, 1, 1, 6, 6, 1, 6, 13, 13, 2 /)
trac_names_oct11 = (/0, 22, 192, 23, 24, 25, 32, 1, 29, 100, 28, 193, 192, 2 /)
trac_names_oct10 = (/1, 1, 14, 1, 1, 1, 1, 6, 6, 1, 6, 13, 13, 2, 20 /)
trac_names_oct11 = (/0, 22, 192, 23, 24, 25, 32, 1, 29, 100, 28, 193, 192, 2, 0 /)

trac_names_vmap = (/"sphum ", "liq_wat ", "o3mr ", "ice_wat ", &
"rainwat ", "snowwat ", "graupel ", "cld_amt ", "ice_nc ", &
"rain_nc ", "water_nc", "liq_aero", "ice_aero", &
"sgs_tke "/)
"sgs_tke ", "massden "/)

tracers_default = (/"sphum ", "liq_wat ", "o3mr ", "ice_wat ", &
"rainwat ", "snowwat ", "graupel ", "cld_amt ", "ice_nc ", &
"rain_nc ", "water_nc", "liq_aero", "ice_aero", &
"sgs_tke "/)
"sgs_tke ", "massden "/)

the_file = trim(data_dir_input_grid) // "/" // trim(grib2_file_input_grid)

Expand Down

0 comments on commit c95800b

Please sign in to comment.