-
Notifications
You must be signed in to change notification settings - Fork 19
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
Can't save Cube as NetCDF #23
Comments
I think this was related to the axis data type being a non-default string type and was fixed already? |
This is related to it, but in YAXArrays 0.1.2 and NetCDF 0.11.3 this is not yet fixed. for ax in caxes(cube)
if ax isa CategoricalAxis
newax = CategoricalAxis(YAXArrays.Cubes.Axes.axname(ax), String.(ax.values))
renameaxis!(cube, YAXArrays.Cubes.Axes.axname(ax)=>newax)
end
end |
I am closing this in favor of JuliaDataCubes/YAXArrayBase.jl#3 because this is something that needs to be fixed either in YAXArraysBase or NetCDF.jl. |
When I try to save an example datacube which has been generated from an ENVI file, but here loaded as a zarr file, I can't save it as a netcdf.
I can save the envi file directly into netcdf, and I can also save the so generated netcdf back into a netcdf file, therefore, I don't really understand, what is happening when I first convert the data into the Zarr format.
The text was updated successfully, but these errors were encountered: