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

eo3-validate failing to recognise float32 for nodata #283

Open
pindge opened this issue Nov 9, 2022 · 0 comments
Open

eo3-validate failing to recognise float32 for nodata #283

pindge opened this issue Nov 9, 2022 · 0 comments
Assignees

Comments

@pindge
Copy link
Contributor

pindge commented Nov 9, 2022

array(-3.4028235e+38, dtype=float32)
>       eo_validator.assert_valid(product)
E       AssertionError: Expected validation to succeed. Output:
E         ✗ file:///tmp/pytest-of-root/pytest-0/test_about_float32_scientific_0/doc-0.yaml
E               W missing_suffix Document looks like a product but does not have filename extension ".odc-product.yaml"
E               E unsuitable_nodata Measurement 'dem' nodata -3.4028235e+38 does not fit a 'float32'
E         
E       assert False

related to: opendatacube/datacube-core#1348

@pindge pindge self-assigned 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

No branches or pull requests

1 participant