home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1210349031

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/6904#issuecomment-1210349031 https://api.github.com/repos/pydata/xarray/issues/6904 1210349031 IC_kwDOAMm_X85IJHXn 12760310 2022-08-10T08:38:31Z 2022-08-10T08:38:31Z NONE

Re nearest, does it replicate with exact lookups?

Ok, it seems to fail also with exact lookups o.O This is extremely weird

I'm using python def compute(): ds_point = ds.isel(lat=0, lon=0) return ds_point.t_2m_med.mean().item(), ds_point.t_2m_min.mean().item(), ds_point.lon.min().item(), ds_point.lat.min().item()

Result for the serial version

python [( 10.469047546386719, 6.5044121742248535, 6.0, 48.0), ( 10.469047546386719, 6.5044121742248535, 6.0, 48.0), ( 10.469047546386719, 6.5044121742248535, 6.0, 48.0), ( 10.469047546386719, 6.5044121742248535, 6.0, 48.0), ( 10.469047546386719, 6.5044121742248535, 6.0, 48.0)] As you would expect all values are the same.

And for the parallel version with EXACTLY the same code

python [( 7.968084812164307, 6.948009967803955, 6.0, 48.0), ( 7.825599193572998, 6.995675563812256, 6.0, 48.0), ( 8.894186019897461, 6.849221706390381, 6.0, 48.0), ( 8.901763916015625, 6.69615364074707, 6.0, 48.0), ( 9.164983749389648, 6.484694480895996, 6.0, 48.0)]

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