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

Remove hardwired paths #26

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

Remove hardwired paths #26

bartnijssen opened this issue Sep 25, 2012 · 0 comments

Comments

@bartnijssen
Copy link
Owner

update_forcings_asc_advance_state.pl

# HACK -- not sure why these hardwired paths are here - Bart 
# Should be moved to config Tue Sep 25 14:20:12 PDT 2012
$RetroForcDir = $var_info_project{"FORCING_RETRO_DIR"} . "/asc_vicinp";
$CurrForcDir  = $var_info_project{"FORCING_CURRSPIN_DIR"} . "/asc_vicinp";
$ParamsDirRegrid  = $var_info_project{"PARAMS_DIR"} . "/regrid";

advance_state.pl

$LogDir = $var_info_project{"LOGS_CURRSPIN_DIR"} . "/advance_state";

update_forcings_nc.pl

# HACK -- not sure why these hardwired paths are here - Bart
# Should be moved to config Tue Sep 25 2012
$ForcAscVicDir = $var_info_project{"FORCING_CURRSPIN_DIR"} . "/asc_vicinp";
$ForcAscDisDir = $var_info_project{"FORCING_CURRSPIN_DIR"} . "/asc_disagg";
$ForcNCDir     = $var_info_project{"FORCING_CURRSPIN_DIR"} . "/nc";
...
# Needs to go to config - Bart - Tue Sep 25 2012
$prefix = "full_data";          # Put this in config file?
$cmd = "$TOOLS_DIR/run_vic2nc.pl $TOOLS_DIR " .
  "$ParamsDir/vic2nc/metadata.forcing.template $ControlDir/vic2nc " . 
  "$ForcAscDisDir $ForcNCDir $start_date_str $end_date_str $prefix " .
  ">& $LogFile.tmp; cat $LogFile.tmp >> $LogFile";
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