Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update model and settings for Prototype P8b #681

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
27feb93
update upp to match current develop
JessicaMeixner-NOAA Feb 3, 2022
3d4a65c
making cpl and standalone input.nml more consistent
JessicaMeixner-NOAA Feb 7, 2022
ed2adc5
update for Thompson MP
JessicaMeixner-NOAA Feb 7, 2022
0c85a71
update settings for p8b
JessicaMeixner-NOAA Feb 7, 2022
182b36a
Update uncoupled settings to correspond to coupled #563
JessicaMeixner-NOAA Feb 7, 2022
4b4ae47
prep build for p8b
JessicaMeixner-NOAA Feb 7, 2022
a2a8f58
update CCPP suites
JessicaMeixner-NOAA Feb 7, 2022
a3cb216
Merge remote-tracking branch 'EMC/develop' into feature/p8b
JessicaMeixner-NOAA Feb 10, 2022
5287df3
update to point to branch for time being
JessicaMeixner-NOAA Feb 10, 2022
e225b97
updates corresponding to model updates
JessicaMeixner-NOAA Feb 13, 2022
b96221e
Merge remote-tracking branch 'EMC/develop' into feature/p8b
JessicaMeixner-NOAA Feb 13, 2022
8d05e3d
use false instead of F
JessicaMeixner-NOAA Feb 13, 2022
759ec92
update MOM templates to be in sync with what is in rt.sh
JessicaMeixner-NOAA Feb 14, 2022
71a9050
updates for uGWD following updates from Fanglin
JessicaMeixner-NOAA Feb 14, 2022
b055edd
update how files for Thompson MP are handled
JessicaMeixner-NOAA Feb 14, 2022
1f1d6a5
remove nsout in model_configure matching ufs commmit 74a34d225fb76702…
JessicaMeixner-NOAA Feb 14, 2022
c4ec552
remove atm_coupling_ var from model_configure
JessicaMeixner-NOAA Feb 14, 2022
d67e8b0
removing print_esmf from model_configure
JessicaMeixner-NOAA Feb 14, 2022
2fbc08f
add itasks to model_configure
JessicaMeixner-NOAA Feb 14, 2022
f54c117
removing second output history
JessicaMeixner-NOAA Feb 14, 2022
a0c343e
updates for consistency for ice_in between workflow and rt
JessicaMeixner-NOAA Feb 14, 2022
3105ce6
update field table
JessicaMeixner-NOAA Feb 15, 2022
3f3fcca
update modules
JessicaMeixner-NOAA Feb 15, 2022
7321d8d
update ufs_model
JessicaMeixner-NOAA Feb 15, 2022
14b711e
update ww3 module files or grib will not build
JessicaMeixner-NOAA Feb 15, 2022
0ee13ca
updating for p8b settings
JessicaMeixner-NOAA Feb 15, 2022
2027252
export RESTILE so it can be used in nems.configure
JessicaMeixner-NOAA Feb 15, 2022
0a27c71
update ww3 module file to orig or grib will not compile
JessicaMeixner-NOAA Feb 15, 2022
f036d2a
have standalone atm use tiled fix files as well
JessicaMeixner-NOAA Feb 16, 2022
06ad5e7
Uncommenting rain and ice water number concentrations
JessicaMeixner-NOAA Feb 17, 2022
22845fd
update for consistency with rt.sh
JessicaMeixner-NOAA Feb 17, 2022
5f89c4e
making diag_table and diag_table_da consistent with diag_table_cpl
JessicaMeixner-NOAA Feb 17, 2022
652324d
removing un-needed variables in diag table for da
JessicaMeixner-NOAA Feb 17, 2022
ebfd444
Merge remote-tracking branch 'EMC/develop' into feature/p8b
JessicaMeixner-NOAA Feb 17, 2022
c4c7ee9
Merge remote-tracking branch 'EMC/develop' into feature/p8b
JessicaMeixner-NOAA Mar 2, 2022
0443af9
update name of SDF
JessicaMeixner-NOAA Mar 2, 2022
c7cbaa7
update MOM input templates to correspond with
JessicaMeixner-NOAA Mar 2, 2022
033556c
updates for aerosols
JessicaMeixner-NOAA Mar 10, 2022
db99fa7
Merge remote-tracking branch 'EMC/develop' into feature/p8b
JessicaMeixner-NOAA Mar 10, 2022
104f8b6
point to develop of ufs-weather-model
JessicaMeixner-NOAA Mar 10, 2022
503662f
updated rc files for update GOCART from Raffaele
JessicaMeixner-NOAA Mar 11, 2022
9a18e71
use tag name instead of hash for ufs-weather-model
JessicaMeixner-NOAA Mar 11, 2022
fadde3b
update resources for a setting that should work for a 35 day run unde…
JessicaMeixner-NOAA Mar 11, 2022
a2c143f
update dnats
JessicaMeixner-NOAA Mar 14, 2022
217a949
remove mapl libraries from runtime modules as they are only needed fo…
JessicaMeixner-NOAA Mar 14, 2022
c7ef36b
Merge branch 'feature/p8b' of https://github.com/JessicaMeixner-NOAA/…
JessicaMeixner-NOAA Mar 14, 2022
8260aa0
point to hash instead of tag (same code in checkout)
JessicaMeixner-NOAA Mar 22, 2022
7eb6b6e
Merge remote-tracking branch 'EMC/develop' into feature/p8b
JessicaMeixner-NOAA Mar 22, 2022
a2204d2
updates from Fanglin
JessicaMeixner-NOAA Mar 28, 2022
7777d64
update field_table.aero to match the added portion of what is in
JessicaMeixner-NOAA Mar 28, 2022
9e8ada4
update so that all nems.configure has ESMF_LOGKIND as requested
JessicaMeixner-NOAA Mar 29, 2022
5bc927d
add back overrides as requested
JessicaMeixner-NOAA Mar 30, 2022
8750acc
update to prototype p8b tag
JessicaMeixner-NOAA Mar 30, 2022
22feb73
Merge branch 'feature/p8b' of github.com:JessicaMeixner-NOAA/global-w…
JessicaMeixner-NOAA Mar 30, 2022
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
8 changes: 3 additions & 5 deletions modulefiles/module_base.hera
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,17 @@ module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.2
module load esmf/8_2_0_beta_snapshot_14
module load esmf/8.2.1b04
module load fms/2021.03

