home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 165540933

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
165540933 MDU6SXNzdWUxNjU1NDA5MzM= 899 Let open_mfdataset() respect cell boundary variables 206773 closed 0     5 2016-07-14T11:36:49Z 2019-02-25T19:28:23Z 2019-02-25T19:28:23Z NONE      

I recently faced a problem with open_mfdataset() as it concats variables that are actually used as auxilary coordinate variables, namely the cell boundary variables 'time_bnds', 'lat_bnds' and 'lon_bnds' (see CF Conventions 7.1. Cell Boundaries). open_mfdataset() will attach an extra 'time' dimension to 'lat_bnds' and 'lon_bnds' because they are seen as data variables rather than coordinates variables.

We could solve the problem by using the preprocess argument and turning these data variables into coordinates variables with ds.set_coords('lat_bnds', inplace=True).

However it would be nice to prevent concatenation of variables that don't have the concat_dim, e.g. by a keyword argument selective_concat or respect_cell_bnds_vars or so.

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