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

A fix for #346 so that LND2ROF_FMAPNAME will be used #361

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

ekluzek
Copy link
Collaborator

@ekluzek ekluzek commented Apr 12, 2023

Description of changes

Simple changes so that LND2ROF_FMAPNAME and ROF2LND_FMAPNAME will be used to fix the mapping for mizuRoute.

Specific notes

Contributors other than yourself, if any:

CMEPS Issues Fixed (include github issue #):
Fixes #346

Are changes expected to change answers? b4b (unless you use mapping files)

Any User Interface Changes (namelist or namelist defaults changes)?
XML variables LND2ROF_FMAPNAME and ROF2LND_FMAPNAME are now used

Testing performed

Testing performed if application target is CESM:

  • (other) please described in detail
    • machines and compilers: cheyenne_intel

with CTSM add_mizuRoute branch. ctsm5.1.dev114-40-g3c288c96c
ccs_config_cesm0.0.52
cime6.0.75

This resolves the mizuRoute issue: ESCOMP/mizuRoute#339

Check nuopc.runconfig for the test SMS_D_Ld1.nldas2_rnldas2_mnldas2.I2000Clm50Sp.cheyenne_intel.clm-default and make sure it gives idmap for rof2lnd_map and lnd2rof_map.

<values>
<value>unset</value>
<value>$LND2ROF_FMAPNAME</value>
<value samegrid_lnd_rof='true'>idmap</value>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As this is written, samegrid_lnd_rof will override the LND2ROF_FMPANAME value. This is probably correct, but means there is hidden behavior where the LND2ROF_FMAPNAME value that the user sets is ignored.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The one time this samegrid_lnd_rof comes up is for the nldas2_rnldas2_mnldas2 grid and I made sure with the new code it gives idmap as it should for that case.

@jedwards4b jedwards4b merged commit 22dbf82 into ESCOMP:main Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LND2ROF_FMAPNAME and ROF2LND_FMAPNAME can be set in the XML for case -- but don't actually do anything
3 participants