-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Do not merge] Split download into directory (#20)
* Split motuclient part * Remove wave model download * Rename download step * Make requirements explicit * Make requirements available in build context * Fix entrypoint
- Loading branch information
Showing
8 changed files
with
28 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM python:3.8 | ||
|
||
# install motuclient | ||
# TODO: cleanup cache? | ||
COPY requirements.txt . | ||
RUN python -m pip install -r requirements.txt | ||
|
||
# drop this later, but we might need a bash for debugging | ||
# TODO: cleanup cache? | ||
RUN apt update && apt install -y bash | ||
|
||
RUN mkdir -p /opt/motupydownload/ | ||
COPY motupydownload.py /opt/motupydownload/. | ||
ENTRYPOINT ["python", "/opt/motupydownload/motupydownload.py"] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
motuclient==1.8.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dask | ||
distributed | ||
netcdf4 | ||
numpy | ||
xarray | ||
zarr |