Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Enable NCSS returns when variable has _ChunkSizes attribute #1332

Merged
merged 1 commit into from
Aug 12, 2020

Conversation

lesserwhirls
Copy link
Collaborator

Currently, if an NCSS request is made to a dataset for a variable with
the _ChunkSizes attribute exposed, and the request is made for a
netCDF-4 return, the write will fail with a "Bad Chunk Sizes" error.
This has been properly fixed in netCDF-Java 5. This PR simply removes
the inproperly exposed attribute before writing of netCDF-4 files after
subset is attempted.

Currently, if an NCSS request is made to a dataset for a variable with
the _ChunkSizes attribute exposed, and the request is made for a
netCDF-4 return, the write will fail with a "Bad Chunk Sizes" error.
This has been properly fixed in netCDF-Java 5. This PR simply removes
the inproperly exposed attribute before writing of netCDF-4 files after
subset is attempted.
@lesserwhirls lesserwhirls merged commit 6216c04 into Unidata:master Aug 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant