issues: 2032102149
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2032102149 | I_kwDOAMm_X855H2sF | 8531 | Cannot read a nc file that contains the diacritic mark tilde (á) in the path | 64853439 | closed | 0 | 6 | 2023-12-08T07:40:17Z | 2023-12-08T19:15:25Z | 2023-12-08T08:26:56Z | NONE | What is your issue?When I use xarray to open a nc file that contains the diacritic mark tilde (á) in the path, I get an error ```python import xarray as xr import numpy as np 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' ) ``` Running the following one will cause an error ```python dataset = xr.open_dataset('example_xarray_á.nc') FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\DELL\Desktop\example_xarray_á.nc' ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8531/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
not_planned | 13221727 | issue |