You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting attribute error during my testing earthkit-data module with this test script from https://cds.climate.copernicus.eu/earthkit. I have tested earthkit-data module by
Installing using pip with minimal python3 -m pip install earthkit-data
Installing using pip will all optional packages python3 -m pip install earthkit-data[all]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am getting attribute error during my testing earthkit-data module with this test script from https://cds.climate.copernicus.eu/earthkit. I have tested earthkit-data module by
Installing using pip with minimal
python3 -m pip install earthkit-data
Installing using pip will all optional packages
python3 -m pip install earthkit-data[all]
Installing using conda
conda install earthkit-data -c conda-forge
conda install eccodes -c conda-forge
For all these test error is same:
`import earthkit as ek
data = ek.data.from_source(
'cds',
'reanalysis-era5-single-levels',
{
'product_type': 'reanalysis',
'variable': '2m_temperature',
'year': '2023',
'month': '07',
'day': '3',
'time': '12:00',
},
)
ek.plots.globe(data)`
AttributeError Traceback (most recent call last)
Cell In[1], line 3
1 import earthkit as ek
----> 3 data = ek.data.from_source(
4 'cds',
5 'reanalysis-era5-single-levels',
6 {
7 'product_type': 'reanalysis',
8 'variable': '2m_temperature',
9 'year': '2023',
10 'month': '07',
11 'day': '3',
12 'time': '12:00',
13 },
14 )
16 ek.plots.globe(data)
AttributeError: module 'earthkit' has no attribute 'data'
I have Python version 3.9.18 installed and using Anaconda. Any help would be appreciated 👍
Beta Was this translation helpful? Give feedback.
All reactions