You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
# Write the second dataset (ds2) to NetCDF format and print the output path
ds2.to_netcdf(paths['ds2'])
print(f"Second dataset written to {paths['ds2']} in NetCDF format.")
Problem description: this should explain why the current behavior is a problem and why
the expected output is a better solution.
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
Which platform
MacOS, python 3.10
Versions. Include the output of:
siphon version 0.9
The text was updated successfully, but these errors were encountered:
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:
the expected output is a better solution.
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
MacOS, python 3.10
siphon version 0.9
The text was updated successfully, but these errors were encountered: