Skip to content

Interpolation Refactor

Compare
Choose a tag to compare
@mpu-creare mpu-creare released this 20 Dec 21:31
· 413 commits to develop since this release

3.0.0

Interpolation refactoring. Interpolation now lives as an Algorithm Node. As such,
interpolation can exist in any part of a pipeline, and even multiple times. As
part of this improvement, we also implemented "Selectors" which subselect data
based on the interpolation method specified BEFORE data is pulled from remote
servers.

Because this refactor changed the interface somewhat, we bumped the major version number.

The MAJOR change with the PODPAC functionality is that now some Nodes may return DIFFERENT (not interpolated) coordinates than the eval coordinates.

Features

  • Added Interpolation Node and InterpolationMixin to restore backwards compatibility with most nodes.
  • Replace WCS node with a new version that uses owslib under the hood. Also added authentiation support.
  • Added SoilGrids WCS data sources
  • Added an "Xarray" interpolator, which uses xarray's interpolation methods. This now allows linear project for time, for example.
  • Interpolators will now throw warning if the user specifies an interpolation parameter which is not used.
  • Improved interpolation documentation
  • Added "Autozoom" functionality for TerrainTiles datasource
  • Added Compositor nodes that combine multiple files/tiles of a single datasource BEFORE interpolation
  • Removed SMAP PyDAP datalib -- it was always unstable whereas the EGI version usually works
  • Improved Rasterio node -- it now read datasources directly using Rasterio instead of going through s3fs.

Bugfixes

  • Can now clear ram cache before cache is eliminated
  • Fixed #303, UnitsDataArray deserialization
  • Removed support for "numpy" return type in Algorithm nodes, since coordinates can now be altered in Algorithm Nodes
  • Fixed styling and plugin information is being set 7aef43b5a
  • Fixed some floating point rounding issues at tile edges 8ac834d
  • Fixed Coordinates.from_url to work correctly with different versions of OCG WMS call (and possible WCS calls, but the WCS documentation and my reference servers disagree...)