Comments (4)
Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!
from xarray.
Thanks for raising this. Please see #6323 for discussion on handling encoding
in the future.
As you already found, drop_encoding
is the way to go for your use-case. This is also mentioned in the docs here https://docs.xarray.dev/en/stable/user-guide/io.html#reading-encoded-data. Please let us know, if and how the documentation could be improved to make this more clear.
from xarray.
Thank you for pointing out the resources.
I like the idea of the keep_encoding
parameter mentioned in #6323.
The documentation could benefit from being more explicit about the issue of invalid encoding and its consequences. Specifically, the section Writing encoded data could mention that some operations may lead to invalid encoding information that can cause errors when writing to a file, for example with to_netcdf()
. It could be noted that in these instances, the encoding information can be corrected or removed entirely using drop_encoding()
. Additionally, the documentation for functions related to reading and writing files (open_dataset()
, to_netcdf()
, etc.) could point to the Reading and writing files webpage.
from xarray.
@tarik Thanks for taking the time to share your thoughts.
Regarding the documentation changes we always welcome contributions.
from xarray.
Related Issues (20)
- Currently no way to create a Coordinates object without indexes for 1D variables HOT 4
- More granularity in the CI, separating code and docs changes? HOT 7
- Weird interaction between aggregation and multiprocessing on DaskArrays HOT 8
- Tab completion on DataArray instance fails in REPL when using Readline HOT 9
- Error in examples/multidimensional-coords.html
- `broadcast_like()` doesn't copy chunking structure
- PRs requiring approval & merging main? HOT 4
- Lingering memory connections when extracting underlying `np.arrays` from datasets HOT 6
- Failing doctest CI Job: `The current Dask DataFrame implementation is deprecated.` HOT 1
- A basic default ChunkManager for arrays that report their own chunks HOT 21
- Add sarxarray into ecosystem list HOT 1
- Y-axis is reversed when using to_zarr() HOT 3
- `.reset_index()`/`.reset_coords()` maintain MultiIndex status HOT 2
- map_blocks raises AssertionError given chunks along a multiindex
- Datatree design discussions - weekly meeting HOT 6
- release v2024.02.0
- Lack of resilience towards missing `_ARRAY_DIMENSIONS` xarray's special zarr attribute #280 HOT 2
- Smarter Dataset quantile method? HOT 1
- Lazy Loading with `DataArray` vs. `Variable`
- to_zarr removes global attributes in destination dataset HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xarray.