-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The rule no-empty-chunks ...
- outputs a wrong message. Instead of 'write_empty_chunks=True' it should read 'write_empty_chunks=False'.
- should not be applied to coordinate variables by default because coordinates are often not chunked.
- should be applied to chunked variables only. It seems, it emits also for single chunk variables.
valid.zarr:
dataset.coords['x'] warn Consider writing the dataset using 'write_empty_chunks=True'. no-empty-chunks
dataset.coords['y'] warn Consider writing the dataset using 'write_empty_chunks=True'. no-empty-chunks
dataset.data_vars['sst'] warn Consider writing the dataset using 'write_empty_chunks=True'. no-empty-chunks
dataset.data_vars['sst_anomaly'] warn Consider writing the dataset using 'write_empty_chunks=True'. no-empty-chunks
dataset.coords['time'] warn Missing 'units' attribute in variable 'time'. var-units
To Reproduce
Run the notebook notebooks/xrlint-cli.ipynb.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working