-
Notifications
You must be signed in to change notification settings - Fork 262
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
new ncdump failure to print NCZarr variable #2494
Comments
Thanks @czender, I'll take a look. @DennisHeimbigner, does anything leap out at you immediately? |
@czender I'm having problems finding a version of netCDF-C that worked with the process outlined above. Using |
@WardF thanks for taking a look. Everything reported above was done with the latest (today's) snapshot of netcdf-c 4.9.1-development. I just repeated the procedure, and obtain the same results as above. 4.9.0 will fail to generate the Zarr file because strings were not supported until PR #2492 was merged a few days ago. Please retry with the latest main trunk. |
@czender Thanks! I'm digging through this and am narrowing down the 'where', and then can start to figure out the why. I've run
Still working on this; we are hoping to have a |
I need to remember to indicate that I am working on an Issue. |
Thanks @DennisHeimbigner I'll pivot back towards other issues/esupport. |
re: PR Unidata#2492 re: Issue Unidata#2494 This PR fixes some problems with the pull request Unidata#2492 in response to Issue Unidata#2494. * Found and fixed more scalar handling problems and add a test case for scalars. * Cleanup nczarr_test/run_string.sh test * Document *_nczarr_default_maxstrlen* and *_nczarr_maxstrlen*. * Support both "Nan" and *Nan* as being floating point constants for attributes. It is unclear from the Zarr V2 spec if unquoted *Nan* is legal or not, but support for reading. Write the quoted versions when writing an attribute. Similar for Infinity constants. So NCZarr supports the following constants for use in Attributes * *Nan*, "Nan", *-Nan*, "-Nan" * *Nanf*, "Nanf", *-Nanf*, "-Nanf" * *Infinity*, "Infinity", *-Infinity*, "-Infinity" * *Infinityf*, "Infinityf", *-Infinityf*, "-Infinityf"
Hopefully fixed by #2497 |
@DennisHeimbigner I tested this morning's snapshot of
As you know, the code that prints this is in |
Darn, I forgot to turn off a debugging flag.
|
Thanks, yes, that eliminates the |
Is the fix in a current PR or is there a new one pending? |
It will be a new one. |
Hi, After building today's netcdf-c snapshot that includes PR #2492, I noticed that
ncdump
andncks
now fail to print some NCZarr variables that they previously worked well with. Here is the symptom:Note that
ncdump
andncks
continue to print thein_zarr4.nc
file correctly.The problem can be demonstrated by trying to dump the NCZarr version of the attached in_zarr4.cdl.txt
FYI,
ncks
fails to dump the Zarr file with this error:zender@spectral:~/nco/data$ ncks "file://in_zarr4#mode=nczarr,file"
The text was updated successfully, but these errors were encountered: