issues: 1136315478
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1136315478 | I_kwDOAMm_X85DusxW | 6272 | ds.to_netcdf() changes values of variable | 2042458 | closed | 0 | 12 | 2022-02-13T19:15:20Z | 2024-03-25T14:56:51Z | 2024-03-25T14:56:50Z | NONE | What happened?I am very puzzled by an odd behavior of I have list of file containing meteorological variables organized in three dimensions
Now, I would like to save a subset of this dataset to a netcdf file as follow: The value What did you expect to happen?I expected no modification of the data after saving to netcdf, no matter what. Minimal Complete Verifiable ExampleI will share files upon request. Relevant log outputNo response Anything else we need to know?No response EnvironmentINSTALLED VERSIONScommit: None python: 3.9.7 (default, Sep 16 2021, 13:09:58) [GCC 7.5.0] python-bits: 64 OS: Linux OS-release: 5.13.0-28-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.10.6 libnetcdf: 4.8.1 xarray: 0.20.1 pandas: 1.3.5 numpy: 1.20.3 scipy: 1.7.3 netCDF4: 1.5.7 pydap: None h5netcdf: 0.11.0 h5py: 3.6.0 Nio: None zarr: None cftime: 1.5.1.1 nc_time_axis: None PseudoNetCDF: None rasterio: 1.2.8 cfgrib: None iris: None bottleneck: 1.3.2 dask: 2021.10.0 distributed: 2021.10.0 matplotlib: 3.5.0 cartopy: None seaborn: 0.11.2 numbagg: None fsspec: 2022.01.0 cupy: None pint: None sparse: None setuptools: 58.0.4 pip: 21.2.4 conda: None pytest: None IPython: 7.31.1 sphinx: None |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6272/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |