Skip to main content

History

0.16.x

  • Allow lazy units conversion

  • CRS definitions of projected DataSets are now written to file according to Climate and Forecast-convention standards

  • Add utilities to merge attributes and update history in xclim.core.formatting

  • Ensembles : Allow alignment of datasets with same frequency but different offsets

  • Bug fixes in run_length for run-with-dates methods when the date is not found in the run.

  • Remove deepcopy from subset.subset_shape to improve memory usage.

0.15.x (2020-03-12)

  • Improvement in FWI: Vectorization of DC, DMC and FFMC with numba and small code refactoring for better maintainability.

  • Added example notebook for creating a catalog of selected indices

  • Added growing_season_end, last_spring_frost, dry_days, hot_spell_frequency, hot_spell_max_length, and maximum_consecutive_frost_free_days indices.

  • Dropped use of fiona.crs class in lieu of the newer pyproj CRS handler for subset_shape operations.

  • Complete internal reorganization of xclim.

  • Internationalization of xclim : add locales submodule for localized metadata.

  • Add feature to retrieve coordinate values instead of index in run_length.first_run. Add run_length.last_run.

  • Fix bug in subset_gridpoint to work on lat/lon coords of any dimension when they are not a dimension of the data.

0.14.x (2020-02-21)

  • Refactoring of the documentation.

  • Added support for pint 0.10

  • Add atmos.heat_wave_total_length (fixing a namespace issue)

  • Fixes in utils.percentile_doy and indices.winter_rain_ratio for multidimensionnal datasets.

  • Rewrote the subset.subset_shape function to allow for dask.delayed (lazy) computation.

  • Added utility functions to compute time_bnds when resampling data encoded with CFTimeIndex (non-standard calendars).

  • Fix in subset.subset_gridpoint for dask array coordinates.

  • Modified subset_shape to support subsetting with GeoPandas datatypes directly.

  • Fix in subset.wrap_lons_and_split_at_greenwich to preserve multi-region dataframes.

  • Improve the memory use of indices.growing_season_length.

  • Better handling of data with atypically named lat and lon dimensions.

  • Added six Fire Weather indices.

0.13.x (2020-01-10)

  • Documentation improvements: list of indicators, RTD theme, notebook example.

  • Added sea_ice_extent and sea_ice_area indicators.

  • Reverted #311, removing the _rolling util function. Added optimal keywords to rolling() calls.

  • Fixed ensembles.create_ensemble errors for builds against xarray master branch.

  • Reformatted code to make better use of Python3.6 conventions (f-strings and object signatures).

  • Fixed randomly failing tests of checks.missing_any.

  • Improvement of ensemble.ensemble_percentile and ensemble.create_ensemble.

0.12.x-beta (2019-11-18)

  • Added a distance function computing the geodesic distance to a point.

  • Added a tolerance argument to subset_gridpoint raising an error if distance to closest point is larger than tolerance.

  • Created land module for standardized access to streamflow indices.

  • Enhancement to utils.Indicator to have more dynamic attributes using callables.

  • Added indices heat_wave_total_length and tas / tg to average tasmin and tasmax into tas.

  • Fixed a bug with typed call signatures that caused downstream failures on library import.

  • Added a _rolling util function to fix memory issues on large dask datasets.

  • Added the subset_shape function to subset utilities for clipping region-masked datasets via polygons.

  • Fixed a bug where certain dependencies caused ReadTheDocs builds to fail.

  • Added many statically typed function signatures for better function documentation.

  • Improved DeprecationWarnings and UserWarnings ensemble for xclim subsetting functions.

  • Dropped support for Python3.5.

0.11.x-beta (2019-10-17)

  • Added type hinting to call signatures of many functions for more explicit type-checking.

  • Added Kmeans clustering ensemble reduction algorithms.

  • Added utilities for converting between wind velocity (sfcWind) and wind components (uas, vas) arrays.

  • Added type hinting to call signatures of many functions for more explicit type-checking.

  • Now supporting explicit builds for Windows OS via Travis CI.

  • Fix failing test with Python 3.7.

  • Fixed bug in subset.subset_bbox that could add unwanted coordinates/dims to some variables when applied to an entire dataset.

  • Reformatted packaging configuration to pure Py3 wheel that ignore tests and test data.

  • Now officially supporting Python3.8!

  • Enhancement to precip_accumulation() to allow estimated amounts solid (or liquid) phase precipitation.

  • Bugfix for frequency analysis choking on time series with NaNs only.

0.10.x-beta (2019-06-18)

  • Added indices to ICCLIM module.

  • Added indices days_over_precip_thresh and fraction_over_precip_thresh.

  • Migrated to a major.minor.patch-release semantic versioning system.

  • Removed attributes in netCDF output from Indicators that are not in the CF-convention.

  • Added fit indicator to fit the parameters of a distribution to a series.

  • Added utilities with ensemble, run length, and subset algorithms to the documentation.

  • Source code development standards now implement Python Black formatting.

  • Pre-commit is now used to launch code formatting inspections for local development.

  • Documentation now includes more detailed usage and an example workflow notebook.

  • Development build configurations are now available via both Anaconda and pip install methods.

  • Modified create_ensembles() to allow creation of ensemble dataset without a time dimension as well as from xr.Datasets.

  • Modified create ensembles() to pad input data with nans when time dimensions are unequal.

  • Updated subset_gridpoint() and subset_bbox() to use .sel method if ‘lon’ and ‘lat’ dims are present.

  • Added Azure Pipelines to automatically build xclim in Microsoft Windows environments.REMOVED

  • Now employing PEP8 + Black compatible autoformatting.

  • Added Windows and macOS images to Travis CI build ensemble.

  • Added variable thresholds for tasmax and tasmin in daily_freezethaw_events.

  • Updated subset.py to use date formatted strings (“%Y”, “%Y%m” etc.) in temporal subsetting.

  • Clean-up of day-of-year resampling. Precipitation percentile threshold will work without a doy index.

  • Addressed deprecations for xarray 0.13.0.

  • Added a decorator function that verifies validity and reformats subset calls using start_date or end_date signatures.

  • Fixed a bug where ‘lon’ or ‘lon_bounds’ would return false values if either signatures were set to 0.

