Skip to content

Commit

Permalink
Update older settings files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mnlevy1981 committed May 25, 2024
1 parent 46a90f6 commit 123888a
Show file tree
Hide file tree
Showing 6 changed files with 537 additions and 6 deletions.
97 changes: 96 additions & 1 deletion defaults/json/settings_cesm2.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,30 @@
"subcategory": "10. autotrophs",
"units": "eV"
},
"FeOpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": 0.0018,
"((autotroph_sname)) == \"diaz\"": 0.002,
"((autotroph_sname)) == \"sp\"": 0.0018,
"default": "1e34"
},
"longname": "Fe threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"NOpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": 0.4,
"((autotroph_sname)) == \"diaz\"": 0.4,
"((autotroph_sname)) == \"sp\"": 0.4,
"default": "1e34"
},
"longname": "N threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"Nfixer": {
"datatype": "logical",
"default_value": {
Expand All @@ -75,6 +99,30 @@
"subcategory": "10. autotrophs",
"units": "1/day"
},
"POpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": 0.8,
"((autotroph_sname)) == \"diaz\"": 0.8,
"((autotroph_sname)) == \"sp\"": 0.8,
"default": "1e34"
},
"longname": "PO4 threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"Qn_fixed": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": "16.0/117",
"((autotroph_sname)) == \"diaz\"": "0.32*(16.0/117)",
"((autotroph_sname)) == \"sp\"": "16.0/117",
"default": "1e34"
},
"longname": "N/C ratio when using fixed N/C ratios",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"Qp_fixed": {
"datatype": "real",
"default_value": {
Expand All @@ -87,6 +135,18 @@
"subcategory": "10. autotrophs",
"units": "unitless"
},
"SiOpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": 10.0,
"((autotroph_sname)) == \"diaz\"": 0.0,
"((autotroph_sname)) == \"sp\"": 0.0,
"default": "1e34"
},
"longname": "Si threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"_type_name": "autotroph_settings_type",
"agg_rate_max": {
"datatype": "real",
Expand Down Expand Up @@ -133,7 +193,7 @@
"subcategory": "10. autotrophs",
"units": "non-numeric"
},
"gQfe_0": {
"gQfe_max": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": "35e-6",
Expand All @@ -157,6 +217,32 @@
"subcategory": "10. autotrophs",
"units": "unitless"
},
"gQp_max": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": 0.011,
"((autotroph_sname)) == \"diaz\"": 0.0083,
"((autotroph_sname)) == \"sp\"": 0.011,
"default": "1e34"
},
"dependencies": "lvariable_PtoC",
"longname": "Initial P/C ratio for growth",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"gQp_min": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": 0.0083,
"((autotroph_sname)) == \"diaz\"": 0.0037,
"((autotroph_sname)) == \"sp\"": 0.0075,
"default": "1e34"
},
"dependencies": "lvariable_PtoC",
"longname": "Minimum P/C ratio for growth",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"imp_calcifier": {
"datatype": "logical",
"default_value": {
Expand Down Expand Up @@ -1174,7 +1260,16 @@
"subcategory": "3. config flags",
"units": "unitless"
},
"lvariable_NtoC": {
"datatype": "logical",
"default_value": ".false.",
"dependencies": "base_bio_on",
"longname": "Control if NtoC ratios in autotrophs vary",
"subcategory": "3. config flags",
"units": "unitless"
},
"lvariable_PtoC": {
"_append_to_config_keywords": true,
"datatype": "logical",
"default_value": ".true.",
"dependencies": "base_bio_on",
Expand Down
100 changes: 99 additions & 1 deletion defaults/json/settings_cesm2.1+cocco.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,32 @@
"subcategory": "10. autotrophs",
"units": "eV"
},
"FeOpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"cocco\"": 0.0018,
"((autotroph_sname)) == \"diat\"": 0.0018,
"((autotroph_sname)) == \"diaz\"": 0.002,
"((autotroph_sname)) == \"sp\"": 0.0018,
"default": "1e34"
},
"longname": "Fe threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"NOpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"cocco\"": 0.4,
"((autotroph_sname)) == \"diat\"": 0.4,
"((autotroph_sname)) == \"diaz\"": 0.4,
"((autotroph_sname)) == \"sp\"": 0.4,
"default": "1e34"
},
"longname": "N threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"Nfixer": {
"datatype": "logical",
"default_value": {
Expand All @@ -77,6 +103,31 @@
"subcategory": "10. autotrophs",
"units": "1/day"
},
"POpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"cocco\"": 0.8,
"((autotroph_sname)) == \"diat\"": 0.8,
"((autotroph_sname)) == \"diaz\"": 0.8,
"((autotroph_sname)) == \"sp\"": 0.8,
"default": "1e34"
},
"longname": "PO4 threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"Qn_fixed": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": "16.0/117",
"((autotroph_sname)) == \"diaz\"": "0.32*(16.0/117)",
"((autotroph_sname)) == \"sp\"": "16.0/117",
"default": "1e34"
},
"longname": "N/C ratio when using fixed N/C ratios",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"Qp_fixed": {
"datatype": "real",
"default_value": {
Expand All @@ -90,6 +141,18 @@
"subcategory": "10. autotrophs",
"units": "unitless"
},
"SiOpt": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"diat\"": 10.0,
"((autotroph_sname)) == \"diaz\"": 0.0,
"((autotroph_sname)) == \"sp\"": 0.0,
"default": "1e34"
},
"longname": "Si threshold in uptake ratio computations",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"_type_name": "autotroph_settings_type",
"agg_rate_max": {
"datatype": "real",
Expand Down Expand Up @@ -140,7 +203,7 @@
"subcategory": "10. autotrophs",
"units": "non-numeric"
},
"gQfe_0": {
"gQfe_max": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"cocco\"": "35e-6",
Expand All @@ -166,6 +229,32 @@
"subcategory": "10. autotrophs",
"units": "unitless"
},
"gQp_max": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"cocco\"": 0.011,
"((autotroph_sname)) == \"diat\"": 0.011,
"((autotroph_sname)) == \"diaz\"": 0.0083,
"((autotroph_sname)) == \"sp\"": 0.011,
"default": "1e34"
},
"longname": "Initial P/C ratio for growth",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"gQp_min": {
"datatype": "real",
"default_value": {
"((autotroph_sname)) == \"cocco\"": 0.0083,
"((autotroph_sname)) == \"diat\"": 0.0083,
"((autotroph_sname)) == \"diaz\"": 0.0037,
"((autotroph_sname)) == \"sp\"": 0.0075,
"default": "1e34"
},
"longname": "Minimum P/C ratio for growth",
"subcategory": "10. autotrophs",
"units": "unitless"
},
"imp_calcifier": {
"datatype": "logical",
"default_value": {
Expand Down Expand Up @@ -1219,7 +1308,16 @@
"subcategory": "3. config flags",
"units": "unitless"
},
"lvariable_NtoC": {
"datatype": "logical",
"default_value": ".false.",
"dependencies": "base_bio_on",
"longname": "Control if NtoC ratios in autotrophs vary",
"subcategory": "3. config flags",
"units": "unitless"
},
"lvariable_PtoC": {
"_append_to_config_keywords": true,
"datatype": "logical",
"default_value": ".true.",
"dependencies": "base_bio_on",
Expand Down
Loading

0 comments on commit 123888a

Please sign in to comment.