Ouranosinc/xclim: v0.27.0

New features and enhancements Rewrite of nearly all adjustment methods in sdba, with use of xr.map_blocks to improve scalability with dask. Rewrite of some parts of the algorithms with numba-accelerated code. "GFWED" specifics for fire weather computation implemented back into the FWI modu...

Full description

Bibliographic Details
Main Authors: Pascal Bourgault, Trevor James Smith, David Huard, Travis Logan, sbiner, Marie-Pier Labonté, RondeauG, Philippe Roy, MacPingu, David Caron, Ag Stephens, Christopher Whelan, jwenfai
Format: Software
Language:unknown
Published: 2021
Subjects:
Online Access:https://zenodo.org/record/4850612
https://doi.org/10.5281/zenodo.4850612
Description
Summary:New features and enhancements Rewrite of nearly all adjustment methods in sdba, with use of xr.map_blocks to improve scalability with dask. Rewrite of some parts of the algorithms with numba-accelerated code. "GFWED" specifics for fire weather computation implemented back into the FWI module. Outputs are within 3% of GFWED data. Addition of the run_length_ufunc option to control which run length algorithm gets run. Defaults stay the same (automatic switch dependent of the input array : the 1D version is used with non-dask arrays with less than 9000 points per slice). Indicator modules built from YAML can now use custom indices. A mapping or module of them can be given to build_indicator_module_from_yaml with the indices keyword. Virtual submodules now include an iter_indicators function to iterate over the pairs of names and indicator objects in that module. The indicator string formatter now accepts a "r" modifier which passes the raw strings instead of the adjective version. Addition of the sdba_extra_output option to adds extra diagnostic variables to the outputs of Adjustment objects. Implementation of sim_q in QuantileDeltaMapping and nclusters in ExtremeValues. Breaking changes The tropical_nights indice is being deprecated in favour of tn_days_above with thresh="20 degC". The indicator remains valid, now wrapping this new indice. Results of sdba.Grouper.apply for Groupers without a group (ex: Grouper('time')) will contain a group singleton dimension. The daily_freezethaw_cycles indice is being deprecated in favour of multiday_temperature_swing`` with temp thresholds at 0 degC andwindow=1, op="sum"`. The indicator remains valid, now wrapping this new indice. CMIP6 variable names have been adopted whenever possible in xclim. Changes are: swe is now snw (snw is the snow amount [kg / m²] and swe the liquid water equivalent thickness [m]) rh is now hurs dtas is now tdps ws (in FWI) is now sfcWind sic is now siconc area (of sea ice indicators) is now areacello Indicators RH and RH_FROMDEWPOINT have be renamed ...