0.10-beta (2019-06-06)

  • Dropped support for Python 2.

  • Added support for period of the year subsetting in checks.missing_any.

  • Now allow for passing positive longitude values when subsetting data with negative longitudes.

  • Improved runlength calculations for small grid size arrays via ufunc_1dim flag.

0.9-beta (2019-05-13)

This is a significant jump in the release. Many modifications have been made and will be added to the documentation in the coming days. Among the many changes:

  • New indices have been added with documentation and call examples.

  • Run_length based operations have been optimized.

  • Support for CF non-standard calendars.

  • Automated/improved unit conversion and management via pint library.

  • Added ensemble utilities for creation and analysis of muti-model climate ensembles.

  • Added subsetting utilities for spatio-temporal subsets of xarray data objects.

  • Added streamflow indicators.

  • Refactoring of the code : separation of indices.py into a directory with sub-files (simple, threshold and multivariate); ensembles and subset utilities separated into distinct modules (pulled from utils.py).

  • Indicators are now split into packages named by realms. import xclim.atmos to load indicators related to atmospheric variables.

0.8-beta (2019-02-11)

This was a staging release and is functionally identical to 0.7-beta.

0.7-beta (2019-02-05)

Major Changes:

  • Support for resampling of data structured using non-standard CF-Time calendars.

  • Added several ICCLIM and other indicators.

  • Dropped support for Python 3.4.

  • Now under Apache v2.0 license.

  • Stable PyPI-based dependencies.

  • Dask optimizations for better memory management.

  • Introduced class-based indicator calculations with data integrity verification and CF-Compliant-like metadata writing functionality.

Class-based indicators are new methods that allow index calculation with error-checking and provide on-the-fly metadata checks for CF-Compliant (and CF-compliant-like) data that are passed to them. When written to NetCDF, outputs of these indicators will append appropriate metadata based on the indicator, threshold values, moving window length, and time period / resampling frequency examined.

0.6-alpha (2018-10-03)

  • File attributes checks.

  • Added daily downsampler function.

  • Better documentation on ICCLIM indices.

0.5-alpha (2018-09-26)

  • Added total precipitation indicator.

0.4-alpha (2018-09-14)

  • Fully PEP8 compliant and available under MIT License.

0.3-alpha (2018-09-4)

  • Added icclim module.

  • Reworked documentation, docs theme.

0.2-alpha (2018-08-27)

  • Added first indices.

0.1.0-dev (2018-08-23)

  • First release on PyPI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xclim-0.15.2.tar.gz (35.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xclim-0.15.2-py3-none-any.whl (100.6 kB view details)

Uploaded Python 3

File details

Details for the file xclim-0.15.2.tar.gz.

File metadata

  • Download URL: xclim-0.15.2.tar.gz
  • Upload date:
  • Size: 35.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200311 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for xclim-0.15.2.tar.gz
Algorithm Hash digest
SHA256 e07a33eb077252d36c23998e21bd21943deb716e979abdcdfde5cdb6504cb357
MD5 0bfb003b0a12edfc8b96160f51e49957
BLAKE2b-256 2ab43d7ef8514fb1480b98b3d376fa37f1d9ef23a9a87bb11456b18c0dfff99f

See more details on using hashes here.

File details

Details for the file xclim-0.15.2-py3-none-any.whl.

File metadata

  • Download URL: xclim-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 100.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200311 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for xclim-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68abc501a23043fc78e3da094af359bab4e82d82230018504578633d68eef859
MD5 05f917d47e1b8dc8d19d3b54910dfc2d
BLAKE2b-256 ab2879c9870c619e27206afe57a2f0faee9b6f0100e864664c154b2f95567f28

See more details on using hashes here.

Release history Release notifications | RSS feed

0.62.0

2 files

0.61.1

2 files

0.61.0

2 files

0.60.0

2 files

0.59.1

2 files

0.59.0

2 files

0.58.1

2 files

0.58.0

2 files

0.57.0

2 files

0.56.0

2 files

0.55.1

2 files

0.55.0

2 files

0.54.0

2 files

0.53.2

2 files

0.53.1

2 files

0.53.0

2 files

0.52.2

2 files

0.52.1

2 files

0.52.0

2 files

0.51.0

2 files

0.50.0

2 files

0.49.0

2 files

0.48.2

2 files

0.48.1

2 files

0.48.0

2 files

0.47.0

2 files

0.46.0

2 files

0.45.0

2 files

0.44.0

2 files

0.43.0

2 files

0.42.0

2 files

0.41.0

2 files

0.40.0

2 files

0.39.0

2 files

0.38.0

2 files

0.37.0

2 files

0.36.0

2 files

0.35.0

2 files

0.34.0

2 files

0.33.2

2 files

0.33.0

2 files

0.32.1

2 files

0.32.0

2 files

0.31.0

2 files

0.30.1

2 files

0.30.0

2 files

0.29.0

2 files

0.28.1

2 files

0.28.0

2 files

0.27.0

2 files

0.26.1

2 files

0.26.0

2 files

0.25.0

2 files

0.24.0

2 files

0.23.0

2 files

0.22.0

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

This release

0.15.2 This release

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.3

2 files

0.12.2

2 files

0.12.1

2 files

0.12.0

2 files

0.11.4

2 files

0.11.3

2 files

0.11.2

2 files

0.11.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page