From 02179d7caea04cbbc3835163810f1d43777fc30b Mon Sep 17 00:00:00 2001 From: Jeremy Maurer Date: Fri, 15 Sep 2023 22:55:05 -0500 Subject: [PATCH] add general exception for get_sv --- tools/RAiDER/cli/raider.py | 3 ++- tools/RAiDER/losreader.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/RAiDER/cli/raider.py b/tools/RAiDER/cli/raider.py index 0ce02a853..373973e03 100644 --- a/tools/RAiDER/cli/raider.py +++ b/tools/RAiDER/cli/raider.py @@ -240,7 +240,8 @@ def calcDelays(iargs=None): ): ########################################################### - # weather model calculation + # Weather model calculation + ########################################################### logger.debug('Starting to run the weather model calculation') logger.debug(f'Requested date,time: {t.strftime("%Y%m%d, %H:%M")}') logger.debug('Beginning weather model pre-processing') diff --git a/tools/RAiDER/losreader.py b/tools/RAiDER/losreader.py index c11b9a84c..b73158a5a 100644 --- a/tools/RAiDER/losreader.py +++ b/tools/RAiDER/losreader.py @@ -373,6 +373,9 @@ def filter_ESA_orbit_file_p(path: str) -> bool: raise ValueError( 'get_sv: I cannot parse the statevector file {}'.format(los_file) ) + except: + raise ValueError('get_sv: I cannot parse the statevector file {}'.format(los_file)) + if ref_time: idx = cut_times(svs[0], ref_time, pad=pad)