-
Notifications
You must be signed in to change notification settings - Fork 0
NCZarr
H. Joe Lee edited this page Dec 16, 2022
·
11 revisions
Use the following command to test Zarr.
$ ncdump -h "file://$PWD/ATL08n.zarr#mode=nczarr"
The above command throws Segmentation fault 11
for the flattened ATL08
that Hyrax fileout_netcdf generated.
Use the following command to generate Zarr from CDL.
$ ncgen -4 -o "file://zarr#mode=nczarr,file" feb.cdl
The output file will be zarr/
.
ncgen fails.
$ ncgen -4 -o "file://zarr#mode=nczarr" ATL08_20181014084920_02400109_003_01.cdl
ncgen: NetCDF: Invalid dimension size
(/Users/runner/miniforge3/conda-bld/libnetcdf_1630368167464/work/ncgen/genbin.c:genbin_netcdf:103)
nicks also fails.
$ ncks ATL08_20181014084920_02400109_003_01.h5 "file://foo#mode=nczarr,file"
ERROR: nco_def_dim() cannot define dimension "phony_dim_7" with illegal size = 0L
nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_def_dim()
nco_err_exit(): ERROR Error code is -63. Translation into English with nc_strerror(-63) is "NetCDF: Invalid dimension size"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)
ncgen fails.
$ ncgen -4 -o "file://zarr#mode=nczarr" SMAP_L3_SM_P_20150406_R14010_001.cdl
ncgen: NetCDF: NCZarr error
(/Users/runner/miniforge3/conda-bld/libnetcdf_1630368167464/work/ncgen/genbin.c:genbin_netcdf:167)
nicks fails.
$ ncks SMAP_L3_SM_P_20150406_R14010_001.h5 "file://foo#mode=nczarr,file"
nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_def_var_deflate()
nco_err_exit(): ERROR Error code is -136. Translation into English with nc_strerror(-136) is "NetCDF: Filter error: undefined filter encountered"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)