-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat(copernicus): Collect weather data from Copernicus API #3
Conversation
e5a7d6e
to
745dced
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@luabida, I think it can be merged and open a PR to add other features or improvements when needed. |
63a3097
to
541ae73
Compare
@app.task | ||
def reanalysis_insert_into_db(df: pd.DataFrame): | ||
|
||
df.to_sql( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DataFrame is being store without upsert, would you think upsert is needed to avoid duplicates?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
🎉 This PR is included in version 1.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Implement celery task that collects weather data from https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels for every city in Brazil. Upload data to sql database.