home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1059063397

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/6069#issuecomment-1059063397 https://api.github.com/repos/pydata/xarray/issues/6069 1059063397 IC_kwDOAMm_X84_IAZl 6574622 2022-03-04T11:05:07Z 2022-03-04T11:05:07Z CONTRIBUTOR

This error ist unrelated to region or append writes. The dataset dst got the _FillValue attribute from rio.reproject ```

dst.air.attrs {... '_FillValue': nan} ```

but still carries encoding-information from ds, i.e.: ```

dst.air.encoding {'source': '...air_temperature.nc', 'original_shape': (2920, 25, 53), 'dtype': dtype('int16'), 'scale_factor': 0.01, 'grid_mapping': 'spatial_ref'} `` The encoding get's picked up byto_zarr, but asnan(the_FillValuefromrio.reproject) can't be expressed as anint16, it's not possible to write that data. You'll have to get rid of the encoding or specify some encoding and_FillValue` which fit together. #5219 might be related.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1077079208
Powered by Datasette · Queries took 0.878ms · About: xarray-datasette