home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 232743076

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
232743076 MDU6SXNzdWUyMzI3NDMwNzY= 1437 How can I drop attribute of DataArray 12339722 closed 0     3 2017-06-01T01:42:59Z 2022-04-06T14:21:15Z 2017-06-01T08:40:03Z NONE      

when i use Dataset.to_netcdf, it raise,

ValueError: cannot serialize coordinates because variable omega already has an attribute 'coordinates' <xarray.DataArray 'omega' (south_north: 252, west_east: 384)> Coordinates: XLONG (south_north, west_east) float32 75.7405 75.9333 76.1263 ... XLAT (south_north, west_east) float32 -1.63264 -1.56052 -1.48872 ... * south_north (south_north) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... * west_east (west_east) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... XTIME float32 16560.0 Time datetime64[ns] 1988-01-12T12:00:00 Attributes: FieldType: 104 MemoryOrder: XYZ description: omega units: Pa s-1 stagger: coordinates: XLONG XLAT XTIME projection: LambertConformal(stand_lon=116.0, moad_cen_lat=34.9999961853, truelat1=10.0, ruelat2=50.0, pole_lat=90.0, pole_lon=0.0) vert_interp_type: p

How can i drop attribute coordinates of omega ?

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

Links from other tables

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