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

snapshot...

parent e1da1619
Branches
No related tags found
No related merge requests found
...@@ -578,10 +578,13 @@ def make_for_full_domain_predict2(h5f, satellite='GOES16', domain='FD'): ...@@ -578,10 +578,13 @@ def make_for_full_domain_predict2(h5f, satellite='GOES16', domain='FD'):
i_0 = taiwan_i0 i_0 = taiwan_i0
j_0 = taiwan_j0 j_0 = taiwan_j0
n_x = int(xlen/s_x) * s_x
n_y = int(ylen/s_y) * s_y
solzen = get_grid_values(h5f, 'solar_zenith_angle', j_0, i_0, None, num_j=ylen, num_i=xlen) solzen = get_grid_values(h5f, 'solar_zenith_angle', j_0, i_0, None, num_j=ylen, num_i=xlen)
satzen = get_grid_values(h5f, 'sensor_zenith_angle', j_0, i_0, None, num_j=ylen, num_i=xlen) satzen = get_grid_values(h5f, 'sensor_zenith_angle', j_0, i_0, None, num_j=ylen, num_i=xlen)
solzen = solzen[0:ylen:s_y, 0:xlen:s_x] solzen = solzen[0:(n_y-1)*s_y:s_y, 0:(n_x-1)*s_x:s_x]
satzen = satzen[0:ylen:s_y, 0:xlen:s_x] satzen = satzen[0:(n_y-1)*s_y:s_y, 0:(n_x-1)*s_x:s_x]
return solzen, satzen return solzen, satzen
# ------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment