From 05ea69c59dfce2b75dc225c63bbf3752bd558c76 Mon Sep 17 00:00:00 2001 From: nickb <nickb@ssec.wisc.edu> Date: Wed, 10 Feb 2021 18:12:34 +0000 Subject: [PATCH] add compression to the tiles produced by satpy. also gets us other satpy updates like the static scaling factors. (fixes #14) --- buildbucket/buildbucket_environment.yaml | 2 +- gridded_glm/libexec/_minute_gridder.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildbucket/buildbucket_environment.yaml b/buildbucket/buildbucket_environment.yaml index d2231fa..98e0204 100644 --- a/buildbucket/buildbucket_environment.yaml +++ b/buildbucket/buildbucket_environment.yaml @@ -27,4 +27,4 @@ dependencies: - git+https://github.com/deeplycloudy/lmatools.git@minvaluegrids - git+https://github.com/deeplycloudy/stormdrain.git - git+https://github.com/deeplycloudy/glmtools.git@master - - git+https://github.com/pytroll/satpy.git@master \ No newline at end of file + - git+https://github.com/pytroll/satpy.git@7ae7b274a01e5e170bd2cf0f18ccf53b0bd33ada \ No newline at end of file diff --git a/gridded_glm/libexec/_minute_gridder.py b/gridded_glm/libexec/_minute_gridder.py index 72e5e0f..cac2087 100644 --- a/gridded_glm/libexec/_minute_gridder.py +++ b/gridded_glm/libexec/_minute_gridder.py @@ -241,8 +241,8 @@ if __name__ == '__main__': source_name="", # You could probably make source_name an empty string. I think it is required by the writer for legacy reasons but isn't actually used for the glm output base_dir=tempdir_path, # base_dir is the output directory. I think blank is the same as current directory. tile_size=(506, 904), # tile_size is set to the size of the GLMF sample tiles we were given and should match the full disk ABI tiles which is what they wanted - check_categories=False) # check_categories is there because of that issue I mentioned where DQF is all valid all the time so there is no way to detect empty tiles unless we ignore the "category" products - + check_categories=False, # check_categories is there because of that issue I mentioned where DQF is all valid all the time so there is no way to detect empty tiles unless we ignore the "category" products + compress=True) # pick up output files from the tempdir # output looks like: OR_GLM-L2-GLMC-M3_G17_T03_20200925160040.nc -- GitLab