home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 95788263

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
95788263 MDU6SXNzdWU5NTc4ODI2Mw== 479 Define order of coordinates / variables of netcdf created from dset 7799184 closed 0     1 2015-07-18T04:49:56Z 2015-07-20T03:18:25Z 2015-07-20T03:18:25Z CONTRIBUTOR      

Hi guys,

I'm saving this dataset as a netcdf file:

<xray.Dataset> Dimensions: (lat: 41, lon: 41, month: 12) Coordinates: * lat (lat) float32 -45.5 -45.4 -45.3 -45.2 -45.1 -45.0 -44.9 -44.8 ... * lon (lon) float32 182.0 182.1 182.2 182.3 182.4 182.5 182.6 182.7 ... * month (month) int64 1 2 3 4 5 6 7 8 9 10 11 12 Data variables: wspd_mean (month, lat, lon) float64 9.068 9.082 9.097 9.111 9.129 9.149 ... wdir_mean (month, lat, lon) float64 112.3 112.4 112.2 112.3 112.5 112.6 ...

However I'm not sure how to preserve the order of the coordinates in the output netcdf:

``` netcdf test { dimensions: lat = 41 ; month = 12 ; lon = 41 ; variables: float lat(lat) ; double wdir_mean(month, lat, lon) ; double wspd_mean(month, lat, lon) ; float lon(lon) ; int64 month(month) ;

// global attributes: :date_created = "2015-07-18 16:20:02.603378" ; } ```

Is there a way to make sure coordinates / variables are written to netcdf at some specific order please? Thanks

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/479/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
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 79.188ms · About: xarray-datasette