Open ThomasMGeo opened 5 months ago
Notebook that has more of the workflow: https://github.com/Unidata/MLscratchpad/blob/main/BlogNotebooks/netCDF_vs_Zarr_filestoage.ipynb
I reproduced this and did notice that
print(ds2.dims)
returns
Frozen({'sigma_layer': 4, '': 2, 'pressure_difference_layer': 1, 'pressure_difference_layer1': 1, 'time': 1, 'isobaric': 41, 'lat': 181, 'lon': 360, 'hybrid': 1, 'isobaric1': 22, 'potential_vorticity_surface': 2, 'sigma': 1, 'altitude_above_msl': 3, 'height_above_ground': 2, 'height_above_ground1': 6})
I think possibly the "Name contains illegal characters" could be referring to a dimension of size 2 with an empty name. Not sure why that dimension has no name when reading in with xarray but is not present when reading with Opendap though.
Hello! I am trying to write out a netCDF file from a siphon'd xarray dataset. Writing out to Zarr works fine. This may be in the wrong spot (see image).
That is the input:
and writing it out:
I just wanted to write out a netCDF file, I didn't modify the file to my knowledge. Happier to share a more in depth workflow. The error I get is below:
RuntimeError: NetCDF: Name contains illegal characters
siphon version 0.9