module load bacio/2.4.1
module load g2/3.4.1
module load g2tmpl/1.9.1
module load g2/3.4.2
module load g2tmpl/1.10.0
module load ip/3.3.3
module load nemsio/2.5.2
module load sp/2.3.3
module load w3emc/2.7.3
module load w3nco/2.4.1
module load upp/10.0.8

module load wgrib2/2.0.8
setenv WGRIB2 wgrib2
Expand All @@ -49,4 +48,3 @@ module load anaconda/2.3.0

# waveprep
module load cdo/1.9.5

7 changes: 3 additions & 4 deletions modulefiles/module_base.orion
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,17 @@ module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.2
module load esmf/8_2_0_beta_snapshot_14
module load esmf/8.2.1b04
module load fms/2021.03

module load bacio/2.4.1
module load g2/3.4.1
module load g2tmpl/1.9.1
module load g2/3.4.2
module load g2tmpl/1.10.0
module load ip/3.3.3
module load nemsio/2.5.2
module load sp/2.3.3
module load w3emc/2.7.3
module load w3nco/2.4.1
module load upp/10.0.8

module load wgrib/2.0.8
setenv WGRIB2 wgrib2
Expand Down
7 changes: 3 additions & 4 deletions modulefiles/module_base.wcoss_dell_p3
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@ module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.2
module load esmf/8_2_0_beta_snapshot_14
module load esmf/8.2.1b04
module load fms/2021.03

module load bacio/2.4.1
module load g2/3.4.1
module load g2tmpl/1.9.1
module load g2/3.4.2
module load g2tmpl/1.10.0
module load ip/3.3.3
module load nemsio/2.5.2
module load sp/2.3.3
module load w3emc/2.7.3
module load w3nco/2.4.1
module load upp/10.0.8

module load wgrib2/2.0.8
setenv WGRIB2 wgrib2
Expand Down
4 changes: 4 additions & 0 deletions parm/chem/CA2G_instance_CA.bc.rc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ nbins: 2
aerosol_radBands_optics_file: ExtData/optics/opticsBands_BC.v1_3.RRTMG.nc
aerosol_monochromatic_optics_file: ExtData/monochromatic/optics_BC.v1_3.nc

