home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 968298551

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/5987#issuecomment-968298551 https://api.github.com/repos/pydata/xarray/issues/5987 968298551 IC_kwDOAMm_X845txA3 6628425 2021-11-14T14:13:07Z 2021-11-14T14:13:07Z MEMBER

Xarray's built-in interpolation method does not know how to handle periodic coordinates, which is why you see the blank center line. I would recommend using xESMF, which is an xarray wrapper of some code specifically written to interpolate from one geospatial grid to another, and knows how to handle periodic coordinates (see the periodic flag in the constructor of the Regridder object). It also provides multiple different interpolating methods which, depending on your application, might be more applicable than xarray's options.

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