home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 491719758

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
491719758 MDU6SXNzdWU0OTE3MTk3NTg= 3299 swap dimensions with multi-dimensional coordinates 3106851 closed 0     4 2019-09-10T14:44:39Z 2019-09-11T20:47:29Z 2019-09-11T08:56:24Z NONE      

Hi, This is a usage question. I've got some GRIB weather data, loaded with cfgrib into xarray.

<xarray.Dataset> Dimensions: (x: 421, y: 461) Coordinates: time datetime64[ns] 2015-05-10T12:00:00 step timedelta64[ns] 00:00:00 heightAboveGround int64 10 latitude (y, x) float64 44.77 44.77 44.77 ... 56.14 56.14 56.14 longitude (y, x) float64 2.976 3.011 3.046 ... 19.75 19.8 19.84 valid_time datetime64[ns] 2015-05-10T12:00:00 Dimensions without coordinates: x, y Data variables: u10 (y, x) float32 ... v10 (y, x) float32 ... si10 (y, x) float32 ... Attributes: GRIB_edition: 2 GRIB_centre: edzw GRIB_centreDescription: Offenbach GRIB_subCentre: 255 Conventions: CF-1.7 institution: Offenbach

The dimension is x,y. If I want to export this to GeoTIFF using rioxarray, I get the wrong results as the dimensions should be latitude/longitude, not x/y. Is there any way to "transform" the data or something like this.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3299/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

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