# Aircraft emission factor: convert input unit to kg C
aircraft_fuel_emission_factor: 1.0000

# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3

Expand Down Expand Up @@ -35,3 +38,4 @@ sigma: 2.0 2.0

pressure_lid_in_hPa: 0.01

point_emissions_srcfilen: /dev/null
5 changes: 5 additions & 0 deletions parm/chem/CA2G_instance_CA.br.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
aerosol_radBands_optics_file: ExtData/optics/opticsBands_BRC.v1_5.RRTMG.nc
aerosol_monochromatic_optics_file: ExtData/monochromatic/optics_BRC.v1_5.nc

# Aircraft emission factor: convert input unit to kg C
aircraft_fuel_emission_factor: 1.0000

# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3

Expand Down Expand Up @@ -41,3 +44,5 @@ sigma: 2.20 2.20
nbins: 2

pressure_lid_in_hPa: 0.01

point_emissions_srcfilen: /dev/null
5 changes: 5 additions & 0 deletions parm/chem/CA2G_instance_CA.oc.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
aerosol_radBands_optics_file: ExtData/optics/opticsBands_OC.v1_3.RRTMG.nc
aerosol_monochromatic_optics_file: ExtData/monochromatic/optics_OC.v1_3.nc

# Aircraft emission factor: convert input unit to kg C
aircraft_fuel_emission_factor: 1.0000

# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3

Expand Down Expand Up @@ -41,3 +44,5 @@ sigma: 2.20 2.20
pressure_lid_in_hPa: 0.01

nbins: 2

point_emissions_srcfilen: /dev/null
9 changes: 9 additions & 0 deletions parm/chem/ExtData.other
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ OC_ANTEOC2 NA N Y %y4-%m2-%d2t12:00:00 none none OC_elev ExtData/nexus/CEDS/v2
# EDGAR based ship emissions
OC_SHIP NA N Y %y4-%m2-%d2t12:00:00 none none OC_ship ExtData/nexus/CEDS/v2019/%y4/CEDS.2019.emis.%y4%m2%d2.nc

# Aircraft fuel consumption
OC_AIRCRAFT NA N Y %y4-%m2-%d2t12:00:00 none none oc_aviation /dev/null

# Aviation emissions during the three phases of flight
OC_AVIATION_LTO NA Y Y %y4-%m2-%d2t12:00:00 none none oc_aviation ExtData/PIESA/sfc/HTAP/v2.2/htap-v2.2.emis_oc.aviation_lto.x3600_y1800_t12.2010.nc4
OC_AVIATION_CDS NA Y Y %y4-%m2-%d2t12:00:00 none none oc_aviation ExtData/PIESA/sfc/HTAP/v2.2/htap-v2.2.emis_oc.aviation_cds.x3600_y1800_t12.2010.nc4
Expand All @@ -94,6 +97,9 @@ BC_ANTEBC2 NA N Y %y4-%m2-%d2t12:00:00 none none BC_elev ExtData/nexus/CEDS/v2
# EDGAR based ship emissions
BC_SHIP NA N Y %y4-%m2-%d2t12:00:00 none none BC_ship ExtData/nexus/CEDS/v2019/%y4/CEDS.2019.emis.%y4%m2%d2.nc

# Aircraft fuel consumption
BC_AIRCRAFT NA N Y %y4-%m2-%d2t12:00:00 none none bc_aviation /dev/null

# Aviation emissions during the LTO, SDC and CRS phases of flight
BC_AVIATION_LTO NA Y Y %y4-%m2-%d2t12:00:00 none none bc_aviation ExtData/PIESA/sfc/HTAP/v2.2/htap-v2.2.emis_bc.aviation_lto.x3600_y1800_t12.2010.nc4
BC_AVIATION_CDS NA Y Y %y4-%m2-%d2t12:00:00 none none bc_aviation ExtData/PIESA/sfc/HTAP/v2.2/htap-v2.2.emis_bc.aviation_cds.x3600_y1800_t12.2010.nc4
Expand All @@ -118,6 +124,9 @@ BRC_ANTEBRC2 NA Y Y %y4-%m2-%d2t12:00:00 none none anteoc2 /dev/null
# EDGAR based ship emissions
BRC_SHIP NA Y Y %y4-%m2-%d2t12:00:00 none none oc_ship /dev/null

