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
When I use xarray to open a nc file that contains the diacritic mark tilde (á) in the path, I get an error
importxarrayasxrimportnumpyasnp# Create a new dataset using xarraydata=xr.Dataset(
{
"temperature": (("x", "y"), np.random.rand(100, 100))
},
coords={
"x": np.linspace(0, 1, 100),
"y": np.linspace(0, 1, 100)
}
)
# I don't know if there are any errors in this step,# because the actual Chinese text I generated here "example_xarray_谩.nc"data.to_netcdf('example_xarray_á.nc' )