forked from marbl-ecosys/MARBL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move 3D chlorophyll to output_for_GCM_type
This required a lot of small changes. MARBL library: 1. Rename surface_flux_output* -> output_for_gcm* 2. Add total_Chl index to indexing type, and rename sfo_ind -> ofg_ind 3, Remove marbl_instance%get_output_for_GCM() 4. Add field_source to registry type as well as marbl_single_output_type (so GCM knows whether the field should be copied after surface_flux_compute() or after interior_tendency_compute()) 5. Generalize registry definition, and make more specific error messages (flux_o2 requires both base_bio_on and lflux_gas_o2 to be true) 6. Pass output_for_GCM to interior_tendency_compute so it can populate total_Chl (if requested by GCM) Stand-alone driver: 1. rename total_Chl -> interior_tendency_output, add num_vars dimension (this is the 3D equivalent to surface_flux_output). Note that there is an assumption that all outputs_for_GCM from surface_flux_compute are 2D, while all from interior_tendency_compute are 3D. This is fine for now, but we may need to introduce datatypes if future mods contradict that assumption 2. Rely on field_source in output_for_GCM type to know what to copy out of the type / when to copy it 3. Total Chl is no longer a special case in marbl_io_mod.F90, it comes through the output_for_GCM object
- Loading branch information
1 parent
63307d2
commit d572db6
Showing
7 changed files
with
224 additions
and
188 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.