# Aircraft fuel consumption
BRC_AIRCRAFT NA N Y %y4-%m2-%d2t12:00:00 none none none /dev/null

# Aviation emissions during the three phases of flight
BRC_AVIATION_LTO NA Y Y %y4-%m2-%d2t12:00:00 none none oc_aviation /dev/null
BRC_AVIATION_CDS NA Y Y %y4-%m2-%d2t12:00:00 none none oc_aviation /dev/null
Expand Down
8 changes: 4 additions & 4 deletions parm/config/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export DO_WAVE="NO"
export DO_OCN="NO"
export DO_ICE="NO"
export DO_AERO=@DO_AERO@
export CCPP_SUITE="FV3_GFS_v16"
export CCPP_SUITE="FV3_GFS_v17_p8"
export WAVE_CDUMP="" # When to include wave suite: gdas, gfs, or both
export cplwav2atm=".false."

Expand All @@ -176,15 +176,15 @@ case "${APP}" in
export DO_COUPLED="YES"
export DO_OCN="YES"
export DO_ICE="YES"
export CCPP_SUITE="FV3_GFS_v16_coupled_nsstNoahmpUGWPv1"
export CCPP_SUITE="FV3_GFS_v17_coupled_p8"
export confignamevarfornems="cpld${aero_nems_string}"
;;
S2SW)
export DO_COUPLED="YES"
export DO_WAVE="YES"
export DO_OCN="YES"
export DO_ICE="YES"
export CCPP_SUITE="FV3_GFS_v16_coupled_nsstNoahmpUGWPv1"
export CCPP_SUITE="FV3_GFS_v17_coupled_p8"
export WAVE_CDUMP="both"
export cplwav2atm=".true."
export confignamevarfornems="cpld${aero_nems_string}_wave"
Expand Down Expand Up @@ -299,7 +299,7 @@ export gldas_cyc=00
# fi

# Microphysics Options: 99-ZhaoCarr, 8-Thompson; 6-WSM6, 10-MG, 11-GFDL
export imp_physics=11
export imp_physics=8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In line with @WalterKolczynski-NOAA's comments...this change will impact the GDAS forecast job in atmos-only cycled mode so need to have that signed off on and tested.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then please point me to the tests I'm supposed to do. The requirements for what I'm supposed to test is not documented anywhere. In the past, @WalterKolczynski-NOAA has done any cycled tests that has been required.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will likely discuss this in tomorrow's g-w CM tag-up and come up with a test plan. Stay tuned.

The requirements for what I'm supposed to test is not documented anywhere.

You're right, we need to add requirements to the wiki and/or PR template. This was discussed today by the CMs and we'll work to flesh out those requirements for future PRs.

Copy link
Contributor

@WalterKolczynski-NOAA WalterKolczynski-NOAA Mar 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They need to be tested, but I wanted an evaluation of the settings for general use before we even move on to that point.

I don't mind doing setting up the cycling tests, but here is how I've been setting up my cycling tests if you want to do them:

  1. Go through the normal checkout/build/link. Make sure you do build_all without the -c flag, otherwise you won't build all the GDAS stuff (you can still use coupled with the link script).
  2. Modify this as needed for your own paths for experiment setup (4½ cycle test):
./setup_expt.py cycled --app ATM --resdet 384 --resens 192 --comrot $NOSCRUB/global-workflow --expdir $SAVE/global-workflow/expdir --idate 2020083000 --edate 2020083112 --nens 80 --gfs_cyc 4 --start warm --pslot $PSLOT
  1. Go to comrot, delete the $PSLOT directory that was created and then use this command to copy the warm-start files:
    cp -as $SOURCE_DIR $PSLOT

Where SOURCE DIR is (the trailing slash is important):
hera: /scratch2/NCEPDEV/ensemble/noscrub/Walter.Kolczynski/global-workflow/C384_warm_IC/
orion: /work2/noaa/global/wkolczyn/noscrub/global-workflow/C384_warm_IC/
dell: /gpfs/dell2/emc/modeling/noscrub/Walter.Kolczynski/global-workflow/C384_warm_IC/

