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

Move hardcoded last forecast day to configuration #23

Open
bartnijssen opened this issue Sep 19, 2012 · 0 comments
Open

Move hardcoded last forecast day to configuration #23

bartnijssen opened this issue Sep 19, 2012 · 0 comments

Comments

@bartnijssen
Copy link
Owner

https://github.com/bartnijssen/uw-hydro-forecast/blob/master/tools/bin/process_flux_and_rout_output.pl

## Usage <CURRFCST> <LASTFCST> <BAS> <COMMON_DIR> <XYZZDIR> <XYZZFILE> <PLOTDIR> <PLOT_SCRIPT>
### Assuming that last forecast was made a week before the current one
### Should not be hardcoded!!
($L_fcst_yr, $L_fcst_mon, $L_fcst_day) = Add_Delta_Days($Cyr, $Cmon, $Cday, -7); 
$LAST_FCST_DATE = sprintf("%04d%02d%02d",$L_fcst_yr, $L_fcst_mon, $L_fcst_day);
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