Skip to content
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

GLDAS script check for spinup time #19

Open
CatherineThomas-NOAA opened this issue Feb 8, 2021 · 0 comments
Open

GLDAS script check for spinup time #19

CatherineThomas-NOAA opened this issue Feb 8, 2021 · 0 comments

Comments

@CatherineThomas-NOAA
Copy link

The current JGDAS_ATMOS_GLDAS job script checks if the current cycle is within a certain timeframe of SDATE and skips gldas if it is:

xtime=$((gldas_spinup_hours+12))
if [ $CDATE -le $($NDATE +$xtime $SDATE) ]; then
    echo "GLDAS needs fluxes as forcing from cycles in previous $xtime hours"
    echo "starting from $SDATE. This gldas cycle is skipped"
    exit 0
fi

The first cycles get skipped even if the needed flux files are available. This can become problematic, for example if you are trying to reproduce operations.

It would be helpful if this check could see if the needed flux files are available and run gldas if they are, even if it is within ($gldas_spinup_hours+12) hours of SDATE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant