Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions cime_config/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@
"SMS.ne30pg2_EC30to60E2r2.WCYCLXX2010",
"ERS_Ln90.ne30pg2_ne30pg2.F2010-SCREAMv1.eamxx-L128--eamxx-sl_nsubstep2",
"ERS.ne30pg2_ne30pg2.F2010-SCREAMv1.eamxx-prod",
"SMS.ne30pg2_ne30pg2.F2010-SCREAMv1.eamxx-hremap_nudged",
)
},

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

cime_root=$(./xmlquery --value CIMEROOT)
input_data_dir=$(./xmlquery --value DIN_LOC_ROOT)
atmchange=$cime_root/../components/eamxx/scripts/atmchange
case_name=$(./xmlquery --value CASE)

$atmchange -b physics::atm_procs_list+="nudging"

$atmchange -b nudging::nudging_filenames_patterns="${input_data_dir}/atm/scream/hremap_nudging/output*.nc"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jgfouca @bartgol how to ensure this data gets downloaded from the server?

Copy link
Member

Choose a reason for hiding this comment

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

file="true" in the XML for this parameter. However, since you are using a glob here instead of a file name, I'm not sure it will work.

Copy link
Member

Choose a reason for hiding this comment

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

@mahf708 , are you talking about the nudging_filenames_patterns parameter or nudging_refine_remap_mapfile?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nudging_filenames_patterns

Copy link
Contributor

Choose a reason for hiding this comment

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

@mahf708 @jgfouca did we decide what to do with this issue? Are we simply going to require that users manually download the files beforehand? Or do we want to add logic to our buildnml? I can work on the latter, and may be able to cook up a solution in a day or so, but I wonder if it's too niche of a case to justify adding complexity to our toolchain...

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 am leaning towards basically enabling this test as-is (see https://github.com/E3SM-Project/E3SM/pull/7497/files#diff-e2fbf220fd98012c3bdf61d7f341a1815f43823af2ffd3bf926d5aafc4363d8bR762), then it will fail on most machines, and we [people who have access to machines and do blessing, etc. regularly] will manually transfer the files. Then, the tests will pass and we likely won't need to update this test for ~years.

Alternatively, we can just not add the test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In other words, my vote is to avoid complicating our toolchain

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good. Are you ok taking care of moving the files around for the nightly testing machines once the PR is merged?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but I may need to ask you/Jim for the SNL machines if that's ok :)

$atmchange -b nudging::source_pressure_type=TIME_DEPENDENT_3D_PROFILE
$atmchange -b nudging::nudging_fields=U,V
$atmchange -b nudging::nudging_timescale=21600
$atmchange -b nudging::nudging_refine_remap_mapfile="${input_data_dir}/atm/scream/maps/map_ne4pg2_to_ne30pg2_nco_c20241108.nc"