-
Notifications
You must be signed in to change notification settings - Fork 2
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 to GBBPEx v005 #55
Conversation
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.
Shellcheck flagged a syntax error with nested brackets for (potential) misuse of logical operators, can you let me know if this suggestion works?
jobs/rocoto/prepchem.sh
Outdated
@@ -109,12 +109,18 @@ for n in $(seq 1 6); do | |||
else | |||
|
|||
if [ ${SYEAR} -eq 2016 -o ${emiss_date1} -ge 20230115 ]; then ## JKH - change date | |||
if [ ${emiss_date1} -ge 20230509 ]; then ## JKH - change date | |||
if [ [ ${emiss_date1} -ge 20230509 ] && [ ${emiss_date1} -le 20240501 ] ]; then ## JKH - change date |
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.
if [ [ ${emiss_date1} -ge 20230509 ] && [ ${emiss_date1} -le 20240501 ] ]; then ## JKH - change date | |
if [[ ${emiss_date1} -ge 20230509 && ${emiss_date1} -le 20240501 ]]; then ## JKH - change date |
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 have updated. How can I do now?
# SO2=GBBEPx.so2.${SYEAR}${nmonth}${nday}.FV3.${CASE}Grid.tile${n}.bin | ||
# FRP=meanFRP.${SYEAR}${nmonth}${nday}.FV3.${CASE}Grid.tile${n}.bin | ||
#fi | ||
if [ ${SYEAR} -eq 2016 -o ${emiss_date1} -ge 20230115 ]; then ## JKH - change date |
Check warning
Code scanning / shellcheck
Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. Warning
Shell check was successful, so I'm merging this PR |
No, it is has issue. I fixed one more time.
|
@jderrico-noaa I think I need to submit one more PR, the previous did not work. |
This reverts commit 924deee.
Description
Type of change
Change characteristics
How has this been tested?
Checklist