-
Notifications
You must be signed in to change notification settings - Fork 168
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
Update global atmos vminmon job to use COMIN/COMOUT #2935
Closed
mingshichen-noaa
wants to merge
5
commits into
NOAA-EMC:develop
from
mingshichen-noaa:feature/atmos_vminmon_com_in_out
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
fc26ccb
changed COM_* into COMIN/COMOUT
mingshichen-noaa 3d3029a
remved the extra space on lines 20-21 after -rx
mingshichen-noaa 29e73c3
changed prefix (COM_) of 3 variables into COMIN
mingshichen-noaa 1b59c5c
revert the previous modifications
mingshichen-noaa 90706ef
Merge branch 'develop' into feature/atmos_vminmon_com_in_out
mingshichen-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 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.
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.
Since this is only an input, we shouldn't be creating it.
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.
@WalterKolczynski-NOAA
From scripts ( exglobal_atmos_vminmon.sh), these three directory variables should be input directories. Hence line 28 and 29 should be removed. Am I right?
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.
Only
$M_TANKverfM1
is an input.$M_TANKverif
is an output (the perl scripts write to it).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.
@WalterKolczynski-NOAA
After reading 3 perl files in ush (minmon_xtrct_costs.pl minmon_xtrct_gnorms.pl minmon_xtrct_reduct.pl), gsistat should be only an input file defined in jobs/JGLOBAL_ATMOS_VMINMON. This implies the following modifications:
20 YMD=${PDY} HH=${cyc} declare_from_tmpl -rx
21 COMIN_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL
22 COMOUT_ATMOS_MINMON:COM_ATMOS_MINMON_TMPL
23
24 YMD=${gPDY} HH=${gcyc} declare_from_tmpl -rx
25 COMOUT_ATMOS_MINMON_PREV:COM_ATMOS_MINMON_TMPL
26
27 export gsistat="${COMIN_ATMOS_ANALYSIS}/${RUN}.t${cyc}z.gsistat"
28 export M_TANKverf=${M_TANKverf:-${COMOUT_ATMOS_MINMON}}
29 export M_TANKverfM1=${M_TANKverfM1:-${COMOUT_ATMOS_MINMON_PREV}}
30
31 if [[ ! -d ${M_TANKverf} ]]; then mkdir -p "${M_TANKverf}" ; fi
32 if [[ ! -d ${M_TANKverfM1} ]]; then mkdir -p "${M_TANKverfM1}" ; fi
33
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.
What modifications are you proposing? That looks like what is there now.