v0.4.0
v0.4.0 (9 November 2022)
This minor release includes a feature update to support datasets that have N dimensions mapped to N coordinates to represent an axis. This means xcdat
APIs are able to intelligently select which axis's coordinates and bounds to work with if multiple are present within the dataset. Decoding time is now a lazy operation, leading to significant upfront runtime improvements when opening datasets with decode_times=True
.
A new notebook called "A Gentle Introduction to xCDAT" was added to the documentation gallery to help guide new xarray/xcdat users.
xCDAT is now hosted on Zenodo with a DOI for citations.
There are various bug fixes for bounds, naming of spatial weights, and a missing flag for xesmf
that broke curvilinear regridding.
Features
- Support for N axis dimensions mapped to N coordinates by @tomvothecoder and @pochedls in #343
- Rename
get_axis_coord()
toget_dim_coords()
andget_axis_dim()
toget_dim_keys()
- Update spatial and temporal accessor class methods to refer to the dimension coordinate variable on the data_var being operated on,
rather than the parent dataset
- Rename
- Decoding times (
decode_time()
) is now a lazy operation, which results in significant runtime improvements by @tomvothecoder in #343
Bug Fixes
- Fix
add_bounds()
not ignoring 0-dim singleton coords by @tomvothecoder and @pochedls in #343 - Fix name of spatial weights with singleton coord by @tomvothecoder in #379
- Fixes
xesmf
flag that was missing which broke curvilinear regridding by @jasonb5 and @pochedls in #374
Documentation
- Add FAQs section for temporal metadata by @tomvothecoder in #383
- Add gentle introduction notebook by @tomvothecoder in #373
- Link repo to Zenodo and upload GitHub releases by @tomvothecoder in #367
- Update project overview, FAQs, and add a link to xarray tutorials by @tomvothecoder in #365
- Update feature list, add metadata interpretation to FAQs, and add
ipython
syntax highlighting for notebooks by @tomvothecoder in #362
DevOps
- Update release-drafter template by @tomvothecoder in #371 and #370
- Automate release notes generation by @tomvothecoder in #368
Full Changelog: v0.3.3...v0.4.0