home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1244211643

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
1244211643 I_kwDOAMm_X85KKSm7 6627 `restore_coord_dims=True` not work for `resample` 9815742 open 0     0 2022-05-22T10:23:21Z 2022-12-13T18:00:29Z   NONE      

What happened?

The original dimension is [lon, lat, time]. But applied resample, the dimension becomes [time, lon, lat]. Is this normal?

```python import xarray as xr f = "ERA5_202205_Asia_prcp.nc" ds_raw = xr.open_dataset(f)

ds_raw.resample(time = "6h", restore_coord_dims = True).sum() ```

What did you expect to happen?

Dimension in the same order.

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

Links from other tables

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