@@ -57,10 +57,11 @@ current implementation only supports ``mtclim``.
5757``out_precision :: str ``: Precision to use when writing output. Defaults to
5858``f8 ``. Can be either ``f4 `` or ``f8 ``.
5959
60- ``annual :: bool ``: Whether to chunk up the timeseries into years for
60+ ``time_grouper :: str ``: Whether to chunk up the timeseries into pieces for
6161processing. This option is useful to set for when you are limited on
62- memory. Each year of output is written as ``{out_prefix}_{year} `` when
63- active.
62+ memory. Each chunk of output is written as ``{out_prefix}_{date_range} `` when
63+ active. Any valid ``pandas.TimeGrouper `` string may be used (e.g. use '10AS'
64+ for 10 year chunks).
6465
6566``iter_dims :: list ``: The dimensions of input data to iterate over to
6667accumulate sites. Defaults to ``['lat', 'lon'] ``.
@@ -75,6 +76,11 @@ account when simulating incoming shortwave radiation. Defaults to ``0``.
7576``mtclim_swe_corr :: bool ``: Whether to activate MtClim's SWE correction
7677algorithm. Default to ``False ``.
7778
79+ ``utc_offset :: bool ``: Whether to use UTC timecode offsets for shifting
80+ timeseries. Without this option all times should be considered local to
81+ the gridcell being processed. Large domain runs probably want to set this
82+ option to ``True ``.
83+
7884``lw_cloud :: str ``: Type of cloud correction to longwave radiation to apply.
7985Can be either ``DEFAULT `` or ``CLOUD_DEARDORFF ``. Defaults to
8086``CLOUD_DEARDORFF ``. Capitalization does not matter.
@@ -109,7 +115,7 @@ Defaults to ``0.45``, range should be between ``0`` and ``1``.
109115``out_vars :: list `` : List of variables to write to output. Should be a list
110116containing valid variables. The list of valid variables is dependent on which
111117simulation method is used, as well as whether disaggregation is used. Defaults
112- to ``['temp', 'prec', 'shortwave', 'longwave', 'vapor_pressure', 'red_humid '] ``.
118+ to ``['temp', 'prec', 'shortwave', 'longwave', 'vapor_pressure', 'rel_humid '] ``.
113119For more information about input and output variables see the :ref: `data ` page.
114120
115121forcing_vars and state_vars section
@@ -126,7 +132,7 @@ netcdf and data
126132The ``in_vars `` section for NetCDF and xarray input acts as a mapping between the variable
127133names in the input dataset to the variable names expected by MetSim. The format
128134is given as ``netcdf_varname = metsim_varname ``. The minimum required variables
129- given have ``metsim_varname``s corresponding to ``t_min ``, ``t_max ``, and
135+ given have ``metsim_varname ``\ s corresponding to ``t_min ``, ``t_max ``, and
130136``prec ``; these variable names correspond to minimum daily temperature (Celcius),
131137maximum daily temperature (Celcius), and precipitation (mm/day).
132138
@@ -148,7 +154,7 @@ input style. Each line is specified as ``varname = scale cdatatype``, where
148154floating point scaling factor that should be applied after conversion from
149155binary to floating point; the conversion applied by the ``scale `` is applied
150156after the value in the input is converted from binary to the ``cdatatype ``
151- specified for each variable. Valid ``cdatatype``s are ``signed `` and
157+ specified for each variable. Valid ``cdatatype ``\ s are ``signed `` and
152158``unsigned ``. ``signed `` values are interpreted as values which can be positive
153159or negative, whereas ``unsigned `` values are interpreted as values that can only
154160be greater than or equal to zero.
@@ -159,6 +165,6 @@ The ``domain_vars`` section is where information about the domain file is given.
159165Since the domain file is given as a NetCDF file this section has a similar
160166format to that of the NetCDF input file format described above. That is,
161167entries should be of the form ``netcdf_varname = metsim_varname ``. The minimum
162- required variables have ``metsim_varname``s corresponding to ``lat ``, ``lon ``,
168+ required variables have ``metsim_varname ``\ s corresponding to ``lat ``, ``lon ``,
163169``mask ``, and ``elev ``; these variable names correspond to latitude, longitude,
164170a mask of valid cells in the domain, and the elevation given in meters.
0 commit comments