home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 434477550

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/2525#issuecomment-434477550 https://api.github.com/repos/pydata/xarray/issues/2525 434477550 MDEyOklzc3VlQ29tbWVudDQzNDQ3NzU1MA== 1217238 2018-10-30T21:31:18Z 2018-10-30T21:31:18Z MEMBER

I'm +1 for adding this feature in some form as well.

From an API perspective, should the window size be specified in term of integer or coordinates? - rolling is integer based - resample is coordinate based

I would lean towards a coordinate based representation since it's a little more usable/certain to be correct. It might even make sense to still call this resample, though obviously the time options would no longer apply. Also, we would almost certainly want a faster underlying implementation than what we currently use for resample().

The API for resampling to a 2x2 degree latitude/longittude grid could look something like: da.resample(lat=2, lon=2).mean()

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  375126758
Powered by Datasette · Queries took 0.649ms · About: xarray-datasette