home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 924395141

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/5782#issuecomment-924395141 https://api.github.com/repos/pydata/xarray/issues/5782 924395141 IC_kwDOAMm_X843GSaF 8699967 2021-09-21T21:23:01Z 2021-09-21T21:23:01Z CONTRIBUTOR

This appears to not be an xarray issue since the code uses open_dataset and the rio.crs accessor. The rio.crs accessor is from rioxarray. From what I can tell, the issue has to do with the data is stored in the netCDF file: https://corteva.github.io/rioxarray/stable/getting_started/crs_management.html

My guess is that there is an attribute named crs with the contents +init=EPSG:XXXX. If that is the case, I recommend using rioxarray to do:

python data.rio.write_crs("ESPG:XXXX", inplace=True)

Hopefully this is helpful.

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