-
Notifications
You must be signed in to change notification settings - Fork 215
Allow increments to be added for ocean and ice cycling. #1308
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 1 commit
311657d
364df4e
015e0bd
19c4748
46b1e7e
b04954b
55df592
acbeb76
6be7442
b8963ee
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 |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| #! /usr/bin/env bash | ||
|
|
||
| ############################################################### | ||
| if [[ "${DEBUG_WORKFLOW:-NO}" == "NO" ]]; then | ||
| export DEBUG_WORKFLOW="${DEBUG_WORKFLOW:-NO}" | ||
|
Contributor
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. is this a lint thing?
Contributor
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. @CoryMartin-NOAA , nope, that was an issue before you added a default to the other places where |
||
| if [[ "${DEBUG_WORKFLOW}" == "NO" ]]; then | ||
|
Contributor
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. I think this was a mistake to merge this change in... did anyone test? @jiaruidong2017 seems to be having an issue here |
||
| echo "Loading modules quietly..." | ||
| set +x | ||
| fi | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,6 +120,14 @@ def link_files_from_src_to_dst(src_dir, dst_dir): | |
| makedirs_if_missing(dst_dir) | ||
| link_files_from_src_to_dst(src_dir, dst_dir) | ||
|
|
||
| # First 1/2 cycle needs a MOM6 increment | ||
|
Contributor
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. why? is it not a
Contributor
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. No, it's a |
||
| incdir = f'{inputs.cdump}.{idatestr[:8]}/{idatestr[8:]}' | ||
| incfile = f'{inputs.cdump}.t{idatestr[8:]}z.ocninc.nc' | ||
| src_file = os.path.join(inputs.icsdir, incdir, 'ocean', incfile) | ||
| dst_file = os.path.join(comrot, incdir, 'ocean', incfile) | ||
| makedirs_if_missing(os.path.join(comrot, incdir, 'ocean')) | ||
| os.symlink(src_file, dst_file) | ||
|
|
||
| # Link ice files | ||
| if do_ice: | ||
| detdir = f'{inputs.cdump}.{rdatestr[:8]}/{rdatestr[8:]}' | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.