What’s New

v2.4.1

Bug fixes

  • Move from collections import Iterable to from collections.abc import Iterable for compatibility with newer python versions

v2.4.0

Enchancements

  • 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 to passthrough in the configuration

v2.3.3

Bug fixes

  • Fix a bug in use of alternate calendars due to xarray change

v2.3.2

Bug fixes

  • Fix a bug in ascii input reading due to pandas change

Enhancements

  • Drastically speed up PITRI precipitation disaggregation

v2.3.1

Bug fixes

  • Fixed an error in unit conversions for vapor pressure
  • Fixed documentation on vapor pressure units

v2.3.0

Enhancements

  • 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

Bug fixes

  • Fixed a bug where utc_offset causes radiation to be incorrectly scaled

v2.2.2

Bug fixes

  • Fixed bug where utc_offset doesn’t get converted to the correct boolean when reading the configuration.

v2.2.l

Bug fixes

  • 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

v2.2.0

Enhancements

  • 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)

Bug fixes

  • 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.

v.2.1.1

Enhancements

  • Allow for --version flag on command-line.

v.2.0.1

Enhancements

  • Allow for specification of constant fields, through addition of an optional constant_vars section.

v.2.0.0

Enhancements

  • 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.

Bug fixes

  • Disallow timesteps > 6 hours, which raised errors.
  • Raise error when t_min > t_max at beginning of runtime.

v.1.1.1

Enhancements

Bug fixes

  • 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 GH132. By Andrew Bennett.

v1.1.0

Enhancements

  • Added option to use forcing start/stop dates to define run length (GH93). By Joe Hamman.
  • Added option a flexible time grouper when chunking MetSim runs (GH93). By Joe Hamman.
  • Improved configuration validation by checking for correctness of output variables (GH96) By Andrew Bennett.
  • Added option to skip reading swe variable from state file if it is not going to be used by MtClim. (GH103). By Joe Hamman.
  • Added support for supplying a glob-like file path or multiple input forcing files (netCDF) (GH126). By Joe Hamman.
  • Refactored mtclim and disaggregate functions to reduce interdependency and increase modularity. By Andrew Bennett.
  • Removed swe calculations. By Andrew Bennett.

Bug fixes

  • Fixed bug where output files were not written with the appropriate calendar encoding attribute (GH97). 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. (GH110). By Joe Hamman.
  • Fixed a bug during disaggregation when t_min > t_max. This now raises an exception. By Andrew Bennett.