This should copy the directory structure of the source, but all the files will be symlinks.

  1. [Optional to speed things up] In the experiment directory:
    a. In config.base, edit FHMAX_GFS to be 24.
    b. In config.resources, edit wtime_fcst_gfs to be "01:00:00"
  2. Run setup_workflow.py as normal
  3. [Optional] Edit the workflow XML
    a. Change the MAXTRIES to 1, so if there is a failure it doesn't try to do it twice
    b. Change TASKTHROTTLE to "80" so more EnKF jobs run at once

Normally I'm just looking for successful completion, but with changes like these (particularly to Thompson MP), we should get someone from the GDAS team to evaluate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This document has been linked in the Wednesday Coupled Model Meeting notes since Feb 16th. We've been talking about this PR since about that time. So I would hope that these settings are in fact settled and nothing is coming as a surprise to anyone. I make one change of settings today based off of a misunderstanding I had and the fact that I had only been able to test with aerosols since Friday. Also, please know that all changes to the settings were made with @yangfanglin awareness and help.

Thank you for providing instructions for the cycled test @WalterKolczynski-NOAA. That's great information to have for the future. Are we far enough along in the settings changes to get start coordinating the evaluation of the impact to DA?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JessicaMeixner-NOAA @WalterKolczynski-NOAA I agree with you the development should be happening in the develop branch. Walter referred to the setbacks to other systems. I'd say it will get increasing difficult to maintain backward combability with legacy systems like GFS.v16 which is even still running with the IPD physics. I am sure the workflow team will find the best way to balance the support for existing system with the need of moving the development forward.

The back-and-forth change of physics options is part of the development process, the "Physics Wheel of Pain" as Brad Ferrier depicted when he was working at EMC. We will work with the workflow team to eventually set up everything thing correctly. This is part of the physics integration.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/scratch2/NCEPDEV/climate/Jessica.Meixner/p8b/prtests/coupled/aero2d/COMROOT/aero2d/gfs.20130401/00/atmos/input.nml

@JessicaMeixner-NOAA The settings for the atmos and land components in your input.nml look to be correct.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say it will get increasing difficult to maintain backward combability with legacy systems like GFS.v16 which is even still running with the IPD physics. I am sure the workflow team will find the best way to balance the support for existing system with the need of moving the development forward.

As far as I am aware, we are not continuing to support a GFSv16-like system in develop, that's purely in the operations branch and it's sibling branches (feature/ops-wcoss2 and dev_v16, the latter of which will maintain support for GFSv16 on our tier-1 platforms). The develop branch is moving forward for GFSv17. As @WalterKolczynski-NOAA and @aerorahul have said, we need to know that incoming changes like this PR have been tested in all major modes and do not break things like cycling. Since no cycling tests were done yet the concern was raised.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is certainly not my intention to break cycling. I will run cycled tests and coordinate with someone in the DA group to ensure they sign off on the changes.

Please let me know how I can better understand what will be required of PRs to the workflow in the future. The changes here have been advertised and discussed in the coupled modeling tag ups every Wednesday for a month + in which @KateFriedman-NOAA and @WalterKolczynski-NOAA are active participants at the meeting. There will be more changes coming like this and knowing what will be required will assist in planning efforts.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that DA development might be required to update both workflow and code (GSI) to run gdas forecast and data assimilation with updated physics options such as Thompson MP, Noah-MP, and RRTMGp radiation (to be included in p8c) etc. It might be getting more and more difficult to maintain the cycling capability but still use the GSI and its associated scripts developed for GFS.v16.


# Shared parameters
# Hybrid related
Expand Down
2 changes: 1 addition & 1 deletion parm/config/config.base.nco.static
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export DO_WAVE=YES
export WAVE_CDUMP="both"

# Microphysics Options: 99-ZhaoCarr, 8-Thompson; 6-WSM6, 10-MG, 11-GFDL
export imp_physics=11
export imp_physics=8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question as with config.base.emc.dyn.


# Shared parameters
# Hybrid related
Expand Down
11 changes: 4 additions & 7 deletions parm/config/config.defaults.s2sw
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,17 @@ FHOUT_GFS=6
FHOUT_HF_GFS=-1

# config.fcst
IALB=2
IEMS=2
DO_CA="YES"
min_seaice="1e-6"
min_seaice="1.0e-6"
use_cice_alb=".true."
export iopt_sfc="3"

