@@ -38,7 +38,7 @@ the ``forcing`` entry. Can be one of the following: ``ascii``, ``binary``,
3838
3939**Optional Variables **
4040
41- ``output_prefix :: str ``: The output file base name. Defaults to ``forcing ``.
41+ ``out_prefix :: str ``: The output file base name. Defaults to ``forcing ``.
4242
4343``out_precision :: str ``: Precision to use when writing output. Defaults to
4444``f8 ``. Can be either ``f4 `` or ``f8 ``.
@@ -183,3 +183,27 @@ a mask of valid cells in the domain, and the elevation given in meters. If
183183``prec_type `` = ``triangle `` or ``mix ``, two additonal variables are required
184184including ``dur `` and ``t_pk `` for disaggregating daily precipitation according
185185to the "triangle" method.
186+
187+ constant_vars section
188+ -------------------
189+ The ``constant_vars `` section is optional and allows you to set some of the
190+ forcing inputs to a constant value. The specification simply consists of entries
191+ of the form ``metsim_varname = value ``, where ``value `` is a number that can be
192+ converted to a double. There can only be one entry per line. If the
193+ ``metsim_varname `` corresponds to an entry that is already in the ``forcing_vars ``
194+ section, then the constant value will take precedence. In the current
195+ implementation there must be at least one non-constant entry in ``forcings_vars ``
196+ (i.e. at least one entry that is not also in ``constant_vars ``).
197+
198+ For example:
199+ ``wind = 2.0 ``
200+ will result in a constant wind field in the output file. In this case ``wind ``
201+ does not need to be specified in the ``forcing_vars `` section. If it was, it
202+ will still be set to a constant value of 2 m/s.
203+
204+ Similarly:
205+ ``t_max = 30
206+ t_min = 10 ``
207+ will result in output with a diurnal cycle in which the temperature varies at
208+ all locations between 10C and 30C. However, all estimation and disaggregation
209+ routines are still evaluated, with constant ``t_max `` and ``t_min `` as input.
0 commit comments