From d89223f0ca980cf2c90c9f6e65a215a930fb8f27 Mon Sep 17 00:00:00 2001
From: nickb <nickb@ssec.wisc.edu>
Date: Wed, 2 Dec 2020 20:06:24 +0000
Subject: [PATCH] add satpy to the packaging, specifically dhoese's tiled GLM
 branch

---
 buildbucket/buildbucket_environment.yaml | 7 ++++++-
 buildbucket/package.sh                   | 5 +++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/buildbucket/buildbucket_environment.yaml b/buildbucket/buildbucket_environment.yaml
index 84bcd1d..2f6a619 100644
--- a/buildbucket/buildbucket_environment.yaml
+++ b/buildbucket/buildbucket_environment.yaml
@@ -15,4 +15,9 @@ dependencies:
   - scipy
   - setuptools
   - xarray
-  - zarr
\ No newline at end of file
+  - zarr
+  - configobj
+  - pykdtree
+  - pyresample
+  - trollsift
+  - trollimage
\ No newline at end of file
diff --git a/buildbucket/package.sh b/buildbucket/package.sh
index cffb35e..5978cc2 100755
--- a/buildbucket/package.sh
+++ b/buildbucket/package.sh
@@ -30,6 +30,8 @@ GLMTOOLS_REF=${GLMTOOLS_REF:-"master"}
 GLMTOOLS_REPOS=${GLMTOOLS_REPOS:-"https://github.com/deeplycloudy/glmtools.git"}
 GGLM_REPOS=${GGLM_REPOS:-"https://gitlab.ssec.wisc.edu/cspp_geo/cspp-geo-gridded-glm.git"}
 GGLM_REF=${GGLM_REF:-"master"}
+SATPY_REPOS=${SATPY_REPOS:-"https://github.com/pytroll/satpy.git"}
+SATPY_REF=${SATPY_REF:-"feature-scmi-multivar"}
 MINIFY_TARBALL=${MINIFY_TARBALL:-1}
 
 make_dockerfile() {
@@ -67,6 +69,9 @@ pip install --no-deps git+https://github.com/deeplycloudy/lmatools.git@${LMATOOL
 pip install --no-deps git+https://github.com/deeplycloudy/stormdrain.git
 pip install --no-deps git+${GLMTOOLS_REPOS}@${GLMTOOLS_REF}
 
+# Install satpy
+pip install --no-deps git+${SATPY_REPOS}@${SATPY_REF}
+
 # get the current packages files
 # if the caller mounted the repository already then use that
 GGLM_DIR="/work/cspp-geo-gridded-glm/gridded_glm"
-- 
GitLab