Skip to content
Snippets Groups Projects
Commit 3015b32a authored by tomrink's avatar tomrink
Browse files

snapshot...

parent c85b8a43
Branches master
No related tags found
No related merge requests found
......@@ -92,8 +92,12 @@ def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain
ll_pt_a = data_extent[0]
ll_pt_b = data_extent[1]
if domain == 'CONUS':
y_a, x_a = geos_nav.earth_to_lc(ll_pt_a['lon'], ll_pt_a['lat'])
y_b, x_b = geos_nav.earth_to_lc(ll_pt_b['lon'], ll_pt_b['lat'])
y_a, x_a = geos_nav.earth_to_lc(ll_pt_a.lon, ll_pt_a.lat)
y_b, x_b = geos_nav.earth_to_lc(ll_pt_b.lon, ll_pt_b.lat)
i_0 = x_a if x_a < x_b else x_b
j_0 = y_a if y_a < y_b else y_b
xlen = x_b - x_a if x_a < x_b else x_a - x_b
ylen = y_b - y_a if y_a < y_b else y_a - y_b
if satellite == 'H08':
xlen = taiwan_lenx
......
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