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

Add a system test: turning on water isotopes shouldn't change answers #571

Closed
billsacks opened this issue Nov 21, 2018 · 1 comment
Closed
Assignees
Labels
type: tests additions or changes to tests

Comments

@billsacks
Copy link
Member

Turning on water isotopes shouldn't change answers for bulk water or any other non-water-isotope quantity. We should add a new system test to confirm this (similar in concept to the LVG test).

@billsacks billsacks added the type: tests additions or changes to tests label Nov 21, 2018
@billsacks billsacks added this to To Do - long-term in Water isotopes Nov 21, 2018
@billsacks
Copy link
Member Author

See also #686 - similar test for C isotopes.

With the new cprnc, for this to pass, we'd need a namelist flag that turns off the water isotope diagnostic fields so that there are no differences in field lists.

@billsacks billsacks moved this from To Do - long-term to To Do in Water isotopes Apr 18, 2019
@billsacks billsacks moved this from To Do to In progress in Water isotopes Apr 19, 2019
@billsacks billsacks self-assigned this Apr 19, 2019
@billsacks billsacks moved this from In progress to To Do in Water isotopes May 24, 2019
@billsacks billsacks moved this from To Do to Done but not on master in Water isotopes Jul 30, 2019
Water isotopes automation moved this from Done but not on master to Done Aug 6, 2019
billsacks added a commit that referenced this issue Aug 6, 2019
Modularize snow cover fraction method

This tag moves the calculation of frac_sno - and the related updates of
snow_depth - into a new set of classes, with one class for each
parameterization (Niu & Yang 2007 and Swenson & Lawrence 2012).

Previously, the code always calculated frac_sno the new way, but then
possibly overwrote it if using the older Niu & Yang method. The new code
cleans this up, only doing the calculations that are needed for each
method.

In addition, other code that is specific to one of the two methods is
now moved to a home that makes this dependence on method explicit. This
includes the addition of newsnow to int_snow: previously, int_snow was
always updated using an equation specific to the newer CLM5
parameterization of frac_sno, which was not appropriate if using the Niu
& Yang parameterization; this doesn't make a difference currently, since
int_snow is only referenced if using the Swenson & Lawrence
parameterization, but this clears up some confusion. Also, time-constant
parameters read from namelist or the netCDF parameter file now reside in
the appropriate class rather than being more global.

This tag also renames two namelist options to increase clarity:
- subgridflag is renamed to use_subgrid_fluxes, and is now a logical
- oldfflag is renamed to snow_cover_fraction_method, and is now a string

Resolves #502
Resolves #503
Resolves #571
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: tests additions or changes to tests
Projects
Development

No branches or pull requests

1 participant