diff --git a/modules/util/geos_nav.py b/modules/util/geos_nav.py index 587ffab80ea40142b85926bfb2309586b9181d4e..3edec1b5d334b6f4b790ec0422fea0459705d6f1 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