issues: 667203487
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
667203487 | MDU6SXNzdWU2NjcyMDM0ODc= | 4282 | Values change when writing combined Dataset loaded with open_mfdataset | 11723107 | closed | 0 | 1 | 2020-07-28T16:20:09Z | 2022-04-09T03:00:55Z | 2022-04-09T03:00:55Z | NONE | What happened: Loading two netcdf files with What you expected to happen: That the written file contains the same values than the in-memory Minimal Complete Verifiable Example: ```python
The files contain wind data from the ERA5 reanalysis, downloaded from CDS. Anything else we need to know?: The issue might be related to the scale and offset values of the variable. Continuing the example: ```python
Data from the first file seems to be correct. When writing the combined dataset, the scale and offset from the first file are written to the combined file: ```python
``` Maybe the data from the second file is not adjusted to fit the new scaling and offset. Environment: Output of <tt>xr.show_versions()</tt>INSTALLED VERSIONS ------------------ commit: None python: 3.7.6 | packaged by conda-forge | (default, Jun 1 2020, 18:57:50) [GCC 7.5.0] python-bits: 64 OS: Linux OS-release: 4.15.0-107-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.7.4 xarray: 0.16.0 pandas: 1.0.4 numpy: 1.18.5 scipy: 1.4.1 netCDF4: 1.5.3 pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: 1.2.1 nc_time_axis: None PseudoNetCDF: None rasterio: None cfgrib: 0.9.8.2 iris: None bottleneck: None dask: 2.18.1 distributed: 2.21.0 matplotlib: 3.2.1 cartopy: 0.18.0 seaborn: None numbagg: None pint: 0.14 setuptools: 49.2.0.post20200712 pip: 20.1.1 conda: 4.8.3 pytest: None IPython: 7.16.1 sphinx: None |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |