home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1266030505

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/7108#issuecomment-1266030505 https://api.github.com/repos/pydata/xarray/issues/7108 1266030505 IC_kwDOAMm_X85Ldhep 90059220 2022-10-03T20:49:24Z 2022-10-03T20:49:24Z NONE

The values in nc.lon are technically ordered 'as they would be on a mercator projected map with origin at 0 N-0 E' considering I am dealing with data around 180 lon. Not that it would mater for pandas/xarray in that case. I suppose re-projecting it on a 0-360 would be the only way around this specific issue.

And to answer earlier comments, sub = nc_bug.sel(lon = 161.001, tolerance=.1) raised the following: KeyError: "not all values found in index 'lon'. Try setting themethodkeyword argument (example: method='nearest')." Which, when tried raised ValueError: index must be monotonic increasing or decreasing. It is indeed a problem with the order of the index.

Thanks for your help and your time.

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