Published May 28, 2021
| Version v0.27.0
Software
Open
Ouranosinc/xclim: v0.27.0
Authors/Creators
- 1. Ouranos
- 2. @Ouranosinc
- 3. @jakarto3d
- 4. STFC CEDA
Description
New features and enhancements
- Rewrite of nearly all adjustment methods in
sdba, with use ofxr.map_blocksto 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_ufuncoption 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_yamlwith theindiceskeyword. - Virtual submodules now include an
iter_indicatorsfunction 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_outputoption to adds extra diagnostic variables to the outputs of Adjustment objects. Implementation ofsim_qin QuantileDeltaMapping andnclustersin ExtremeValues.
- The
tropical_nightsindice is being deprecated in favour oftn_days_abovewiththresh="20 degC". The indicator remains valid, now wrapping this new indice. - Results of
sdba.Grouper.applyforGroupers without a group (ex:Grouper('time')) will contain agroupsingleton dimension. - The
daily_freezethaw_cyclesindice is being deprecated in favour ofmultiday_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:
sweis nowsnw(snwis the snow amount [kg / m²] andswethe liquid water equivalent thickness [m])rhis nowhursdtasis nowtdpsws(in FWI) is nowsfcWindsicis nowsiconcarea(of sea ice indicators) is nowareacello- Indicators
RHandRH_FROMDEWPOINThave be renamed toHURSandHURS_FROMDEWPOINT. These are changes in the identifiers, the python names (relative_humidity[...]) are unchanged.
atmos.corn_heat_unitscomputes the daily temperature-based index for corn growth.- New indices and indicators for
tx_days_below,tg_days_above,tg_days_below, andtn_days_above. atmos.humidexreturns the Canadian humidex, an indicator of perceived temperature account for relative humidity.multiday_temperature_swingindice for returning general statistics based on spells of doubly-thresholded temperatures (Tmin < T1, Tmax > T2).- New indicators
atmos.freezethaw_frequency,atmos.freezethaw_spell_mean_length,atmos.freezethaw_spell_max_lengthfor statistics of Tmin < 0 degC and Tmax > 0 deg C days now available (wrapped frommultiday_temperature_swing). atmos.wind_chill_indexcomputes the daily wind chill index. The default is similar to what Environment and Climate Change Canada does, options are tunable to get the version of the National Weather Service.
run_length.rle_statisticsnow accepts awindowargument.- Common arguments to the
opparameter now have better adjective and noun formattings. - Added and adjusted typing in call signatures and docstrings, with grammar fixes, for many
xclim.indicesoperations.
Files
Ouranosinc/xclim-v0.27.0.zip
Files
(521.9 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:fcc560346b7a127a478cd13c5c9ec334
|
521.9 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/Ouranosinc/xclim/tree/v0.27.0 (URL)