Skip to content

0.3.1

Compare
Choose a tag to compare
@BSchilperoort BSchilperoort released this 15 Feb 12:47
· 71 commits to main since this release

Changed

  • lilio.resample will now return xr.DataArray if the input is xr.DataArray.
  • For compatibility with DataArray output, the Dataset/DataArray returned by resample now has the coordinates "left_bound" and "right_bound" instead of a single "intervals" coordinate with the "bounds" dimension.
  • If your input data has an frequency of less than twice the Calendar's smallest interval length, a UserWarning will be raised.
  • If your input data has a frequency less than the Calendar's smallest interval length, a ValueError will be raised.
  • In the output of resample(), the column/coordinate target has been renamed to is_target to avoid clashing with a possibly commonly used name by users.
  • The input data into resample() is now checked for the existance of reserved names, such as "anchor_year" or "i_interval", to avoid overwriting these and cause unpredictable behavior.