MetSim
- Move from collections import Iterable to from collections.abc import Iterable for compatibility with newer python versions
- Allow for passing already estimated met variables (such as shortwave and/or longwave radiation) through to the disaggregation routines. This functionality can be accessed by setting the
method
topassthrough
in the configuration
- Fix a bug in use of alternate calendars due to xarray change
- Fix a bug in ascii input reading due to pandas change
- Drastically speed up PITRI precipitation disaggregation
- Fixed an error in unit conversions for vapor pressure
- Fixed documentation on vapor pressure units
- Allow for variable renaming in INI configuration files.
- Added capability for new YAML configuration file format
- Added capability simple unit conversions on output when using the YAML configuration file format
- Fixed a bug where utc_offset causes radiation to be incorrectly scaled
- Fixed bug where utc_offset doesn't get converted to the correct boolean when reading the configuration.
- Fixed bug where timestamps got duplicated for sub-hourly disaggregation time periods
- Fixed bug where polar latitudes caused error in setting the rise and set times for temperature disaggregation
- Can now specify
period_ending
in the configuration to move timestamps to end of period instead of beginning of period - Addition of tutorial in README.md and main documentation
- Addition of paper to be submitted to JOSS
v.2.1.2 (under development) ---------
- Can now handle dimensions without coordinate variables, which previously caused a bug in the chunk selection of the worker processes. The fix is to simply add a sequential coordinate any time this occurs.
- Allow for
--version
flag on command-line.
- Allow for specification of constant fields, through addition of an optional
constant_vars
section.
- Implemented UTC offsets, which puts all gridcell times in reference to UTC.
- Moved parallelism to dask, which allows for greater scalability and significantly less memory overhead.
- Disallow timesteps > 6 hours, which raised errors.
- Raise error when t_min > t_max at beginning of runtime.
- Added option to disaggregate precipitation via a triangular hyetograph. (
42
). By Kristen Whitney and Theodore Bohn.
- Fixed a bug where if iter_dims is not [lat, lon] the selected lat value that goes into solar_geom ends up as a list. The fix is also added for elevation and longitude, for redundancy. Fixes
132
. By Andrew Bennett.
- Added option to use forcing start/stop dates to define run length (
93
). By Joe Hamman. - Added option a flexible time grouper when chunking MetSim runs (
93
). By Joe Hamman. - Improved configuration validation by checking for correctness of output variables (
96
) By Andrew Bennett. - Added option to skip reading
swe
variable from state file if it is not going to be used by MtClim. (103
). By Joe Hamman. - Added support for supplying a glob-like file path or multiple input forcing files (netCDF) (
126
). By Joe Hamman. - Refactored
mtclim
anddisaggregate
functions to reduce interdependency and increase modularity. By Andrew Bennett. - Removed
swe
calculations. By Andrew Bennett.
- Fixed bug where output files were not written with the appropriate calendar encoding attribute (
97
). By Joe Hamman. - Fixed a bug where invalid timesteps were used in subdaily disaggregation. Added a clear error message explaining that subdaily timesteps must be evenly divisible into 24 hours and less than 6 hours in length. (
110
). By Joe Hamman. - Fixed a bug during disaggregation when
t_min > t_max
. This now raises an exception. By Andrew Bennett.