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

Appending unnecessarily requires a coordinate variable #27

Closed
forman opened this issue Mar 20, 2021 · 0 comments · Fixed by #28
Closed

Appending unnecessarily requires a coordinate variable #27

forman opened this issue Mar 20, 2021 · 0 comments · Fixed by #28
Assignees
Labels
bug Something isn't working

Comments

@forman
Copy link
Member

forman commented Mar 20, 2021

With

input:
  paths: ...
  multi_file: false

output:
  path: ...
  append: true
  append_dim: "sounding_dim"

nc2zarr fails for existing dimension "sounding_dim" but missing (coordinate) variable "sounding_dim" with

Error: Missing (coordinate) variable "sounding_dim" for dimension "sounding_dim".

However, appending datasets to existing Zarrs does not require a (coordinate) variable with same name.

The reason for this error is that input/concat_dim, if not given, is set to output/append_dim regardless of the value of input/multi_file.

@forman forman added bug Something isn't working in progress Started working on this labels Mar 20, 2021
@forman forman self-assigned this Mar 20, 2021
forman added a commit that referenced this issue Mar 20, 2021
@forman forman removed the in progress Started working on this label Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant