Skip to content
Snippets Groups Projects
Commit 8a365ffc authored by tomrink's avatar tomrink
Browse files

minor stuff

parent a58751b1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment