Skip to content
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

change error to warning for nodata value mismatch #282

Closed
wants to merge 1 commit into from

Conversation

pindge
Copy link
Contributor

@pindge pindge commented Nov 9, 2022

Fixes opendatacube/datacube-core#1348

odc accepts this value, so its not an error. It ideally should match but its not an error,

related to opendatacube/datacube-core#1347

@pindge
Copy link
Contributor Author

pindge commented Nov 9, 2022

@jeremyh
Copy link
Collaborator

jeremyh commented Nov 9, 2022

I may have missed some of the discussion....but if it's a value that doesn't fit in the data type, shouldn't it either be removed from the doc or changed to something that does fit?

ODC accepted many things that users would only discover much later to be errors; part of the validator's purpose was to make them visible errors earlier.

@pindge
Copy link
Contributor Author

pindge commented Nov 9, 2022

moving the issue to odc-core

@pindge pindge closed this Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nodata for product definition doesnt match dtype
2 participants