# build the UCI and output WDM files hspfmodel.build_uci(targets, start, end, atemp = True, snow = True, hydrology = True) # run it hspfmodel.run(verbose = True) # use the Postprocessor to analyze and save the results dates = start + datetime.timedelta(days = warmup), end postprocessor = Postprocessor(hspfmodel, dates, comid = comid) postprocessor.get_hspexp_parameters(verbose = False) postprocessor.plot_hydrograph(tstep = 'monthly', show = False, output = '{}/hydrography'.format(calibration)) postprocessor.plot_calibration(output = '{}/statistics'.format(calibration), show = False) postprocessor.plot_runoff(tstep = 'daily', show = False, output = '{}/runoff'.format(calibration)) output = '{}/calibration_report.csv'.format(calibration) postprocessor.calibration_report(output = output) postprocessor.plot_snow(output = '{}/snow'.format(calibration), show = False) postprocessor.plot_dayofyear(output = '{}/dayofyear'.format(calibration), show = False) postprocessor.plot_storms(season = 'all', show = False, output = '{}/storms'.format(calibration))
atemp=True, snow=True, hydrology=True) # run it simplified.run(verbose=True) # use the Postprocessor to analyze and save the results to the folder dates = start + datetime.timedelta(days=warmup), end postprocessor = Postprocessor(simplified, dates, comid=comid) postprocessor.get_hspexp_parameters(verbose=False) postprocessor.plot_hydrograph(tstep='monthly', show=False, output='{}/hydrography'.format(output)) postprocessor.plot_calibration(output='{}/statistics'.format(output), show=False) postprocessor.plot_runoff(tstep='daily', show=False, output='{}/runoff'.format(output)) report = '{}/output_report.csv'.format(output) postprocessor.calibration_report(output=report) postprocessor.plot_dayofyear(output='{}/dayofyear'.format(output), show=False) postprocessor.plot_storms(season='all', show=False, output='{}/storms'.format(output)) postprocessor.plot_snow(output='{}/snow'.format(output), show=False)
# build the UCI and output WDM files simplified.build_uci(targets, start, end, atemp = True, snow = True, hydrology = True) # run it simplified.run(verbose = True) # use the Postprocessor to analyze and save the results to the folder dates = start + datetime.timedelta(days = warmup), end postprocessor = Postprocessor(simplified, dates, comid = comid) postprocessor.get_hspexp_parameters(verbose = False) postprocessor.plot_hydrograph(tstep = 'monthly', show = False, output = '{}/hydrography'.format(output)) postprocessor.plot_calibration(output = '{}/statistics'.format(output), show = False) postprocessor.plot_runoff(tstep = 'daily', show = False, output = '{}/runoff'.format(output)) report = '{}/output_report.csv'.format(output) postprocessor.calibration_report(output = report) postprocessor.plot_dayofyear(output = '{}/dayofyear'.format(output), show = False) postprocessor.plot_storms(season = 'all', show = False, output = '{}/storms'.format(output)) postprocessor.plot_snow(output = '{}/snow'.format(output), show = False)
hspfmodel.build_uci(targets, start, end, atemp=True, snow=True, hydrology=True) # run it hspfmodel.run(verbose=True) # use the Postprocessor to analyze and save the results dates = start + datetime.timedelta(days=warmup), end postprocessor = Postprocessor(hspfmodel, dates, comid=comid) postprocessor.get_hspexp_parameters(verbose=False) postprocessor.plot_hydrograph(tstep='monthly', show=False, output='{}/hydrography'.format(preliminary)) postprocessor.plot_calibration(output='{}/statistics'.format(preliminary), show=False) #postprocessor.plot_runoff(tstep = 'daily', show = False, # output = '{}/runoff'.format(preliminary)) output = '{}/calibration_report.csv'.format(preliminary) postprocessor.calibration_report(output=output) postprocessor.plot_snow(output='{}/snow'.format(preliminary), show=False) postprocessor.plot_dayofyear(output='{}/dayofyear'.format(preliminary), show=False)
# build the UCI and output WDM files hspfmodel.build_uci(targets, start, end, atemp = True, snow = True, hydrology = True) # run it hspfmodel.run(verbose = True) # use the Postprocessor to analyze and save the results dates = start + datetime.timedelta(days = warmup), end postprocessor = Postprocessor(hspfmodel, dates, comid = comid) postprocessor.get_hspexp_parameters(verbose = False) postprocessor.plot_hydrograph(tstep = 'monthly', show = False, output = '{}/hydrography'.format(preliminary)) postprocessor.plot_calibration(output = '{}/statistics'.format(preliminary), show = False) #postprocessor.plot_runoff(tstep = 'daily', show = False, # output = '{}/runoff'.format(preliminary)) output = '{}/calibration_report.csv'.format(preliminary) postprocessor.calibration_report(output = output) postprocessor.plot_snow(output = '{}/snow'.format(preliminary), show = False) postprocessor.plot_dayofyear(output = '{}/dayofyear'.format(preliminary), show = False)