-
Notifications
You must be signed in to change notification settings - Fork 10
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
GAPs integration #168
GAPs integration #168
Conversation
Conflicts: requirements.txt sup3r/batch/batch.py sup3r/bias/bias_calc.py sup3r/pipeline/__init__.py sup3r/pipeline/config.py sup3r/pipeline/forward_pass.py sup3r/pipeline/pipeline.py sup3r/postprocessing/collection.py sup3r/preprocessing/data_handling.py sup3r/qa/qa.py sup3r/qa/stats.py sup3r/qa/visual_qa.py sup3r/solar/solar.py sup3r/utilities/cli.py sup3r/utilities/regridder.py
Conflicts: sup3r/preprocessing/data_handling/base.py sup3r/utilities/regridder.py
sup3r/solar/solar_cli.py
Outdated
@@ -63,7 +63,7 @@ def from_config(ctx, config_file, verbose): | |||
cmd_log = '\n\t'.join(cmd.split('\n')) | |||
logger.debug(f'Running command:\n\t{cmd_log}') | |||
|
|||
if hardware_option.lower() in ('eagle', 'slurm'): | |||
if hardware_option.lower() in ('kestrel', 'eagle', 'slurm'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets make ('kestrel', 'eagle', 'slurm')
a global AVAILABLE_HARDWARE_OPTIONS, since it shows up so much.
@@ -23,7 +22,6 @@ | |||
'numpy': np.__version__, | |||
'nrel-phygnn': phygnn.__version__, | |||
'nrel-rex': rex.__version__, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no more rev. yay!
sup3r/cli.py
Outdated
@@ -116,16 +118,16 @@ def forward_pass(ctx, verbose): | |||
"execution_control": { | |||
"option": "local" | |||
}, | |||
"execution_control_eagle": { | |||
"option": "eagle", | |||
"execution_control_kestrel": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this entry actually, unless this is a gaps thing? execution_control
is where we put non local options also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a GAPs thing. All args should go in the execution_control
block for sure. I kept it around since you guys used it in your documentation for eagle args. Do you want me to replace the original execution_control
block with the HPC required args? Or just delete it entrierly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'm not sure why we had that lol. The former would be great, thanks.
Remove reliance on
gaps.legacy
by updating the code to use GAPs classes/functions directly. Incidentally, this allows the removal of thereV
dependency as well.A cute bonus is that sup3r config files now can be JSON, JSON5, YAML, or TOML
Also updated references to
eagle
withkestrel
.Also updated reqs to use latest version ofThis had already been pushed torex
, which fixes the double logging issue.main
previously