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.