ensemble module¶
Class definition for the ensemble interface
-
class
ensemble.
Ensemble
(nens, dbname, resolution, startyear, startmonth, startday, endyear, endmonth, endday, name='')[source]¶ -
initialize
(options, basin, method, vicexe, saveindb=False, saveto='db', saveargs=[], overwrite=True, skipsave=0, initdays=90)[source]¶ Initialize ensemble of VIC models using one of three methods: 1) deterministic (default): each ensemble member has an identical state 2) random: each ensemble member gets a random day from climatology 3) perturb: perturb precipitation and temperature
-
perturb
(prec, tmax, tmin, wind, nens=None, perr=0.25, terr=2.0)[source]¶ Perturb meteorological forcings.
-
save
(saveto, args, initialize=True)[source]¶ Reads and saves selected output data variables from the ensemble into the database or a user-defined directory.
-
setDates
(startyear, startmonth, startday, endyear, endmonth, endday)[source]¶ Set simulation dates for entire ensemble.
-