From abaa8c30da4f93412ecd62ba76d101d64976afa4 Mon Sep 17 00:00:00 2001 From: Ashton Flinders Date: Thu, 18 Oct 2018 11:17:41 -0700 Subject: [PATCH 1/2] A. Flinders added to contributors --- CONTRIBUTORS.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 58038c1d..5bcd1e64 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -6,4 +6,5 @@ Thomas Lecocq Aurélien Mordret Lukas E. Preiswerk Carmelo Sammarco -Arnaud Watlet \ No newline at end of file +Arnaud Watlet +Ashton Flinders From 61684d9cda9f0d416f4726007b8d63a906f406cf Mon Sep 17 00:00:00 2001 From: Ashton Flinders Date: Thu, 18 Oct 2018 11:19:03 -0700 Subject: [PATCH 2/2] s05compute_mwcs, check for ref file existence --- msnoise/s05compute_mwcs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/msnoise/s05compute_mwcs.py b/msnoise/s05compute_mwcs.py index ad62c1be..65832d46 100644 --- a/msnoise/s05compute_mwcs.py +++ b/msnoise/s05compute_mwcs.py @@ -136,6 +136,9 @@ def main(): rf = os.path.join("STACKS", "%02i" % filterid, "REF", components, ref_name + extension) + # check to see if the ref file exists for this component + if not os.path.isfile(rf): + continue ref = read(rf)[0].data for day in days: for mov_stack in mov_stacks: