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

snapshot...

parent 9abf9e24
No related branches found
No related tags found
No related merge requests found
......@@ -433,14 +433,26 @@ exmp_file_fd = '/Users/tomrink/data/OR_ABI-L1b-RadF-M6C16_G16_s20212521800223_e2
# # UR from Taiwan
# lon, lat = 131.117451, 32.850718
# elem_ur, line_ur = (2317, 1087)
taiwan_x0 = 1260
taiwan_y0 = 1085
taiwan_lenx = 1024
taiwan_leny = 1024
taiwain_extent = [-2420, -1420, 1992, 2992] # GEOS coordinates, not line, elem
# ------------ This code will not be needed when we implement a Fully Connected CNN -----------------------------------
def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain='FD'):
w_x = 16
w_y = 16
i_0 = 0
j_0 = 0
geos, xlen, xmin, xmax, ylen, ymin, ymax = get_cartopy_crs(satellite, domain)
if satellite == 'H08':
xlen = taiwan_lenx
ylen = taiwan_leny
i_0 = taiwan_x0
j_0 = taiwan_y0
grd_dct = {name: None for name in name_list}
......@@ -459,9 +471,6 @@ def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain
n_x = int(xlen/w_x)
n_y = int(ylen/w_y)
i_0 = 0
j_0 = 0
cc = []
ll = []
......
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