Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not run file [load_open_fred_weather_data.ipynb] online by binder or using my PC #53

Open
ADai528 opened this issue Dec 2, 2020 · 4 comments
Assignees
Labels
Milestone

Comments

@ADai528
Copy link

ADai528 commented Dec 2, 2020

hi, I want to run load_open_fred_weather_data.ipynb file, but no matter I use binder online or on my PC , errors will appear.

When i use the binder online, it shows that the 'open_FRED' module cannot be found.

image

When i try to run it on my PC, there will be another error: AttributeError: 'NoneType' object has no attribute 'id'

image
image

Has anyone encountered the same problem and how did you solve it? I hope that feedinlib Team can solve this problem as soon as possible.

@p-snft p-snft added the bug label Dec 4, 2020
@dpinney
Copy link

dpinney commented Jan 10, 2021

I got a little farther by adding an initialization cell:

!pip install "git+https://github.com/oemof/feedinlib.git"
!pip install open_FRED-cli

But then hit:

image

@dpinney
Copy link

dpinney commented Jan 10, 2021

I gave up on FRED and switched to looking at era5. Looks like there's some configuration steps needed to get access to the api and to store the key.

@dpinney
Copy link

dpinney commented Jan 10, 2021

Okay, I finally got this all running with era5 data. Here's a working notebook: https://colab.research.google.com/drive/174mEpFy-Yr00o3R2Grqd8Q7mvGsG-jHY

Note you'll have to go through the era5 api signup and key generation process to get it to run.

I'd recommend updating the feedinlib readme and install instructions to mention that registrations and api keys are needed for the weather data sources (I assume FRED wasn't working because I didn't register).

It also appears that an old version of feedinlib is in pypi that's incompatible with the example notebooks. That's why I did a !pip install git+https://github... install.

By the way, great job in the library finding data and a preparation pipeline that can be used as an input to windpowerlib. Not an easy task!

@uvchik uvchik added this to the v0.1.0 milestone Jun 22, 2021
@uvchik
Copy link
Member

uvchik commented Jun 22, 2021

Thank you @dpinney for sharing your experience. We will check the notebooks before the next release and we will have a look at your notebook.

@uvchik uvchik assigned uvchik and birgits and unassigned uvchik Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants