Releases: opendatacube/datacube-explorer
2.5.2
Downloadable datasets
The dataset page now shows expandable links for the individual files in a dataset:
Note that s3://
urls are converted to https://
and you may want to configure the default bucket using CUBEDASH_DATA_S3_REGION
in the config
(via @alexgleith in #280)
Other changes
- Added CORS headers by default to api endpoints (via @andrewdhicks in #276)
- Minor improvements to repository dependencies, linting.
- New Docker build process
2.5.1
Minor improvements.
- Add an option to
cubedash-gen
to set a minimum amount of time to be scanned:
--minimum-scan-window TIME-LENGTH
Always rescan this period of time for
dataset changes, even if the refresh tool
has run more recently.
This is useful if you have a system where
rows are not made visible immediately to Explorer,
such as a sync service from another location.
Example values: '24h' or '1h30m'
- To match expected behaviour, the
--force-recreate
flag now forces product extent recreation too, even when no changes are detected. This more closely matches people's expectation that it "forces everything to be recalculated".
2.5
Now Incrementally Updating
This release includes a rewrite of the summary generation (cubedash-gen
) to be significantly faster at updating, and to behave in a more predictable manner.
It now applies an incremental diff of changes from the upstream ODC, rather than requiring a full rebuild.
Other Changes
- The DE Africa theme has been updated with the new DE Africa branding (#267)
- Improvements to the
cubedash-page-test
command, to report slow pages and errors (#272)
(seecubedash-page-test --help
) - Improved load speed of the storage page on environments with higher DB latency. (#268)
- Minor Stac compatibility fixes (#265)
- Various small improvements to the repository, developer setup and sqlalchemy 1.4 compatibility.
Migration
This release includes schema updates. You need to update your index by running the cubedash-gen --init
command before upgrading your Explorer web instance. The updated schema will still work on older Explorer web instances.
You will see schema.applying_update.*
messages in the log when applying the updates. They are small and can be applied while clients are still active.
New ODC Requirements
Last year Open Data Cube added optional columns to record when datasets were changed. These columns are now mandatory for Explorer 2.5, as it uses them to scan for changes.
cubedash-gen
's schema update will try to add these itself, and tell you how to do so manually if it does not have sufficient permissions.
Less Force
The --force-refresh
option on cubedash-gen
is now strongly discouraged, unless you are manually deleting rows from your ODC database.
Many users were using this previously to update their Explorer, but it forces the entire collection to be rebuilt and so will still be very slow.
2.4.3
2.4.2
2.4.1
2.4: Arrivals
- Various improvements for the new Beta 1 release of the Stac API standard.
- More performance improvements to Stac collections and arrivals page.
- Improved handling of invalid geometries in datasets (#254)
- A new 'arrivals' Stac collection, displaying the most recently added datasets to the datacube (at
/stac/arrivals
)
Note: This release contains some optional (but highly recommended) index additions for increasing Explorer speed.
Update your index by running the cubedash-gen --init
command again.
It will log schema.applying_update.*
messages in its output when applying updates. They are small and can be applied while clients are still active.
2.3: Full Stac Exploration
Explorer 2.3 enables full Stac Item information by default on searches, thanks to some performance improvements.
Deployments should run cubedash-gen -v --init
again to update their indexes.
It can be run at any time (before or after upgrading the deployment) and is not mandatory, but is strongly recommended for faster API usage.
(it took about 30 seconds to run on our existing 100GB Open Data Cube index.)
2.2.4: Fixes and Polish
A minor release of small improvements.
Stac documents are now linked from public pages
Clearer display of empty and unsummarised products
(Fixing #218)
Unsummarised:
Other Fixes
- Further improvements to visual consistency across pages.
- Add a
/metadata-types.txt
document to match/products.txt
. They are plain-text and useful in scripts and command-line programs to list what's in a datacube. - Fix a deprecation warning from ODC on
CRS.crs_str
.