# config.fv3
DELTIM=300
layout_x_gfs=8
layout_y_gfs=12
layout_x_gfs=24
layout_y_gfs=16
KateFriedman-NOAA marked this conversation as resolved.
Show resolved Hide resolved
WRITE_GROUP_GFS=1
WRTTASK_PER_GROUP_GFS=80
WRTIOBUF="32M"
MEDPETS=300

# config.wave
waveGRD='gwes_30m'
Expand Down
75 changes: 66 additions & 9 deletions parm/config/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,59 @@ export h2o_phys=".true."
# Options of stratosphere O3 physics reaction coefficients
export new_o3forc="YES"

# export launch_level=$(echo "$LEVS/2.35" |bc)
export gwd_opt=2
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved

# --GFS.v16 uGWD.v0, used for suite FV3_GFS_v16 and UFS p6 etc
# do_ugwp=T: use unified CGWD and OGWD, and turbulent orographic form drag (TOFD)
# do_ugwp=F: use unified CGWD but old OGWD, TOFD is not uded.
if [ $gwd_opt -eq 1 ]; then
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
export knob_ugwp_version=0
export do_ugwp=".false."
export do_tofd=".false."
export launch_level=$(echo "$LEVS/2.35" |bc)
fi


# -- uGWD.v1, for suite FV3_GFS_v17 and FV3_GFS_v17p8b etc
if [ $gwd_opt -eq 2 ]; then

#--used for UFS p7 and p8a
#export knob_ugwp_version=1
#export do_ugwp=".false."
#export do_tofd=".false."
#export do_ugwp_v0=".false."
#export do_ugwp_v1=".true."
#export do_ugwp_v0_orog_only=".false."
#export do_ugwp_v0_nst_only=".false."
#export do_gsl_drag_ls_bl=".true."
#export do_gsl_drag_ss=".true."
#export do_gsl_drag_tofd=".true."
#export do_ugwp_v1_orog_only=".false."

#--used for UFS p8b
export knob_ugwp_version=0
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
export do_ugwp=".false."
export do_tofd=".false."
export do_ugwp_v0=".true."
export do_ugwp_v1=".false."
export do_ugwp_v0_orog_only=".false."
export do_ugwp_v0_nst_only=".false."
export do_gsl_drag_ls_bl=".false."
export do_gsl_drag_ss=".true."
export do_gsl_drag_tofd=".true."
export do_ugwp_v1_orog_only=".false."
export launch_level=$(echo "$LEVS/2.35" |bc)
fi




# Sponge layer settings
export tau=10.0
export rf_cutoff=7.5e2
export d2_bg_k1=0.20
export d2_bg_k2=0.04
export dz_min=2
export dz_min=6
export n_sponge=42
if [ $LEVS = "128" -a "$CDUMP" = "gdas" ]; then
export tau=5.0
Expand All @@ -124,10 +169,7 @@ export icliq_sw=2 ; #cloud optical coeffs from AER's newer version v3.9-v4.0 f
export isubc_sw=2
export isubc_lw=2

export IALB=${IALB:-1}
export IEMS=${IEMS:-1}
export ISOL=2
export ICO2=2
export iopt_sfc="3"

# Microphysics configuration
export dnats=0
Expand All @@ -147,9 +189,23 @@ elif [ $imp_physics -eq 6 ]; then # WSM6

elif [ $imp_physics -eq 8 ]; then # Thompson
export ncld=2
export FIELD_TABLE="$HOMEgfs/parm/parm_fv3diag/field_table_thompson${tbf}"
export FIELD_TABLE="$HOMEgfs/parm/parm_fv3diag/field_table_thompson_noaero_tke"
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
export nwat=6

export cal_pre=".false."
export random_clds=".false."
export effr_in=".true."
export ltaerosol=".false."
export lradar=".false."
export ttendlim="-999"
export dt_inner=$((DELTIM/2))

export hord_mt_nh_nonmono=5
export hord_xx_nh_nonmono=5
export vtdm4_nh_nonmono=0.02
export nord=2
export dddmp=0.1
export d4_bg=0.12
elif [ $imp_physics -eq 11 ]; then # GFDL
export ncld=5
export FIELD_TABLE="$HOMEgfs/parm/parm_fv3diag/field_table_gfdl${tbf}"
Expand Down Expand Up @@ -179,7 +235,7 @@ export DO_SPPT=${DO_SPPT:-"NO"}
export DO_SKEB=${DO_SKEB:-"NO"}
export DO_SHUM=${DO_SHUM:-"NO"}
export DO_LAND_PERT=${DO_LAND_PERT:-"NO"}
export DO_CA=${DO_CA:-"NO"}
export DO_CA=${DO_CA:-"YES"}
export DO_OCN_SPPT=${DO_OCN_SPPT:-"NO"}
export DO_OCN_PERT_EPBL=${DO_OCN_PERT_EPBL:-"NO"}

