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

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

Closed
ekluzek opened this issue Mar 22, 2023 · 6 comments · Fixed by #361
Assignees
Labels
bug Something isn't working CESM only

Comments

@ekluzek
Copy link
Collaborator

ekluzek commented Mar 22, 2023

This is true in cmeps0.13.81. You can set LND2ROF_FMAPNAME and ROF2LND_FMAPNAME for a case, but they don't actually change the nupoc.runconfig to set the nuopc.runconfig configuration values: lnd2rof_map and rof2lnd_map. This obviously needs to be connected so that you can provide a mapping file for these cases. This is a critically important feature for working with mizuRoute.

@ekluzek ekluzek added bug Something isn't working CESM only labels Mar 22, 2023
@ekluzek ekluzek self-assigned this Mar 22, 2023
@ekluzek
Copy link
Collaborator Author

ekluzek commented Mar 22, 2023

I think this might have been working in the past and then was broken at some point. I'll investigate if that's the case or not.

@ekluzek
Copy link
Collaborator Author

ekluzek commented Mar 22, 2023

It looks like this was broken with commit b4a1983

@billsacks
Copy link
Member

Nice work tracking this down, @ekluzek !

ekluzek added a commit to ekluzek/CMEPS that referenced this issue Mar 29, 2023
@ekluzek
Copy link
Collaborator Author

ekluzek commented Mar 29, 2023

I have a branch that we are testing that gets this to work for us. But, in the long-term I think this needs some discussion on the right way to do this. So I'm thinking that I should talk with @jedwards4b and @billsacks about this? Anyone else that should be involved? And should I just propose a meeting in the next few weeks?

@jedwards4b
Copy link
Collaborator

jedwards4b commented Mar 29, 2023

If you want these to work you just need to modify namelist_definition_drv.xml and add modify_via_xml="LND2ROF_FMAPNAME" and
<value>$LND2ROF_FMAPNAME</value>
you can look to ROF2OCN_FMAPNAME for an example.

@ekluzek
Copy link
Collaborator Author

ekluzek commented Apr 12, 2023

@jedwards4b I have a simple fix along those lines that I'll submit a PR for. The larger thing that I'm concerned about is that there a bunch of XML variables that are disconnected from the namelist, so they do nothing. That's the bigger issue to discuss. I'll create an issue for that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CESM only
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants