Skip to content

Commit

Permalink
Merge pull request #2 from MetOs-UiO/develop
Browse files Browse the repository at this point in the history
Update configs
  • Loading branch information
ka7eh authored May 6, 2022
2 parents fba1e8e + 7241a99 commit 69d1b69
Showing 1 changed file with 105 additions and 93 deletions.
198 changes: 105 additions & 93 deletions resources/config/variables_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,38 @@
"type": "char",
"validation": {
"choices": [
"NO_LEAP",
"GREGORIAN"
{ "value": "NO_LEAP", "label": "No Leap" },
{ "value": "GREGORIAN", "label": "Gregorian" }
]
}
},
"placeholder": "No Leap"
},
{
"name": "DATM_CLMNCEP_YR_START",
"category": "ctsm_xml",
"type": "integer",
"description": {
"summary": "Starting year to loop data over"
}
},
"placeholder": 1901
},
{
"name": "DATM_CLMNCEP_YR_ALIGN",
"category": "ctsm_xml",
"type": "integer",
"description": {
"summary": "Year align"
}
},
"placeholder": 1901
},
{
"name": "DATM_CLMNCEP_YR_END",
"category": "ctsm_xml",
"type": "integer",
"description": {
"summary": "Ending year to loop data over"
}
},
"placeholder": 1950
},
{
"name": "RUN_STARTDATE",
Expand All @@ -60,15 +64,16 @@
"description": {
"summary": "Run start date (yyyy-mm-dd). Only used for startup or hybrid runs."
},
"default": "2000-01-01"
"placeholder": "2000-01-01"
},
{
"name": "STOP_N",
"category": "ctsm_xml",
"type": "integer",
"description": {
"summary": "Provides a numerical count for $STOP_OPTION."
}
},
"placeholder": 5
},
{
"name": "STOP_OPTION",
Expand All @@ -79,35 +84,37 @@
},
"validation": {
"choices": [
"none",
"never",
"nsteps",
"nstep",
"nseconds",
"nsecond",
"nminutes",
"nminute",
"nhours",
"nhour",
"ndays",
"nday",
"nmonths",
"nmonth",
"nyears",
"nyear",
"date",
"ifdays0",
"end"
{ "value": "none", "label": "None" },
{ "value": "never", "label": "Never" },
{ "value": "nsteps", "label": "nsteps" },
{ "value": "nstep", "label": "nstep" },
{ "value": "nseconds", "label": "nseconds" },
{ "value": "nsecond", "label": "nsecond" },
{ "value": "nminutes", "label": "nminutes" },
{ "value": "nminute", "label": "nminute" },
{ "value": "nhours", "label": "nhours" },
{ "value": "nhour", "label": "nhour" },
{ "value": "ndays", "label": "ndays" },
{ "value": "nday", "label": "nday" },
{ "value": "nmonths", "label": "nmonths" },
{ "value": "nmonth", "label": "nmonth" },
{ "value": "nyears", "label": "nyears" },
{ "value": "nyear", "label": "nyear" },
{ "value": "date", "label": "date" },
{ "value": "ifdays0", "label": "ifdays0" },
{ "value": "end", "label": "end" }
]
}
},
"placeholder": "ndays"
},
{
"name": "STOP_DATE",
"category": "ctsm_xml",
"type": "integer",
"description": {
"summary": "Alternative date yyyymmdd date option, sets the run length with STOP_OPTION and STOP_N negative value implies off."
}
},
"placeholder": -999
},
{
"name": "RUN_TYPE",
Expand All @@ -118,11 +125,12 @@
},
"validation": {
"choices": [
"startup",
"hybrid",
"branch"
{ "value": "startup", "label": "Startup" },
{ "value": "hybrid", "label": "Hybrid" },
{ "value": "branch", "label": "Branch" }
]
}
},
"placeholder": "Startup"
},
{
"name": "LND_TUNING_MODE",
Expand All @@ -133,15 +141,16 @@
},
"validation": {
"choices": [
"clm5_0_cam6.0",
"clm5_0_GSWP3v1",
"clm5_0_CRUv7",
"clm4_5_CRUv7",
"clm4_5_GSWP3v1",
"clm4_5_cam6.0",
"clm5_1_GSWP3v1"
{ "value": "clm5_0_cam6.0", "label": "clm5_0_cam6.0" },
{ "value": "clm5_0_GSWP3v1", "label": "clm5_0_GSWP3v1" },
{ "value": "clm5_0_CRUv7", "label": "clm5_0_CRUv7" },
{ "value": "clm4_5_CRUv7", "label": "clm4_5_CRUv7" },
{ "value": "clm4_5_GSWP3v1", "label": "clm4_5_GSWP3v1" },
{ "value": "clm4_5_cam6.0", "label": "clm4_5_cam6.0" },
{ "value": "clm5_1_GSWP3v1", "label": "clm5_1_GSWP3v1" }
]
}
},
"placeholder": "clm5_0_GSWP3v1"
},
{
"name": "co2_ppmv",
Expand All @@ -152,7 +161,8 @@
},
"validation": {
"min": 0.0
}
},
"placeholder": 367.0
},
{
"name": "fates_paramfile",
Expand All @@ -176,22 +186,6 @@
"append_input_path": true,
"hidden": true
},
{
"name": "fates_parteh_mode",
"category": "user_nl_clm",
"type": "integer",
"description": {
"summary": "Switch deciding which nutrient model to use in FATES.",
"details": "The Plant Allocation and Reactive Transport Extensible Hypotheses (PARTEH) module.",
"url": "https://fates-users-guide.readthedocs.io/en/latest/user/PARTEH-Modes.html"
},
"validation": {
"choices": [
0,
1
]
}
},
{
"name": "fates_spitfire_mode",
"category": "user_nl_clm",
Expand All @@ -203,13 +197,29 @@
},
"validation": {
"choices": [
0,
1,
2,
3,
4
{
"value": 0,
"label": "Simulations of fire are off"
},
{
"value": 1,
"label": "Use a global constant lightning rate"
},
{
"value": 2,
"label": "Use an external lightning dataset"
},
{
"value": 3,
"label": "Use an external confirmed ignitions dataset"
},
{
"value": 4,
"label": "Use external lightning and population datasets"
}
]
}
},
"placeholder": "Simulations of fire are off"
},
{
"name": "use_bedrock",
Expand All @@ -221,23 +231,6 @@
},
"default": false
},
{
"name": "hist_avgflag_pertape",
"category": "user_nl_clm",
"type": "char",
"description": {
"summary": "Per file averaging flag.",
"details": "'A' (average over history period)<br>'I' (instantaneous)<br>'X' (maximum over history period)<br>'M' (minimum over history period)"
},
"validation": {
"choices": [
"A",
"I",
"X",
"M"
]
}
},
{
"name": "hist_fincl1",
"category": "user_nl_clm_history_file",
Expand All @@ -251,8 +244,8 @@
"allow_custom": true,
"validation": {
"choices": [
"GPP_SCPF",
"PFTcrownarea"
{ "value": "GPP_SCPF", "label": "GPP_SCPF" },
{ "value": "PFTcrownarea", "label": "PFTcrownarea" }
]
}
},
Expand All @@ -269,8 +262,8 @@
"allow_custom": true,
"validation": {
"choices": [
"GPP_SCPF",
"PFTcrownarea"
{ "value": "GPP_SCPF", "label": "GPP_SCPF" },
{ "value": "PFTcrownarea", "label": "PFTcrownarea" }
]
}
},
Expand All @@ -287,8 +280,8 @@
"allow_custom": true,
"validation": {
"choices": [
"GPP_SCPF",
"PFTcrownarea"
{ "value": "GPP_SCPF", "label": "GPP_SCPF" },
{ "value": "PFTcrownarea", "label": "PFTcrownarea" }
]
}
},
Expand All @@ -305,8 +298,8 @@
"allow_custom": true,
"validation": {
"choices": [
"GPP_SCPF",
"PFTcrownarea"
{ "value": "GPP_SCPF", "label": "GPP_SCPF" },
{ "value": "PFTcrownarea", "label": "PFTcrownarea" }
]
}
},
Expand All @@ -323,8 +316,8 @@
"allow_custom": true,
"validation": {
"choices": [
"GPP_SCPF",
"PFTcrownarea"
{ "value": "GPP_SCPF", "label": "GPP_SCPF" },
{ "value": "PFTcrownarea", "label": "PFTcrownarea" }
]
}
},
Expand All @@ -341,8 +334,8 @@
"allow_custom": true,
"validation": {
"choices": [
"GPP_SCPF",
"PFTcrownarea"
{ "value": "GPP_SCPF", "label": "GPP_SCPF" },
{ "value": "PFTcrownarea", "label": "PFTcrownarea" }
]
}
},
Expand All @@ -357,6 +350,25 @@
"default": [true, true, true, true, true, true],
"allow_multiple": true
},
{
"name": "hist_avgflag_pertape",
"category": "user_nl_clm_history_file",
"type": "char",
"description": {
"summary": "Per file averaging flag.",
"details": "'A' (average over history period)<br>'I' (instantaneous)<br>'X' (maximum over history period)<br>'M' (minimum over history period)"
},
"validation": {
"choices": [
{ "value": "A", "label": "Average over history period" },
{ "value": "I", "label": "Instantaneous" },
{ "value": "X", "label": "Maximum over history period" },
{ "value": "M", "label": "Minimum over history period" }
]
},
"default": ["A", "A", "A", "A", "A", "A"],
"allow_multiple": true
},
{
"name": "hist_nhtfrq",
"category": "user_nl_clm_history_file",
Expand Down

0 comments on commit 69d1b69

Please sign in to comment.