Skip to content

eo3-validate failing to recognise float32 for nodata #283

@pindge

Description

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions