Datacube

Latest version: v1.8.19

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 13

1.8.0b5

Not secure
Testing release process, please ignore this one.

1.7

Not secure
Not a lot of changes since rc1.

- Early exit from `dc.load` on `KeyboardInterrupt`, allows partial loads inside notebook.
- Some bug fixes in geometry related code
- Some cleanups in tests
- Pre-commit hooks configuration for easier testing
- Re-enable multi-threaded reads for `s3aio` driver (set `use_threads=True` in `dc.load(..)`)

1.7rc1

Not secure
Virtual Products

Add [Virtual Products](https://datacube-core.readthedocs.io/en/latest/dev/virtual-products.html#virtual-products) for multi-product loading.

(522, 597, 601, 612, 644, 677, 699, 700)

Changes to Data Loading

The internal machinery used when loading and reprojecting data, has been
completely rewritten. The new code has been tested, but this is a
complicated and fundamental part of code and there is potential for
breakage.

When loading reprojected data, the new code will produce slightly
different results. We don't believe that it is any less accurate than
the old code, but you cannot expect exactly the same numeric results.

Non-reprojected loads should be identical.

This change has been made for two reasons:

1. The reprojection is now core Data Cube, and is not the
responsibility of the IO driver.
2. When loading lower resolution data, DataCube can now take advantage
of available overviews.

<!-- end list -->

- New futures based IO driver interface (686)

Other Changes

- Allow specifying different resampling methods for different data
variables of the same Product. (551)
- Allow all reampling methods supported by rasterio. (622)
- Bug fix (Index out of bounds causing ingestion failures)
- Support indexing data directly from HTTP/HTTPS/S3 URLs (607)
- Renamed the command line tool `datacube metadata_type` to `datacube
metadata` (692)
- More useful output from the command line `datacube
{product|metadata} {show|list}`
- Add optional `progress_cbk` to `dc.load(_data)` (702), allows user
to monitor data loading progress.
- Thread-safe netCDF access within `dc.load` (705)

Performance Improvements

- Use single pass over datasets when computing bounds (660)
- Bugfixes and improved performance of `dask`-backed arrays (547,
664)

Documentation Improvements

- Improve [API Reference](https://datacube-core.readthedocs.io/en/latest/dev/api/index.html#api-reference) documentation.

Deprecations

- From the command line, the old query syntax for searching within
vague time ranges, eg: `2018-03 < time < 2018-04` has been removed.
It is unclear exactly what that syntax should mean, whether to
include or exclude the months specified. It is replaced by `time in
[2018-01, 2018-02]` which has the same semantics as `dc.load` time
queries. (709)

1.6.2

Not secure
Patch release to build a new Docker container, to resolve an upstream security bug.

See 631 for more details.

1.6.1

Not secure
The *real* 1.6 release, not an accidental duplicate of the release candidate.

1.6.0

Not secure
- Enable use of *aliases* when specifying band names
- Fix ingestion failing after the first run 510
- Docker images now know which version of ODC they contain 523
- Fix data loading when `nodata` is `NaN` 531
- Allow querying based on python `datetime.datetime` objects. 499
- Require [rasterio 1.0.2](https://github.com/mapbox/rasterio/blob/1.0.2/CHANGES.txt) or higher, which fixes several critical bugs when loading and reprojecting from multi-band files.
- Assume fixed paths for `id` and `sources` metadata fields 482
- `datacube.model.Measurement` was put to use for loading in attributes and made to inherit from `dict` to preserve current behaviour. 502
- Updates when indexing data with `datacube dataset add` (See 485, 451 and 480)
- Allow indexing without lineage `datacube dataset add --ignore-lineage`
- Removed the `--sources-policy=skip|verify|ensure`. Instead use `--[no-]auto-add-lineage` and `--[no-]verify-lineage`
- New option `datacube dataset add --exclude-product` `<name>` allows excluding some products from auto-matching
- Preliminary API for indexing datasets 511
- Enable creation of MetadataTypes without having an active database connection 535

Page 7 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.