home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1402255419

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1402255419 I_kwDOAMm_X85TlLg7 7149 AttributeError with loading data with xarray on Google Colab 55525882 closed 0     4 2022-10-09T12:11:14Z 2022-10-09T14:45:46Z 2022-10-09T14:45:45Z NONE      

What is your issue?

The package xarray appear to not working since this morning. I have written some script that was utilizing xarray to load and interpolate netcdf data last night. But this morning when I went back to the same script and run it again it shows an attribute error AttributeError: 'EntryPoints' object has no attribute 'get' To make sure my data sources is not corrupted, I inspected and can open it with netcdf4 package smoothly without any hiccups.

I tried to open built in tutorial / sample dataset with xarray and it also appears with the same error message ```


AttributeError Traceback (most recent call last) <ipython-input-1-daa755d2bb23> in <module> 1 import xarray as xr ----> 2 xr.tutorial.load_dataset('air_temperature')

4 frames /usr/local/lib/python3.7/dist-packages/xarray/backends/plugins.py in list_engines() 103 @functools.lru_cache(maxsize=1) 104 def list_engines(): --> 105 entrypoints = entry_points().get("xarray.backends", ()) 106 return build_engines(entrypoints) 107

AttributeError: 'EntryPoints' object has no attribute 'get' ```

I'm using Google chrome to open Google Colab

The link to the error example https://colab.research.google.com/drive/1OoT690jTQXtCvTAdpjUkpaKxvjcGO7vg?usp=sharing

https://gist.github.com/ngohikennyyue/dd32aa575be131f736b44d98b07212cd

Appreciate your time and attention. Thanks

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7149/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 0.798ms · About: xarray-datasette