Skip to content
Open
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
6f687ea
Add changes to MPAS-Model code necessary to run stochastic physics. …
gsketefian Sep 12, 2025
bb262cd
Add stochastic physics as a submodule.
gsketefian Sep 12, 2025
e5bde4d
Bug fix: Add missing lines for stochastic physics to Registry.xml.
gsketefian Sep 16, 2025
293e081
Change hash of stochastic_physics.
gsketefian Sep 16, 2025
abc034b
Merge branch 'gsl/develop' into gsl/MPAS_stoch_physics
gsketefian Nov 13, 2025
cee787e
Update hashes of GFL and MYNN-EDMF submodules. Not sure why this was…
gsketefian Nov 15, 2025
c93caca
A new version of SPPT merged into the latest gsl/MPAS_stoch_physics.
NingWang325 Nov 24, 2025
845ff87
Update hash of stochastic_physics submodule to point to the head of t…
gsketefian Dec 19, 2025
995a0cf
Update hash of stochastic_physics to the hash from Ning for 8-byte in…
gsketefian Feb 2, 2026
5cf356a
Change name of and file for output stream for chemistry (and dust and…
gsketefian Feb 4, 2026
d63788d
Modifications to Makefile to make sure that after make is invoked, (1…
gsketefian Feb 25, 2026
cea828b
Change the name of the output stream in registry.chemistry.xml (as we…
gsketefian Feb 25, 2026
9d0eb11
Merge branch 'gsl/develop' into gsl/MPAS_stoch_physics
gsketefian Feb 25, 2026
8428af8
Switch hash of stochastic_physics to branch in which the merge with s…
gsketefian Mar 11, 2026
a0700bf
Merge remote-tracking branch 'origin/gsl/MPAS_stoch_physics' into gsl…
gsketefian Mar 11, 2026
f8fea43
Fix hash of stochastic_physics.
gsketefian Mar 11, 2026
4060353
In the top-level Makefile, add a flag to CPPFLAGS that will let the s…
gsketefian Mar 14, 2026
9bdd0de
Update hash of stochastic_physics.
gsketefian Mar 14, 2026
57f2ccf
Update hash of stochastic_physics.
gsketefian Mar 14, 2026
6f5de0a
Remove definition of macro MPAS_STOCH from main MPAS Makefile. This …
gsketefian Mar 24, 2026
662e9c2
Update hash of stochastic_physics.
gsketefian Mar 24, 2026
b4c22a1
Remove commented-out lines in Makefile that refer to MPAS_STOCH (sinc…
gsketefian Mar 24, 2026
d2708cf
Update hash of stochastic_physics.
gsketefian Mar 24, 2026
ec08395
Update hash of stochastic_physics.
gsketefian Mar 27, 2026
ae7c0d7
Merge branch 'gsl/develop' into gsl/MPAS_stoch_physics_try_merge_stoc…
gsketefian Mar 27, 2026
a11e46f
Add lines to physics Makefile to also build the executable that build…
gsketefian Mar 29, 2026
d5a2107
Remove commented-out lines in Makefiles.
gsketefian Mar 30, 2026
365959c
Clean up comments.
gsketefian Mar 30, 2026
795dd8c
Get rid of comments in Makefile for brevity.
gsketefian Mar 30, 2026
722cac1
Update hash of stochastic_physics.
gsketefian Mar 30, 2026
aaf05d0
Modify Makefile so that TEMPO's ccn_activate.bin file gets copied to …
gsketefian Mar 30, 2026
b3a8e0c
Update hash of stochastic_physics.
gsketefian Mar 31, 2026
462953d
Comment out lines that try to build the run_build_tables executable t…
gsketefian Mar 31, 2026
e3dedb8
Add code to choose between Makefile.gfortran and Makefile.intel when …
gsketefian Apr 1, 2026
91bcfba
Bug fixes and improvements to Makefiles.
gsketefian Apr 2, 2026
7782ece
Update hash of stochastic_physics.
gsketefian Apr 2, 2026
0c2d253
Add lines to GitHub Actions workflow file that will link in the Intel…
gsketefian Apr 2, 2026
2934e47
Find location of MKL library on GitHub runner.
gsketefian Apr 2, 2026
97a98ec
Second attempt to find MKL library.
gsketefian Apr 2, 2026
fe3720c
Install MKL library in Github Actions.
gsketefian Apr 2, 2026
0f4d720
Fix MKL locations in Github Actions runner.
gsketefian Apr 2, 2026
1b05207
Bug fixes to Github Actions workflow file.
gsketefian Apr 2, 2026
18f58f3
More debugging of GitHub Actions workflow file.
gsketefian Apr 3, 2026
82c99cd
More debugging.
gsketefian Apr 3, 2026
9c61e2b
Revert changes to the GitHub Actions workflow for building with intel…
gsketefian Apr 13, 2026
0fa1e18
Update hash of stochastic_physics.
gsketefian Apr 13, 2026
3df060f
Change end-of-file to that of original version.
gsketefian Apr 13, 2026
f7bbe96
Revert changes to the physics Makefile (that enables the TEMPO table …
gsketefian Apr 13, 2026
7b16ef3
Update hash of stochastic_physics.
gsketefian Apr 13, 2026
0392599
Update hash of stochastic_physics.
gsketefian Apr 20, 2026
9ab0b28
Change settings to allow MKL library to be installed via the "github.…
gsketefian Apr 20, 2026
bc505ea
Fixes to make "use netcdf" in stochastic_physics source code to work.
gsketefian Apr 20, 2026
d0e3081
Bug fix in GitHub Actions workflow file.
gsketefian Apr 20, 2026
854d03a
Bug fix in name of workflow step.
gsketefian Apr 20, 2026
de13c51
Remove commented-out lines.
gsketefian Apr 20, 2026
4f70fc4
Modify Makefiles to generalize linear algebra libraries, which are di…
gsketefian Apr 20, 2026
418a721
Modify CI build for gnu (gfortran) so that it also installs the GNU l…
gsketefian Apr 20, 2026
feabe8a
Add path to NETCDF includes for GNU CI build.
gsketefian Apr 20, 2026
6928c67
Add NetCDF libraries, includes, and mod files to paths.
gsketefian Apr 20, 2026
cd5d572
Changes suggested by Guoqing to get the build to work with cmake on H…
gsketefian Apr 21, 2026
698c79e
Bug fixes to get cmake to work, as suggested by claude.
gsketefian Apr 21, 2026
cac3749
Change name of stochastic_physics source file from stochastic_physics…
gsketefian Apr 21, 2026
6dd333b
Update hash of stochastic_physics.
gsketefian Apr 21, 2026
a25dfe6
Update hash of stochastic_physics.
gsketefian Apr 22, 2026
58a711c
Add a step to the run_mpas_hrrr workflow to set up paths to NetCDF li…
gsketefian Apr 22, 2026
e0b453d
Make the sections for linking with NetCDF in the two tests similar.
gsketefian Apr 22, 2026
2a6bc97
Add step to install linear algebra libraries into run_mpas_hrrr.yml.
gsketefian Apr 22, 2026
d6e1f8f
Bug fix to remove sudo, which is not needed.
gsketefian Apr 22, 2026
f5da9c8
Add to the NetCDF installation that of the NetCDF-Fortran library.
gsketefian Apr 22, 2026
54b4d65
Add the LAPACK/BLAS and NetCDF installations as was done for run_mpas…
gsketefian Apr 22, 2026
5531c08
Fix indentation.
gsketefian Apr 24, 2026
8268420
Update hash of stochastic_physics.
gsketefian Apr 24, 2026
344f18d
Modifications to module files on derecho, gaeac6, orion, and ursa to …
gsketefian Apr 24, 2026
b6687fd
Temporarily turn off original set of CI tests while debugging the one…
gsketefian Apr 27, 2026
105d329
Add workflow file and namelist and stream files for stochastic physic…
gsketefian Apr 27, 2026
d5970aa
Turn on automatic running of stochastic physics CI test.
gsketefian Apr 27, 2026
e49a7f0
Fix up title and bugs in stochastic physics CI test workflow.
gsketefian Apr 27, 2026
9aa14e8
Fix workflow name in file; add debugging lines to run setup step; com…
gsketefian Apr 27, 2026
7ec0238
More debugging lines.
gsketefian Apr 27, 2026
d63ebe0
More bug fixes to workflow file.
gsketefian Apr 27, 2026
9368780
More workflow debugging.
gsketefian Apr 27, 2026
ef1dd30
CI workflow debugging.
gsketefian Apr 27, 2026
25305d5
More debugging CI test for stoch phys.
gsketefian Apr 27, 2026
75bd766
Debugging.
gsketefian Apr 27, 2026
f661b63
Debugging.
gsketefian Apr 27, 2026
726cadb
Modify namelist for stochastic physics test to activate SPPT.
gsketefian Apr 27, 2026
2ed6c4b
Re-activate build for the feature branch.
gsketefian Apr 27, 2026
b7c7c53
More debugging.
gsketefian Apr 28, 2026
8480bf1
More debugging.
gsketefian Apr 28, 2026
c10ae98
Debugging CI tests.
gsketefian Apr 28, 2026
aaa661d
Debugging and cleanup.
gsketefian Apr 28, 2026
136c951
Debugging.
gsketefian Apr 28, 2026
520fb03
Bug fix.
gsketefian Apr 28, 2026
ab72f9e
Debugging.
gsketefian Apr 28, 2026
809f353
Debugging.
gsketefian Apr 28, 2026
d58fb53
Debugging.
gsketefian Apr 28, 2026
75b64e3
Change namelist file for stochastic physics CI test.
gsketefian Apr 28, 2026
a71c15d
Debugging.
gsketefian Apr 28, 2026
d15a7dc
Change name of baseline directory in worklow tests from gsl/develop t…
gsketefian Apr 30, 2026
e6f2e35
Change workflow file for stochastic physics CI test(s) so that the lo…
gsketefian Apr 30, 2026
3c714b8
Clean up stochastic CI test workflow.
gsketefian May 1, 2026
e80b093
Make &physics namelist for stoch CI test more similar to the namelist…
gsketefian May 1, 2026
9b6ccbd
Debugging.
gsketefian May 1, 2026
a5a99c2
Try defining new variables in the workflow file.
gsketefian May 1, 2026
a1de8c8
Streamlining, debugging, and commenting.
gsketefian May 1, 2026
3a7f70f
Bug fix.
gsketefian May 1, 2026
88d4fc3
Debugging.
gsketefian May 1, 2026
ab31dc8
Bug fix and more debugging statements.
gsketefian May 1, 2026
feb1bf8
Cleanup and improvments to stochastic CI test workflow.
gsketefian May 1, 2026
c76cafb
Cleanup and improvements.
gsketefian May 1, 2026
4868593
More improvements.
gsketefian May 2, 2026
db1f672
Bug fix.
gsketefian May 2, 2026
99273c3
Bug fix.
gsketefian May 2, 2026
82f53fc
Cache miniconda and a bug fix.
gsketefian May 2, 2026
09cb179
Bug fixes and improvements.
gsketefian May 2, 2026
d92cf65
Bug fix to the bug fix.
gsketefian May 2, 2026
93cf56b
Cleanup and improvements.
gsketefian May 2, 2026
2fecafd
Improvements and cleanup.
gsketefian May 2, 2026
b29539a
Use the built-in variable GITHUB_WORKSPACE to set SRCDIR_FT.
gsketefian May 2, 2026
0b16b70
Remove extra tailing slash in definition of runner_ROOT.
gsketefian May 2, 2026
ec6d55a
Bug fix.
gsketefian May 2, 2026
1d1a751
Try cacheing the conda environment.
gsketefian May 2, 2026
ad9059c
Minor cleanup.
gsketefian May 2, 2026
6a8dd69
Change the time-scale for the first SPPT pattern to 600 sec (10 minut…
gsketefian May 2, 2026
b4404ea
Update deprecated settings.
gsketefian May 2, 2026
7f08724
Have the SPPT pattern change with every time step.
gsketefian May 2, 2026
c5fe27f
Explicitly set spptint to the same value as the time step.
gsketefian May 2, 2026
4080bae
Change timescale for SPPT pattern 1.
gsketefian May 2, 2026
7eb4f63
Go back to original values.
gsketefian May 2, 2026
e3f5fc8
Increase forecast length to 6 hours.
gsketefian May 2, 2026
d1e4f46
Bug fix.
gsketefian May 2, 2026
6b86b77
Bug fix - change output interval of diag stream.
gsketefian May 2, 2026
3cdae2d
Change time scale of first SPPT pattern.
gsketefian May 2, 2026
15bb71f
Change timestep to 60sec.
gsketefian May 2, 2026
144994e
Try different SPPT settings.
gsketefian May 2, 2026
2e3b6a4
Modifications to get make build to work on gaeac6.
gsketefian May 6, 2026
cbd7910
Clean up the streams.atmosphere file.
gsketefian May 14, 2026
b48b17d
Update namelist for stochastic physics run with the one that was test…
gsketefian May 14, 2026
531b5fb
Change integration time to only 1 hour but still maintain 6 output ti…
gsketefian May 14, 2026
e613d69
Rename directory to say "convection_permitting" instead of "hrrrv5" (…
gsketefian May 14, 2026
bb2ead2
Correct the name of the suite being used in the CI test for stochasti…
gsketefian May 14, 2026
36f8347
Remove fail-safes for the run tasks in the CI testing workflow for st…
gsketefian May 14, 2026
3efd1d7
Clean up comments in CI test workflow script.
gsketefian May 14, 2026
22616fe
Remove the chemistry namelist from the namelist file.
gsketefian May 14, 2026
c78dffe
Enable automatic running of all CI tests (i.e. run on branch push to …
gsketefian May 14, 2026
148ad22
Add stochastic pattern on both the MPAS mesh and the gaussian grid to…
gsketefian May 15, 2026
f4dc652
Move tendendcy names to perturb out of MPAS code and into MPAS stocha…
dustinswales May 15, 2026
6b1378d
Update stochastic physics hash
dustinswales May 15, 2026
bb51659
Turn off baseline build/run in CI scipt, for now
dustinswales May 15, 2026
33f520a
WIP
dustinswales May 15, 2026
65aa411
WIP
dustinswales May 15, 2026
5a86497
WIP
dustinswales May 15, 2026
f027947
WIP
dustinswales May 15, 2026
097b551
WIP
dustinswales May 15, 2026
5e55ff0
WIP
dustinswales May 15, 2026
a974991
Revert turning off CI tests
dustinswales May 15, 2026
d20b8ef
Address reviewer comments
dustinswales May 15, 2026
51a2504
Turn off running of most CI tests after push except for the stoch test.
gsketefian May 15, 2026
fffc50a
Make the "Run MPAS" tasks for both the baseline and feature branch al…
gsketefian May 15, 2026
1162b34
Add flag that allows only a subset of the run directories to be copie…
gsketefian May 20, 2026
580c7b2
Bug fix (hopefully) to the "Run MPAS -- baseline branch" failing.
gsketefian May 20, 2026
89553e8
Dustin's recommended modifications for dealing with tendency names.
gsketefian May 20, 2026
47def07
Update hash of stochastic_physics.
gsketefian May 20, 2026
b4e817d
Rearrange order of variables so the stream_list files are more simila…
gsketefian May 21, 2026
b840770
Bug fix to match actual argument to dummy argument.
gsketefian May 21, 2026
a538b2b
Update hash of stochastic_physics.
gsketefian May 21, 2026
c4960a0
Remove setting of microphysics scheme to TEMPO from namelist file for…
gsketefian May 21, 2026
5204bf2
Add hrrrv5 as a second suite to test with stochastic physics enabled.
gsketefian May 21, 2026
c8e0a1f
Enable CI testing on push.
gsketefian May 21, 2026
ed2aab1
Merge branch 'noaa/develop' into gsl/MPAS_stoch_physics_try_merge_sto…
gsketefian May 21, 2026
ecfa272
Update hashes of submodules.
gsketefian May 21, 2026
96cc4cb
Update hashes of submodules.
gsketefian May 21, 2026
88540a6
Bug fix.
gsketefian May 21, 2026
c1d4701
Temporarily turn off original set of CI tests.
gsketefian May 21, 2026
801970b
Add new directory containing setup files for testing stochastic physi…
gsketefian May 21, 2026
11d67dc
Now that the MP being used for convection_permitting suite is not bei…
gsketefian May 21, 2026
4586205
Hopefully a bug fix.
gsketefian May 21, 2026
2913f5f
Remove fail-safes for the "Run MPAS" tasks and hope for the best; rem…
gsketefian May 21, 2026
e1018f9
Modifications required to make MPAS-Model work with the latest change…
gsketefian May 23, 2026
0c30c07
Update hash of stochastic_physics.
gsketefian May 23, 2026
83f67f7
Make input files for phys_suite=hrrrv5 CI test as similar as possible…
gsketefian May 23, 2026
a0e7691
Make namelist files for the two suites (convection_permitting and hrr…
gsketefian May 24, 2026
e9cba01
Update hash of stochastic_physics.
gsketefian May 24, 2026
de41c8a
Update hash of stochastic_physics.
gsketefian May 25, 2026
33317b0
Always use mpi_f08 in the cmake build. This is required for compatib…
gsketefian May 25, 2026
ce29b86
Update hash of stochastic_physics.
gsketefian May 25, 2026
ee0e9e5
Enable original set of CI tests on a branch push.
gsketefian May 25, 2026
0262d90
Merge Dustin's PR#4 changes into gsketefian's later changes (some of …
gsketefian May 26, 2026
113e786
Merge branch 'dustinswales-feature/stochy_cleanup' into gsl/MPAS_stoc…
gsketefian May 26, 2026
8ac2611
Temporarily switch to an earlier hash of stochastich_physics to allow…
gsketefian May 26, 2026
68cbcb4
Merge pull request #4 from dustinswales/feature/stochy_cleanup
gsketefian May 26, 2026
e972b54
Update hash of stochastic_physics back to latest now that Dustin's PR…
gsketefian May 26, 2026
8c5e7e6
Update hash of stochastic_physics.
gsketefian May 26, 2026
950c0d1
Merge remote-tracking branch 'refs/remotes/dtc_fork/gsl/MPAS_stoch_ph…
gsketefian May 26, 2026
4c45465
Update name of fortran file name in parent CMakeLists.txt file of sto…
gsketefian May 26, 2026
bd441e1
Fix stochastic_physics submodule URL to use dtcenter repo.
gsketefian May 26, 2026
ec3399f
Remove commented-out line (#on: [workflow_dispatch]) used to turn off…
gsketefian Jun 1, 2026
6f44536
Fix bug/typo.
gsketefian Jun 1, 2026
1cdac0f
Update hash of stochastic_physics.
gsketefian Jun 2, 2026
701ad92
Enable the build-time macro CESMENABLED to access the "dgemm" matrix …
gsketefian Jun 2, 2026
44b219d
Update hash of stochastic_physics.
gsketefian Jun 2, 2026
ba6ce23
Set the CESMCOUPLED build-time macro in the main Makefile so that whe…
gsketefian Jun 2, 2026
cba7203
Remove from the main Makefile the recently-added build target "intel-…
gsketefian Jun 2, 2026
058d494
Edit comments for clarity.
gsketefian Jun 3, 2026
db5705a
Merge branch 'noaa/develop' into gsl/MPAS_stoch_physics_try_merge_sto…
gsketefian Jun 3, 2026
ba5daf2
Remove -I flag in a linker command since a -I is only needed when com…
gsketefian Jun 5, 2026
ab7b160
Changes to enable a make-based build with stochastic_physics on ursa.
gsketefian Jun 6, 2026
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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
[submodule "src/core_atmosphere/physics/physics_mmm"]
path = src/core_atmosphere/physics/physics_mmm
url = https://github.com/NCAR/MMM-physics.git
[submodule "src/core_atmosphere/stochastic_physics"]
path = src/core_atmosphere/stochastic_physics
url = https://github.com/dtcenter/stochastic_physics.git
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else
all: mpas

mpas: $(AUTOCLEAN_DEPS) externals frame ops dycore drver

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Note that the new line here now uses esmf_time_f91 instead of esmf_time_f90.

@gsketefian gsketefian Mar 31, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@NingWang325 @clark-evans These intel mkl libraries are generating the following errors in the CI build tests:

With gnu compiler:

/usr/bin/ld: cannot find -lmkl_intel_lp64: No such file or directory
/usr/bin/ld: cannot find -lmkl_core: No such file or directory
/usr/bin/ld: cannot find -lmkl_sequential: No such file or directory

With intel compiler:

ld: cannot find -lmkl_intel_lp64: No such file or directory
ld: cannot find -lmkl_core: No such file or directory
ld: cannot find -lmkl_sequential: No such file or directory

First, I thought this was due to gnu not recognizing these intel libraries, but it is also happening with the intel compiler. Do we need to change the modules when running the CI tests?

Thanks.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm unclear about the temporal order of these comments, but it appears that Copilot thinks the f91 should be f90 (immediately below) and that could solve the library link problem. Is f91 really necessary?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@joeolson42 Turns out:

  1. There's no such thing as esmf_time_f91.
  2. No one is sure how the original esmf_time_f90 turned into esmf_time_f91.
  3. The -I<dir> tells the compiler/preprocessor where to search for include/module files (.h, .mod, etc.). This is a compile-time flag, not a link-time flag, so it's not used in this command and can be removed.

Since -I<dir> is not used at all by this linker command, I removed it. I then was able to rebuild (both with make and cmake) without issues.

$(LINKER) $(LDFLAGS) -o $(EXE_NAME) driver/*.o -L. -ldycore -lops -lframework $(LIBS) -I./external/esmf_time_f90 -L./external/esmf_time_f90 -lesmf_time
$(LINKER) $(LDFLAGS) -o $(EXE_NAME) driver/*.o -L. -ldycore -lops -lframework $(LIBS) -I./external/esmf_time_f91 -L./external/esmf_time_f90 -lesmf_time -lmkl_intel_lp64 -lmkl_core -lmkl_sequential

externals: $(AUTOCLEAN_DEPS)
( cd external; $(MAKE) FC="$(FC)" SFC="$(SFC)" CC="$(CC)" SCC="$(SCC)" FFLAGS="$(FFLAGS)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" NETCDF="$(NETCDF)" CORE="$(CORE)" all )
Expand Down
19 changes: 15 additions & 4 deletions src/core_atmosphere/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ core_reg:

core_input_gen:
if [ ! -e default_inputs ]; then mkdir default_inputs; fi

@gsketefian gsketefian Mar 31, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is to remove any stale stream files (streams.atmosphere and stream_list.atmosphere.*) in the default_inputs directory under core_atmosphere generated by a previous invocation of make.

rm -f default_inputs/streams.atmosphere default_inputs/stream_list.atmosphere.*
( cd default_inputs; $(NL_GEN) ../Registry_processed.xml namelist.atmosphere in_defaults=true )
( cd default_inputs; $(ST_GEN) ../Registry_processed.xml streams.atmosphere stream_list.atmosphere. listed in_defaults=true)

Expand All @@ -37,12 +38,21 @@ gen_includes: core_reg

post_build:
if [ ! -e $(ROOT_DIR)/default_inputs ]; then mkdir $(ROOT_DIR)/default_inputs; fi

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is to remove any stale stream files (streams.atmosphere and stream_list.atmosphere.*) in the default_inputs directory under the top-level MPAS-Model directory generated by a previous invocation of make.

rm -f $(ROOT_DIR)/default_inputs/streams.$(CORE) $(ROOT_DIR)/default_inputs/stream_list.$(CORE).*
cp default_inputs/* $(ROOT_DIR)/default_inputs/.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Previously, files (e.g. stream-related files such as streams.atmosphere and stream_list.atmosphere.*) were not copied from the default_inputs directory under the top-level directory (MPAS-Model) if files with the same name already exist under MPAS-Model. This just seems wrong since we want to update those files with each make invocation. The new code makes a backup of the existing file (e.g. <file_name>.old01, <file_name>.old02, etc) before replacing the existing file with the new one from default_inputs.

( cd $(ROOT_DIR)/default_inputs; for FILE in `ls -1`; do if [ ! -e ../$$FILE ]; then cp $$FILE ../.; fi; done )
( cd $(ROOT_DIR)/default_inputs; for FILE in `ls -1`; do \
if [ -e ../$$FILE ]; then \
N=1; \
while [ -e "../$$FILE.old$$(printf '%03d' $$N)" ]; do N=$$((N+1)); done; \
mv "../$$FILE" "../$$FILE.old$$(printf '%03d' $$N)"; \
fi; \
cp $$FILE ../.; \
done )

physcore: mpas_atm_dimensions.o
( cd physics; $(MAKE) all )
( mkdir libphys; cd libphys; ar -x ../physics/libphys.a )
( cd stochastic_physics; $(MAKE) -f Makefile all )
( mkdir libphys; cd libphys; ar -x ../physics/libphys.a; ar -x ../stochastic_physics/libstochphys.a )
( cd ../..; ln -sf ./src/core_atmosphere/physics/physics_wrf/files/*TBL .)
( cd ../..; ln -sf ./src/core_atmosphere/physics/physics_wrf/files/*DATA* .)
( cd ../..; ln -sf ./src/core_atmosphere/physics/physics_noahmp/parameters/*TBL .)
Expand All @@ -68,6 +78,7 @@ mpas_atm_dimensions.o:
clean:
( cd physics; $(MAKE) clean )
( cd dynamics; $(MAKE) clean )
( cd stochastic_physics; $(MAKE) clean )
( cd diagnostics; $(MAKE) clean )
( cd utils; $(MAKE) clean )
( cd ../..; rm -f *TBL )
Expand All @@ -84,7 +95,7 @@ clean:
$(RM) $@ $*.mod
ifeq "$(GEN_F90)" "true"
$(CPP) $(CPPFLAGS) $(PHYSICS) $(CPPINCLUDES) -I./inc $< > $*.f90
$(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../framework -I../operators -I./physics -I./dynamics -I./diagnostics -I./physics/physics_wrf -I./physics/physics_mmm -I./physics/physics_noaa/UGWP -I../external/esmf_time_f90
$(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../framework -I../operators -I./physics -I./dynamics -I./diagnostics -I./physics/physics_wrf -I./physics/physics_mmm -I./physics/physics_noaa/UGWP -I./stochastic_physics -I../external/esmf_time_f90
else
$(FC) $(CPPFLAGS) $(PHYSICS) $(FFLAGS) -c $*.F $(CPPINCLUDES) $(FCINCLUDES) -I./inc -I../framework -I../operators -I./physics -I./dynamics -I./diagnostics -I./physics/physics_wrf -I./physics/physics_mmm -I./physics/physics_noaa/UGWP -I../external/esmf_time_f90
$(FC) $(CPPFLAGS) $(PHYSICS) $(FFLAGS) -c $*.F $(CPPINCLUDES) $(FCINCLUDES) -I./inc -I../framework -I../operators -I./physics -I./dynamics -I./diagnostics -I./physics/physics_wrf -I./physics/physics_mmm -I./physics/physics_noaa/UGWP -I./stochastic_physics -I../external/esmf_time_f90
endif
12 changes: 12 additions & 0 deletions src/core_atmosphere/Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
description="The number of atmospheric layers"/>
<dim name="nVertLevelsP1" definition="nVertLevels+1"
description="The number of atmospheric levels, always one more than the number of layers"/>
<dim name="lon_for" definition="504"
description="The number of longitude points for the Gaussian grid"/>
<dim name="lat_leg" definition="248"
description="The number of latitude points for the Gaussian grid"/>
Comment on lines +41 to +44

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Without full comprehension of what these variables are used for, I think Copilot has some valid points here.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

My browser quit on me so I don't know if this will be a duplicate comments or not... Without fully understanding what these variables are for, it seems Copilot has some good points here.

@JeffBeck-NOAA JeffBeck-NOAA Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

From @NingWang325, these arrays are only used for debugging. These fields aren't being used otherwise. They can be removed.


#ifdef DO_PHYSICS
<dim name="nMonths" definition="namelist:months"
Expand Down Expand Up @@ -979,6 +983,8 @@
<var name="ke"/>
<var name="uReconstructZonal"/>
<var name="uReconstructMeridional"/>
<var name="stoch_pattern_sppt"/>
<var name="stoch_pattern_gg"/>

<!-- Begin Ertel PV diagnostics defined in diagnostics/Registry_pv.xml -->
<var name="ertel_pv"/>
Expand Down Expand Up @@ -4162,6 +4168,11 @@
description="Total cell-centered meridional wind tendency from physics"
persistence="scratch" />

<var name="stoch_pattern_sppt" type="real" dimensions="nVertLevels nCells Time" units="%"
description="Perturbation pattern for stochastic physics SPPT scheme" />

<var name="stoch_pattern_gg" type="real" dimensions="lon_for lat_leg Time" units="%"
description="Perturbation pattern for stochastic physics, on Gaussian grid" />
#ifdef DO_PHYSICS
<!-- ================================================================================================== -->
<!-- TENDENCIES FROM PARAMETERIZATION OF CLOUD MICROPHYSICS: -->
Expand Down Expand Up @@ -4672,5 +4683,6 @@
#include "physics/Registry_noahmp.xml"
#include "physics/Registry_tempo.xml"
#include "physics/registry.chemistry.xml"
#include "stochastic_physics/Registry_stoch_physics.xml"
#endif
</registry>
2 changes: 1 addition & 1 deletion src/core_atmosphere/dynamics/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ ifeq "$(GEN_F90)" "true"
$(CPP) $(CPPFLAGS) $(PHYSICS) $(CPPINCLUDES) $< > $*.f90
$(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I.. -I../../framework -I../../operators -I../physics -I../physics/physics_wrf -I../physics/physics_mmm -I../../external/esmf_time_f90
else
$(FC) $(CPPFLAGS) $(PHYSICS) $(FFLAGS) -c $*.F $(CPPINCLUDES) $(FCINCLUDES) -I.. -I../../framework -I../../operators -I../physics -I../physics/physics_wrf -I../physics/physics_mmm -I../../external/esmf_time_f90
$(FC) $(CPPFLAGS) $(PHYSICS) $(FFLAGS) -c $*.F $(CPPINCLUDES) $(FCINCLUDES) -I.. -I../../framework -I../../operators -I../physics -I../physics/physics_wrf -I../physics/physics_mmm -I../stochastic_physics -I../../external/esmf_time_f90
endif
20 changes: 20 additions & 0 deletions src/core_atmosphere/dynamics/mpas_atm_time_integration.F
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module atm_time_integration
use mpas_atmphys_driver_microphysics
use mpas_atmphys_todynamics
use mpas_atmphys_utilities
use mpas_stochastic_physics, only : stochastic_physics_pattern_apply, dosppt
#endif

use mpas_atm_boundaries, only : nSpecZone, nRelaxZone, nBdyZone, mpas_atm_get_bdy_state, mpas_atm_get_bdy_tend ! regional_MPAS addition
Expand Down Expand Up @@ -880,6 +881,8 @@ subroutine atm_srk3(domain, dt, itimestep, exchange_halo_group)
#endif

real (kind=RKIND) :: time_dyn_step
character(len=32) :: tend_names(4)
integer :: ierr
logical, parameter :: debug = .false.


Expand Down Expand Up @@ -1077,11 +1080,28 @@ subroutine atm_srk3(domain, dt, itimestep, exchange_halo_group)
call mpas_timer_start('physics_get_tend')
rk_step = 1
dynamics_substep = 1

! apply random perturbation pattern to the tendency

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

tend_names being hardcoded here is a problem.
Is there a way to make it accessible in stochastic_physics_pattern_apply without being set here?

@JeffBeck-NOAA JeffBeck-NOAA May 13, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why is this a problem? If there's a way to query which tendencies are being allocated, we could use that here and select (from that list), which to perturb based on the physics suite and stochastic method in question.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Two things. The tendencies being perturbed is hardcoded and not extensible. Also tend_names doesn't need to be set at each time-step before applying the pattern (i.e. this could be done during initialization once).

For example, if you extend stochastic_physics_pattern_apply to perturb more tendencies, you will also need to modify the MPAS source code here.

A solution would be to make tend_names an allocatable variable that is set during stochastic_physics_pattern_init, then referenced by stochastic_physics_pattern_apply. This way it is set once, and doesn't need to be passed through MPAS .

Also, this allows another host model (e.g., UFS) to control which fields we want to perturb when using stochastic physucs within MPAS. We plan on having tend_names part of the nam_stochy namelist to allow this runtime felxibility.

tend_names(1) = "rucuten"
tend_names(2) = "rvcuten"
tend_names(3) = "rublten"
tend_names(4) = "rvblten"
if (dosppt(domain)) then
call stochastic_physics_pattern_apply(domain, 4, tend_names, ierr)
endif

call physics_get_tend( block, mesh, state, diag, tend, tend_physics, &
block % configs, rk_step, dynamics_substep, &
tend_ru_physics, tend_rtheta_physics, tend_rho_physics, &
exchange_halo_group )
call mpas_timer_stop('physics_get_tend')

! apply random perturbation pattern to the tendency
tend_names(1) = "tend_rtheta_physics"
! tend_names(2) = "tend_rho_physics"
if (dosppt(domain)) then
call stochastic_physics_pattern_apply(domain, 1, tend_names, ierr)
endif
#else
#ifndef MPAS_CAM_DYCORE
!
Expand Down
10 changes: 10 additions & 0 deletions src/core_atmosphere/mpas_atm_core.F
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function atm_core_init(domain, startTimeStamp) result(ierr)
use mpas_attlist, only : mpas_modify_att
use mpas_string_utils, only : mpas_string_replace
use mpas_atm_halos, only: atm_build_halo_groups, exchange_halo_group
use mpas_stochastic_physics, only : stochastic_physics_pattern_init, dosppt

implicit none

Expand Down Expand Up @@ -301,6 +302,11 @@ function atm_core_init(domain, startTimeStamp) result(ierr)
! Prepare the dynamics for integration
!
call mpas_atm_dynamics_init(domain)
!
! init stochastic pattern generation
if (dosppt(domain)) then
call stochastic_physics_pattern_init (domain, ierr)

@dustinswales dustinswales Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@gsketefian Should this die and report error if initialization fails?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@dustinswales I would think it should at least write out a warning in the log file(s) if not die altogether, but I think @NingWang325 is best suited to answer this one.

endif
Comment on lines +305 to +309

@JeffBeck-NOAA JeffBeck-NOAA Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

From @NingWang325: this code follows procedure from NOAA-PSL/stochastic_physics to ensure initialization is successful. For now, a message is passed to the log saying that stochastic physics could not be initialized.

We need to stop the run in NOAA-PSL/stochastic_physics if initialization of any expect stochastic physics method fails. Check the "ierr" value and issue a stop command.


end function atm_core_init

Expand Down Expand Up @@ -1014,6 +1020,7 @@ subroutine atm_do_timestep(domain, dt, itimestep)
use mpas_atmphys_update
#endif
use mpas_atm_halos, only: exchange_halo_group
use mpas_stochastic_physics, only : stochastic_physics_pattern_adv, dosppt

implicit none

Expand Down Expand Up @@ -1046,6 +1053,9 @@ subroutine atm_do_timestep(domain, dt, itimestep)
endif
#endif

if (dosppt(domain)) then

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could this call be moved out of atm_do_timestep into into atm_core_run?
Just before the call the atm_do_timestep?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@NingWang325 What do you think?

call stochastic_physics_pattern_adv(domain, itimestep, ierr)
endif
call atm_timestep(domain, dt, currTime, itimestep, exchange_halo_group)

end subroutine atm_do_timestep
Expand Down
4 changes: 3 additions & 1 deletion src/core_atmosphere/physics/Makefile

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@gsketefian
I'm confused why we need to create the TEPMO MP tables?
As I understand MPAS-A, which may be wrong, these LUTs are computed beforehand and linked to the run directory as part of the workflow. (That's how we do it in the CI tests here, as well as in the CCPP SCM and UFS)

@gsketefian gsketefian Apr 10, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@dustinswales Which workflow are you referring to, and what do you mean by "beforehand"?

I use make (as opposed to cmake) to build MPAS-Model. That creates the executable for generating LUTs (Look Up Tables) for Thompson MP (called build_tables) but not the one for TEMPO (called run_build_tables). So I thought it would be convenient for run_build_tables to also be generated as part of the make call. If this is already done somewhere, can you point me to where it is?

Also, where is either build_tables or run_build_tables called to generated the tables? Calling build_tables after the make from a front-end node (on Hera, in my case) is ok because it doesn't take too long to build the Thompson tables, but calling run_build_tables from a front-end node causes a time out because it takes too long to build one of the TEMPO tables. I ended up writing a separate script to call run_build_tables as a slurm job on a compute node.

From what you're describing, all this is already done somewhere. I'm happy to try out the existing capability and remove my changes.

I'll tag @AndersJensen-NOAA too in case he has suggestions.

@dustinswales dustinswales Apr 10, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@gsketefian Building the TEMPO tables is not needed for stochastic physics and it's not currently part of the MPAS-A codebase. So why is this being added here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@dustinswales Whenever we (the DTC's stoch physics team) make changes to the stochastic physics code, the MPAS-Model tests I run are with both Thompson and TEMPO. I was under the impression TEMPO is the MP scheme we're planning to switch to, so I make sure to test that. If it's ok to test only with Thompson (or another scheme), that's ok with me. @JeffBeck-NOAA @clark-evans

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@dustinswales Whenever we (the DTC's stoch physics team) make changes to the stochastic physics code, the MPAS-Model tests I run are with both Thompson and TEMPO. I was under the impression TEMPO is the MP scheme we're planning to switch to, so I make sure to test that. If it's ok to test only with Thompson (or another scheme), that's ok with me. @JeffBeck-NOAA @clark-evans

@gsketefian MPAS has never had this functionality.
MPAS doesn't need it. We don't need it for Stochy, so why are you adding it?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There should be no reason to touch the core_atmosphere/physics Makefile in this PR.
All the changes are isolated to the core_atmosphere Makefile.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I will undo these changes to move the PR along.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ core_physics_mmm: core_physics_init
(cd physics_mmm; $(MAKE) -f Makefile.mpas all)

core_microphysics: core_physics_init core_physics_mmm

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Changes in first line are to copy ccn_activate.bin into the top-level MPAS-Model directory, just as other microphysics files are copied there during a make invocation (e.g. MP_THOMPSON_*).

(cd physics_noaa/TEMPO; $(MAKE) -f Makefile.mpas)
(cd physics_noaa/TEMPO; $(MAKE) -f Makefile.mpas; cp tables/ccn_activate.bin ../../../../../)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The following new line builds TEMPO's run_build_tables executable, which is needed to generate the tables for TEMPO. This is similar to the building of the build_tables executable for THOMPSON microphysics.

Not sure why this wasn't originally included. Also, not sure if this work with all machines and compilers, but it works on Hera.

@gsketefian gsketefian Mar 31, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@clark-evans Not sure if you're the right person to ask this. If not, please let me know who to ask (Anders?).

I'm wondering why the original version of this Makefile does not build the executable for generating the TEMPO MP tables. I tried to include it via this line, but it is failing during CI testing because the sub-makefile called (Makefile.intel) is apparently only for intel, but one of the CI tests is with gnu FORTRAN.

Without this executable (named run_build_tables) a user will not be able to generate the tables needed to run MPAS with TEMPO. Note that an executable for generating tables for THOMPSON MP (named build_tables) is generated during the make, so it would be nice to have one for TEMPO as well.

I will comment out this line for now so the CI tests can proceed, but it would be nice to understand why building run_build_tables (regardless of compiler) is not part of the original Makefile.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi @gsketefian -- I think this is handled in src/core_atmosphere/utils/Makefile, where directives for compiling build_tables_tempo are provided alongside those for build_tables. This is called when core_atmosphere is built.

Tagging @AndersJensen-NOAA to correct me in case I'm wrong, though...

@gsketefian gsketefian Apr 1, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@clark-evans @AndersJensen-NOAA As far as I can tell, that Makefile builds the executable for Thompson MP but not the one for TEMPO, probably intentionally. In my build log, I can see the fortran files for Thompson (atmphys_build_tables_thompson.F and build_tables.F) being compiled but not the ones for TEMPO (atmphys_build_tables_tempo.F and build_tables_tempo.F).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@clark-evans @AndersJensen-NOAA I talked to Anders today about this, and he pointed out that there is also a Makefile for gfortran (Makefile.gfortran) for building the TEMPO executable to generate MP tables. So I added the variable MAKEFILE_SUFFIX to distinguish between intel and gfortran.

Btw, the code in src/core_atmosphere/utils/ related to TEMPO is outdated since the subroutine interfaces for the latest TEMPO are different than the ones used in the .F files in that directory. So another option for building the executable for TEMPO table generation is to update this directory (specifically atmphys_build_tables_tempo.F, build_tables_tempo.F, and Makefile) to match the latest TEMPO, but that is a job best suited for @AndersJensen-NOAA (and not necessary for this PR).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@clark-evans, would you be OK with adding the TEMPO table executable to the "make" build as Gerard suggested?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@JeffBeck-NOAA following the discussion between @dustinswales and @gsketefian, I think we'll hold off on it for now to expedite this PR. It'd be a good separate PR to add afterwards, though.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@clark-evans, this is what I see from @dustinswales: "Building the TEMPO tables is not needed for stochastic physics and it's not currently part of the MPAS-A codebase. So why is this being added here?"

While stochastic physics doesn't need the TEMPO tables, SPP will be in TEMPO at some point (probably in the next year). Any SPP regression tests would need to use TEMPO, but as stated, we can deal with that in the future when it's ready.

(cd physics_noaa/TEMPO; $(MAKE) -f Makefile.intel run_build_tables ; cp run_build_tables ../../../../../)

core_SMOKE: core_physics_init
(cd physics_noaa/SMOKE; cp ./MPAS/Makefile .; cp ./MPAS/mpas_smoke_wrapper.F90 .; $(MAKE) all)
Expand Down Expand Up @@ -290,6 +291,7 @@ clean:
( cd physics_noahmp/src; $(MAKE) clean )
( cd physics_noahmp/utility; $(MAKE) clean )
( if [ -d physics_noaa/TEMPO ]; then cd physics_noaa/TEMPO; $(MAKE) -f Makefile.mpas clean; fi )

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The following is to clean the run_build_tables executable and related files generated by the new line above in this Makefile.

( if [ -d physics_noaa/TEMPO ]; then cd physics_noaa/TEMPO; $(MAKE) -f Makefile.intel clean; fi )
( if [ -d physics_noaa/UGWP ]; then cd physics_noaa/UGWP; $(MAKE) clean; fi )
( if [ -d physics_noaa/RUCLSM ]; then cd physics_noaa/RUCLSM; $(MAKE) -f MPAS/Makefile clean; fi )
( if [ -d physics_noaa/MYNN-EDMF ]; then cd physics_noaa/MYNN-EDMF; cp ./MPAS/Makefile .; $(MAKE) clean; fi )
Expand Down
4 changes: 2 additions & 2 deletions src/core_atmosphere/physics/registry.chemistry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@
<!-- **************************************************************************************** -->

<streams>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This was necessary to avoid SMIOL errors apparently due to another stream named output defined in the main Registry.xml. This error causes the output .nc files to contain only the smoke variables defined here and none of the output variables for the output stream in the main Registry.xml. The output file is also renamed so two different streams are not writing to the same file.

<stream name="output"
<stream name="output_smoke"
type="output"
filename_template="history.$Y-$M-$D_$h.$m.$s.nc"
filename_template="history_smoke.$Y-$M-$D_$h.$m.$s.nc"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@gsketefian This change will break the current rrfs-workflow.v2 (with smoke and dust) as discussed in #196 (comment)

We need to discuss this and have an agreement before making this change. Thanks!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I will undo these changes to move the PR along. I'll do some more tests to see if this is necessary.

output_interval="6:00:00"
runtime_format="separate_file">
<var name="aero_emis_for_enhmix"/>
Expand Down
1 change: 1 addition & 0 deletions src/core_atmosphere/stochastic_physics
Submodule stochastic_physics added at 17222a
Loading