issue_comments: 1170015912
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/6733#issuecomment-1170015912 | https://api.github.com/repos/pydata/xarray/issues/6733 | 1170015912 | IC_kwDOAMm_X85FvQao | 9569132 | 2022-06-29T13:57:51Z | 2022-06-29T13:57:51Z | NONE | Ah. I think I get it now. If you are setting So, for any Where a cast is specified in The manual encoding does indeed work as suggested - the only possible gotcha here for users is
that data stored in a netcdf file as integer type data but with a _FillValue is loaded as a float using
```python
There might be a problem here with consistency with ```python
However, ```bash $ ncdump test.nc netcdf test { dimensions: dim_0 = 65536 ; variables: ushort xarray_dataarray_variable(dim_0) ; data: xarray_dataarray_variable = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... 65528, 65529, 65530, 65531, 65532, 65533, 65534, _ ; } ``` This is because 65535 is the default fill value for Using ```python
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1286995366 |