-
Notifications
You must be signed in to change notification settings - Fork 212
Migrate to mercury for globus/hpss transfers from MSU #3655
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
Merged
DavidHuber-NOAA
merged 43 commits into
NOAA-EMC:develop
from
DavidHuber-NOAA:feature/globus_mercury
May 14, 2025
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
c146491
Switch to Mercury for globus transfers
DavidHuber-NOAA e46c6ca
Jinja-fy config.globus
DavidHuber-NOAA 6d9dc08
Merge remote-tracking branch 'origin/develop' into feature/globus_mer…
DavidHuber-NOAA e263ade
Merge branch 'NOAA-EMC:develop' into feature/globus_mercury
DavidHuber-NOAA 48e10ed
Intermediate commit
DavidHuber-NOAA db87c42
Merge develop
DavidHuber-NOAA c67fc37
Move workflow and ci locations in .gitignore
DavidHuber-NOAA 4072c83
Merge remote-tracking branch 'origin/develop' into feature/globus_mer…
DavidHuber-NOAA c2f117f
Cleanup hosts.py, add __str__ method to return detected host
DavidHuber-NOAA 06486bd
Fix get call
DavidHuber-NOAA 21f8abf
Clean up setup_expt.py
DavidHuber-NOAA 3e645e3
Add another gotcha to globus documentation
DavidHuber-NOAA ecab1af
Update CMs list :'(
DavidHuber-NOAA 65a0600
Update Mercury's UUID; make user supply username
DavidHuber-NOAA 1de7090
Rename config.globus (no longer Jinja-templated)
DavidHuber-NOAA bb52f85
Check that SERVER_USERNAME is set
DavidHuber-NOAA 41de3e2
Merge remote-tracking branch 'origin/develop' into feature/globus_mer…
DavidHuber-NOAA e9d2513
Rename gefs config.globus
DavidHuber-NOAA 8633fb9
Rename sfs config.globus
DavidHuber-NOAA dd777a9
Comment out Niagara's UUID
DavidHuber-NOAA 06812d3
Merge remote-tracking branch 'origin/develop' into feature/globus_mer…
DavidHuber-NOAA cb1bee9
Raise an error if the server username is not provided
DavidHuber-NOAA 97e5867
Add ecen dependency for enkfgfs when running ocean variational DA
DavidHuber-NOAA 8221bb2
Merge remote-tracking branch 'origin/develop' into feature/globus_mer…
DavidHuber-NOAA 16cca2b
Add enkfgfs_earc_tars dependency on ocnanalecen job
DavidHuber-NOAA dd2299c
Use stop-gap fix for doorman service
DavidHuber-NOAA 98445df
Add debug information when constructing datasets yaml
DavidHuber-NOAA c944b2b
Fix earc_cleanup dependencies when running globus archiving
DavidHuber-NOAA 4bc2703
Merge remote-tracking branch 'origin/develop' into feature/globus_mer…
DavidHuber-NOAA e39221d
Removed no-longer-linked files from .gitignore
DavidHuber-NOAA 71d0dfe
Add comment for clarity on setting host names
DavidHuber-NOAA 5aef4d1
Ensure the Host __str__ method is called
DavidHuber-NOAA 99b4cb7
Merge remote-tracking branch 'origin/develop' into feature/globus_mer…
DavidHuber-NOAA 8ba0a2e
Only run one script per cron call
DavidHuber-NOAA 01b4c53
Create the log instantly
DavidHuber-NOAA 4001a55
Create server directories when needed, ignore errors
DavidHuber-NOAA 4563651
Let the server home directory differ by experiment
DavidHuber-NOAA d1e617c
Merge develop
DavidHuber-NOAA a4c536e
Update dev/workflow/rocoto/workflow_xml.py
DavidHuber-NOAA 6a438ed
Merge remote-tracking branch 'emc/develop' into feature/globus_mercury
DavidHuber-NOAA 88adf8c
Merge branch 'feature/globus_mercury' of github.com:davidhuber-noaa/g…
DavidHuber-NOAA 546e529
Make __str__ return a clear string
DavidHuber-NOAA 35eadec
Assign host.machine
DavidHuber-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -184,5 +184,3 @@ versions/run.ver | |
|
|
||
| # jcb checkout and symlinks | ||
| ush/python/jcb | ||
| workflow/jcb | ||
| ci/scripts/jcb | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,7 +56,7 @@ def _update_defaults(dict_in: dict) -> dict: | |
| # Combine host.info and inputs_dict into a single dict, add some additional keys | ||
| host_plus_inputs_dict = AttrDict(host.info, **inputs_dict_remapped) | ||
| host_plus_inputs_dict.HOMEgfs = _top | ||
| host_plus_inputs_dict.MACHINE = host.machine.upper() | ||
| host_plus_inputs_dict.MACHINE = str(host).upper() | ||
|
Member
Author
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. This doesn't work. It looks for an |
||
|
|
||
| # Read in the YAML file | ||
| yaml_path = inputs.yaml | ||
|
|
@@ -303,11 +303,11 @@ def query_and_clean(dirname, force_clean=False): | |
|
|
||
| create_dir = True | ||
| if os.path.exists(dirname): | ||
| logger.warning(f'directory already exists in:') | ||
| logger.warning('directory already exists in:') | ||
| logger.warning(f' {dirname}') | ||
| if force_clean: | ||
| overwrite = "YES" | ||
| logger.warning(f'removing directory ...') | ||
| logger.warning('removing directory ...') | ||
| logger.warning(f' {dirname}') | ||
| else: | ||
| overwrite = input('Do you wish to over-write [y/N]: ') | ||
|
|
@@ -322,7 +322,7 @@ def query_and_clean(dirname, force_clean=False): | |
| # @logit(logger) | ||
| def validate_user_request(host, inputs): | ||
| supp_res = host.info['SUPPORTED_RESOLUTIONS'] | ||
| machine = host.machine | ||
| machine = host | ||
| for attr in ['resdetatmos', 'resensatmos']: | ||
| try: | ||
| expt_res = f'C{getattr(inputs, attr)}' | ||
|
|
@@ -378,10 +378,10 @@ def main(*argv): | |
| update_configs(host, user_inputs) | ||
|
|
||
| max_len = max(len(expdir), len(rotdir)) + 8 | ||
| logger.info(f"*" * max_len) | ||
| logger.info("*" * max_len) | ||
| logger.info(f'EXPDIR: {expdir}') | ||
| logger.info(f'ROTDIR: {rotdir}') | ||
| logger.info(f"*" * max_len) | ||
| logger.info("*" * max_len) | ||
|
|
||
|
|
||
| if __name__ == '__main__': | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../gfs/config.globus |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.