-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-date handler aggregator in ramp styles can now receive raw data #1033
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ariana-B
approved these changes
Jul 16, 2024
robbibt
approved these changes
Jul 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great @SpacemanPaul - the example in ows_test_cfgf.py
should be a great example for me to use as a template for DEA Intertidal. Will do further testing once this is live in dev OWS
Merged
SpacemanPaul
added a commit
that referenced
this pull request
Aug 1, 2024
* multi-date handler aggregator in ramp styles can now receive raw data (#1033) * First attempt to implement raw data passing. * Fix intermediate array dtype for numpy2 * Basic test. * Wordlist update. * Wordlist update. (cherry picked from commit 41daa21) * Prep for 1.8.41 release. (#1034) * Prep for 1.8.41 release. * Add this PR to HISTORY.rst (cherry picked from commit 6c75bb2) * Dockerfile: fix casing warning (#1035) This fixes the warning: - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2) emitted by recent Docker releases. (cherry picked from commit 955c49d) * Version and top level folder (#1036) * Make 'datacube-ows --version' work. * Autowrap top level in single folder if necessary. * Document top-level folder autowrapping behaviour. * Update integration test translation files. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Pass auth token to codecov GHA. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (cherry picked from commit d71b0ef) * Changes to materialised view definition to prevent errors on databases with WKT CRSs (#1037) * Changes to materialised view definition to prevent errors on databases with WKT CRSs. * Make 'epsg:' checks case insensitive. (cherry picked from commit fb88ea2) * Port of #1039 - custom feature info enhancement. * Resolve 1.8-1.9 cherry-picking conflicts. * Appease the type checking gods. * Remove unused import. * Oops - dropped a line merging ows_configuration.py --------- Co-authored-by: Peter A. Jonsson <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1007
In a multi-date handler for colour-ramp-type styles: a new
pass_raw_data
config entry controls what data is passed to the aggregator function:pass_raw_data == False
(the default):The aggregator function is passed a time-dimensioned DataArray containing the output
of the index function.
pass_raw_data == True
:The aggregator function is passed a time-dimensioned Dataset, containing all of the
declared needed bands.
📚 Documentation preview 📚: https://datacube-ows--1033.org.readthedocs.build/en/1033/