home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 894788930

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
894788930 MDU6SXNzdWU4OTQ3ODg5MzA= 5336 ENH: Add keep_encoding to global options 8699967 closed 0     5 2021-05-18T21:12:50Z 2023-10-14T03:48:59Z 2023-10-14T03:48:58Z CONTRIBUTOR      

Is your feature request related to a problem? Please describe. https://corteva.github.io/rioxarray/stable/getting_started/manage_information_loss.html

Original data: python rds.green.attrs, rds.green.encoding ({'nodata': 0, 'units': ('DN', 'DN')}, {'dtype': 'float64', 'grid_mapping': 'spatial_ref', 'scale_factor': 1.0, 'add_offset': 0.0, '_FillValue': nan, 'source': 'netcdf:../../test/test_data/input/PLANET_SCOPE_3D.nc:green'}) python with xarray.set_options(keep_attrs=True): new_ds = rds.green + rds.green new_ds.attrs, new_ds.encoding {'nodata': 0, 'units': ('DN', 'DN')}, {} Describe the solution you'd like python with xarray.set_options(keep_attrs=True, keep_encoding=True): new_ds = rds.green + rds.green new_ds.attrs, new_ds.encoding ({'nodata': 0, 'units': ('DN', 'DN')}, {'dtype': 'float64', 'grid_mapping': 'spatial_ref', 'scale_factor': 1.0, 'add_offset': 0.0, '_FillValue': nan, 'source': 'netcdf:../../test/test_data/input/PLANET_SCOPE_3D.nc:green'})

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5336/reactions",
    "total_count": 3,
    "+1": 3,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 0.73ms · About: xarray-datasette