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

Chunking using nccopy #1183

Closed
ArchangeGabriel opened this issue Nov 8, 2018 · 2 comments · Fixed by #1192
Closed

Chunking using nccopy #1183

ArchangeGabriel opened this issue Nov 8, 2018 · 2 comments · Fixed by #1192

Comments

@ArchangeGabriel
Copy link
Contributor

The man page says:

If the variable is specified but no chunk sizes are specified (i.e. -d var:) then chunking is disabled for that variable.

First, I think there is an issue because it should be -c and not -d. Second, it does not work for me, I get:

NetCDF: Invalid argument
Location: file ncdump/nccopy.c; line 1818
@DennisHeimbigner
Copy link
Collaborator

could you post the complete ncdump command you use, and if possible,
the .nc file (or its .cdl equivalent)?

DennisHeimbigner added a commit that referenced this issue Nov 12, 2018
re: #1183

Changes:
1. fix typo in nccopy.1 man page
2. fix chunkspec parsing for -c so that "-c var:"
   (with no chunkspec arguments) disables chunking
   on the specified variable
3. Add test case to ncdump/tst_nccopy5.sh
@DennisHeimbigner
Copy link
Collaborator

fixed by pull request #1192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants