-
Notifications
You must be signed in to change notification settings - Fork 0
Add missing commits to GCMv12 branch #116
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
Changes from 2 commits
45d0355
f704f69
130e729
dd16e76
175d777
141ed37
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,10 +36,13 @@ def echo_bcs(x,opt): | |
return False | ||
|
||
def default_partition(x): | ||
if x['slurm_pbs:qos'] == 'debug': | ||
x['slurm_pbs:partition'] = 'compute' | ||
return False | ||
return True | ||
if x['slurm_pbs:qos'] == 'debug': | ||
if BUILT_ON_SLES15: | ||
x['slurm_pbs:partition'] = 'scutest' | ||
biljanaorescanin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
else: | ||
x['slurm_pbs:partition'] = 'compute' | ||
return False | ||
return True | ||
|
||
def validate_merra2_time(text): | ||
if len(text) == 10 : | ||
|
@@ -121,6 +124,13 @@ def ask_questions(): | |
"validate": lambda text: validate_geosit_time(text), | ||
"when": lambda x: x.get("input:shared:GEOS-IT", False) and not x.get("input:shared:MERRA-2", False), | ||
}, | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oooh. This one is tricky. By default, GEOSgcm v12 is non-hydrostatic. So, anyone remapping from v12 to v12+ would prefer this to be I am not sure what to do here. @wmputman might have more insight. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I think this makes also issues for coupled runs from older restarts. Coupled restarts are always hydrostatic I think. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @biljanaorescanin "Coupled restarts are always hydrostatic" well...huh. I did not know that. I've been doing any test MOM6 runs with v12 as non-hydro. Maybe @wmputman has FV3 setup in such a way now that it doesn't matter? If not, I know MERRA-2 is hydrostatic but what about GEOS-IT? I assume it is, but since @biljanaorescanin added GEOS-IT we'd probably want some default for that too. |
||
"type": "confirm", | ||
"name": "input:air:hydrostatic", | ||
"message": "Is the upper air input hydrostatic? (If you are not sure, don't change the default 'True')\n", | ||
"default": True, | ||
"when": lambda x: not x['input:shared:MERRA-2'], | ||
}, | ||
{ | ||
"type": "path", | ||
"name": "output:shared:out_dir", | ||
|
@@ -465,6 +475,7 @@ def ask_questions(): | |
answers["output:surface:remap_water"] = answers["output:surface:remap"] | ||
answers["output:surface:remap_catch"] = answers["output:surface:remap"] | ||
del answers["output:surface:remap"] | ||
if answers["input:shared:MERRA-2"] : answers["input:air:hydrostatic"] = True | ||
|
||
return answers | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.