home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 59565277

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
59565277 MDU6SXNzdWU1OTU2NTI3Nw== 353 Some sort of API for regrouping transformed data? 1217238 closed 0     1 2015-03-02T22:52:29Z 2019-03-05T02:34:53Z 2019-03-05T02:34:53Z MEMBER      

What is the right way to calculate a climatology and repeat the values over the original axis?

The best I could come up with is:

python def expand_climatology(xray_obj): climatology = xray_obj.groupby('time.dayofyear').mean('time') repeat_proxy = (0 * xray_obj.isnull()).groupby('time.dayofyear') return repeat_proxy + climatology

Possibly the right solution involves something like assign (https://github.com/xray/xray/issues/314)

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

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