Expand All @@ -192,7 +248,8 @@ export min_lakeice="0.15"
export min_seaice=${min_seaice:-"0.15"}
export use_cice_alb=${use_cice_alb:-".false."}

export FSICL="99999"
export FSICL="0"
export FSICS="0"

#---------------------------------------------------------------------

Expand Down
8 changes: 4 additions & 4 deletions parm/config/config.fv3
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ case $case_in in
export WRTIOBUF="8M"
;;
"C384")
export DELTIM=${DELTIM:-240}
export DELTIM=${DELTIM:-300}
export layout_x=6
export layout_y=8
export layout_x_gfs=${layout_x_gfs:-6}
export layout_y_gfs=${layout_y_gfs:-8}
export layout_x_gfs=${layout_x_gfs:-8}
export layout_y_gfs=${layout_y_gfs:-12}
export nth_fv3=2
export nth_fv3_gfs=${nth_fv3_gfs:-2}
export cdmbgwd="1.0,2.2,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export cdmbgwd="1.1,0.72,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
Comment on lines -90 to +97
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have these updates been testing in atmos-only mode when cycling with the enkf? This may have a significant impact on the C384 enkf forecast jobs, particularly the layout which will change the calculated resources.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not run any cycled tests.

export WRITE_GROUP=1
export WRTTASK_PER_GROUP=$npe_node_max
export WRITE_GROUP_GFS=${WRITE_GROUP_GFS:-2}
Expand Down
4 changes: 2 additions & 2 deletions parm/config/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ elif [ $step = "fcst" ]; then

(( ATMPETS = layout_x * layout_y * 6 ))

# Mediator only uses the atm model PETS
export MEDPETS=$ATMPETS
# Mediator only uses the atm model PETS or less
export MEDPETS=${MEDPETS:-ATMPETS}

if [[ $DO_AERO == "YES" ]]; then
# Aerosol model only uses the atm model PETS
Expand Down
10 changes: 9 additions & 1 deletion parm/mom6/MOM_input_template_025
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ WRITE_GEOM = 2 ! default = 1
! If =0, never write the geometry and vertical grid files. If =1, write the
! geometry and vertical grid files only for a new simulation. If =2, always
! write the geometry and vertical grid files. Other values are invalid.
SAVE_INITIAL_CONDS = True ! [Boolean] default = False
SAVE_INITIAL_CONDS = False ! [Boolean] default = False
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
! If true, write the initial conditions to a file given by IC_OUTPUT_FILE.

! === module MOM_hor_index ===
Expand Down Expand Up @@ -406,6 +406,9 @@ GILL_EQUATORIAL_LD = True ! [Boolean] default = False
! radius, otherwise, if false, use Pedlosky's definition. These definitions
! differ by a factor of 2 in front of the beta term in the denominator. Gill's
! is the more appropriate definition.
INTERNAL_WAVE_SPEED_BETTER_EST = False ! [Boolean] default = True
! If true, use a more robust estimate of the first mode wave speed as the
! starting point for iterations.

! === module MOM_set_visc ===
CHANNEL_DRAG = True ! [Boolean] default = False
Expand Down Expand Up @@ -728,6 +731,11 @@ NSTAR = 0.06 ! [nondim] default = 0.2
! The portion of the buoyant potential energy imparted by surface fluxes that is
! available to drive entrainment at the base of mixed layer when that energy is
! positive.
EPBL_MLD_BISECTION = True ! [Boolean] default = False
! If true, use bisection with the iterative determination of the self-consistent
! mixed layer depth. Otherwise use the false position after a maximum and
! minimum bound have been evaluated and the returned value or bisection before
! this.
MSTAR_CONV_ADJ = 0.667 ! [nondim] default = 0.0
! Coefficient used for reducing mstar during convection due to reduction of
! stable density gradient.
Expand Down
Loading