Skip to content

Commit

Permalink
DAS-1077 - Add geographic grid bounding box spatial subsetting functi…
Browse files Browse the repository at this point in the history
…ons for HOSS.
  • Loading branch information
owenlittlejohns committed May 25, 2021
1 parent 5ae06a4 commit aa3f8f1
Show file tree
Hide file tree
Showing 15 changed files with 1,610 additions and 85 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ coverage.xml
.pytest_cache/
coverage
test-reports
tests/reports

# Translations
*.mo
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ FROM continuumio/miniconda3

WORKDIR "/home"

# Copy requirements into the container
# Copy Conda requirements into the container
COPY ./conda_requirements.txt conda_requirements.txt
COPY ./pip_requirements.txt pip_requirements.txt

# Create Conda environment
RUN conda create -y --name subsetter --file conda_requirements.txt python=3.7 -q \
--channel conda-forge \
--channel defaults

# Copy additional Pip dependencies into the container
COPY ./pip_requirements.txt pip_requirements.txt

# Install additional Pip dependencies
RUN conda run --name subsetter pip install --no-input -r pip_requirements.txt

Expand Down
1 change: 1 addition & 0 deletions conda_requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# This file should contain any requirements installed via Conda
hdf5==1.12.0
3 changes: 2 additions & 1 deletion pip_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# This file should contain requirements to be installed via Pip.
--extra-index-url https://maven.earthdata.nasa.gov/repository/python-repo/simple
# Packages available only from Maven
sds-varinfo ~= 0.1.0
sds-varinfo ~= 0.1.1

# Open source packages available from PyPI
netCDF4 ~= 1.5.6
numpy ~= 1.18.4
pyyaml ~= 5.4.0
harmony-service-lib ~= 1.0.4
Loading

0 comments on commit aa3f8f1

Please sign in to comment.