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

feat(copernicus): Collect weather data from Copernicus API #3

Merged
merged 16 commits into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/data/*.nc
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,9 @@ downloads.db
*docker/dbschemas/
*/docker/dev_dumps/
*.gz

data/*

celerybeat-schedule.bak
celerybeat-schedule.dat
celerybeat-schedule.dir
13 changes: 3 additions & 10 deletions conda/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ channels:
- conda-forge
- defaults
dependencies:
- docker-compose #
- python-dotenv #
- celery #
- earthengine-api
- geoviews
- imageio
- docker-compose
- celery
- make
- poetry
- pydrive
- python=3.9
- rasterio
- rasterstats
- sqlalchemy #

2 changes: 1 addition & 1 deletion docker/celery/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

exec celery -A satellite_weather_downloader.celeryapp worker -l INFO
exec celery --workdir /opt/services/satellite_weather_downloader/celery_app --config celeryconfig -A tasks worker -B --loglevel=INFO
3 changes: 2 additions & 1 deletion docker/compose-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ services:
- satellite
volumes:
- ../../logs:/var/log/
- ../satellite_weather_downloader/celery_app:/opt/services/satellite_weather_downloader/celery_app
depends_on:
- rabbitmq
restart: always
healthcheck:
test: ["CMD-SHELL", 'celery --app satellite_weather_downloader.celeryapp.app inspect ping -d "celery@$${HOSTNAME}"']
test: ["CMD-SHELL", 'celery --app satellite_weather_downloader.celery_app.celeryapp.app inspect ping -d "celery@$${HOSTNAME}"']
interval: 60s
timeout: 10s
retries: 5
Expand Down
Empty file removed docker/ee/.dockerignore
Empty file.
Loading