-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fe updates from UCI #464
Draft
mnlevy1981
wants to merge
15
commits into
marbl-ecosys:development
Choose a base branch
from
mnlevy1981:fe_updates_from_uci
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Fe updates from UCI #464
mnlevy1981
wants to merge
15
commits into
marbl-ecosys:development
from
mnlevy1981:fe_updates_from_uci
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cleaned up some trailing white space, converted hard tabs to soft, and added a few missing _r8 modifiers
Stand-alone build found some unused variables and imports that I removed
Also removed trailing whitespace I inadvertantly added to marbl_diagnostics_mod in the last commit
Some settings in marbl_settings_mod.F90 only need to be defined if lvariable_PtoC (or NtoC) is true. Also, found a couple block in marbl_init_tracer_metadata_mod.F90 that wasn't verifying N_ind > 0 before modifying N tracers (N_ind = 0 if lvariable_NtoC = .false.)
For cesm2.0 and cesm2.1 (3p1z or 4p1z), add lvariable_NtoC but set the default to .false.; also renamed gQfe_0 -> gQfe_max and added the non-N settings from the settings_latest files.
Don't know what to use for Qn_fixed, waiting to hear back from UCI and NOAA folks... so this will still fail the init.py test (but with fewer MARBL ERROR lines)
Also generate the 4p2z settings file from JSON as part of testing
After discussion with Keith L, it looks like Qn_fixed and Qn_zoo were added to the code base so the fixed N:C configuration looked more like the fixed P:C configuration... but it isn't necessary since we want to use the same fixed N:C throughout the code (as opposed to fixed P:C, which really does vary from among the different functional types even when fixed spatially / temporally)
Modify marbl_io_mod to initialize N tracers to C tracers * 16/112 and set feredsedflux and feventflux = 0. Modify marbl_diagnostics_mod.F90 to include dust%remin*dust_to_Fe in integrand, not righthand-side of iron conservation check Modify marbl_interior_tendency_mod.F90 to sflux_in * desportion in P_iron%remin before computing sflux_out. Also cleaned up a few small things in interior_tendency_mod (use unit_system instead of assuming cgs; initialize Lig_prod and declare it as inout in some routines)
no coccoC in this initial condition file, but coccoC = 0.07*spC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch contains the code changes used by the UCI group; it includes variable C:N as well as new iron forcing