From 8a365ffc8781ea750b9476a997e72b5c5acedd9e Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 1 Oct 2021 09:24:43 -0500 Subject: [PATCH] minor stuff --- modules/util/geos_nav.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/util/geos_nav.py b/modules/util/geos_nav.py index 587ffab8..3edec1b5 100644 --- a/modules/util/geos_nav.py +++ b/modules/util/geos_nav.py @@ -4,12 +4,6 @@ import numpy as np from scipy import linalg from util.util import haversine_np - -class MyGenericException(Exception): - def __init__(self, message): - self.message = message - - DEG_TO_RAD = np.pi/180.0; RAD_TO_DEG = 180.0/np.pi; r_pol = 6356.5838 # km @@ -258,12 +252,17 @@ def get_navigation(satellite='GOES16', domain='FD'): if domain == 'FD': nav = GEOSNavigation() elif domain == 'CONUS': - pass + nav = GEOSNavigation(sub_lon=-75.0, CFAC=5.6E-05, COFF=-0.101332, + LFAC=-5.6E-05, LOFF=0.128212, num_elems=2500, num_lines=1500) elif satellite == 'GOES17': if domain == 'FD': nav = GEOSNavigation(sub_lon=-137.0) elif domain == 'CONUS': pass + elif satellite == 'H08': + nav = GEOSNavigation(sub_lon=140.7, barycentric_height=42164.0, scan_geom='GEOS', + CFAC=5.58879902955962e-05, LFAC=-5.58879902955962e-05, + COFF=-0.153719917308037, LOFF=0.153719917308037, num_elems=5500, num_lines=5500) return nav -- GitLab