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

implement generic output name for routing method specific variables #482

Merged

Conversation

nmizukami
Copy link
Collaborator

Currently routed runoff, volume, inflow history variable names add routing method abbreviation in front of variables (== routing specific name)

For example, if you run Muskingum Cunge method, routed runoff name is MCroutedRunoff. This name convention may be ok if users run multiple routing schemes at the same time to distinguish.

However, if users run only with one method, users may want to just use more generic names, routedRunoff, volume, or inflow etc.,

This PR enables this option. The default still uses routing specific name.

CESM-coupled run typically uses only one method, and for testing purpose, we want to use generic name to compare the history files among different versions and cases.

resolve #481

@nmizukami nmizukami added cesm-coupling For cesm coupling new features Adding new features standalone For stand-alone run labels Sep 10, 2024
@nmizukami nmizukami linked an issue Sep 18, 2024 that may be closed by this pull request
Copy link
Collaborator Author

@nmizukami nmizukami left a comment

Choose a reason for hiding this comment

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

some comment to changes

route/build/src/read_control.f90 Outdated Show resolved Hide resolved
Copy link
Collaborator

@ekluzek ekluzek left a comment

Choose a reason for hiding this comment

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

We talked about some changes that @nmizukami will change as he sees fit. But, approving so he doesn't have to have me reapprove. This is a very nice improvement that I'm glad to see come in.

route/build/src/read_control.f90 Outdated Show resolved Hide resolved
route/build/src/read_control.f90 Show resolved Hide resolved
route/build/src/write_restart_pio.f90 Show resolved Hide resolved
route/build/src/write_restart_pio.f90 Show resolved Hide resolved
@nmizukami nmizukami merged commit b38a7a0 into ESCOMP:cesm-coupling Sep 20, 2024
@nmizukami nmizukami deleted the cesm-coupling_routed_runoff_name branch October 3, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cesm-coupling For cesm coupling new features Adding new features standalone For stand-alone run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

routed runoff output variable name
2 participants