covjson / playground

CoverageJSON Playground
https://covjson.org/playground/
Other
5 stars 2 forks source link

`null` not accepted as value for `/domain/axes/x` #13

Closed lewismc closed 2 years ago

lewismc commented 2 years ago

When I attempt to render SPURS_wg_ASL2.nc.covjson in the playground and after I fix the current syntax issues I get the following errors Screen Shot 2022-06-23 at 8 48 51 AM

lewismc commented 2 years ago

This zip attachment, when unzipped includes the syntax-compliant covjson response.

SPURS_wg_ASL2.nc.covjson.zip

jonblower commented 2 years ago

Hi @lewismc, the error you're getting is saying that axis values must be unique. This is enforced by the schema, which is generating the error message you are seeing.

The spec has the constraint that axis values must be monotonically increasing or decreasing (which disallows both null values and duplicates).

Is there a reason your axis has null values and duplicates? This is not usual.

letmaik commented 2 years ago

Closing this as it's working as expected. @lewismc Feel free to open an issue in https://github.com/opengeospatial/CoverageJSON if you have further questions on the spec.