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

snapshot...

parent ec1f6fbe
No related branches found
No related tags found
No related merge requests found
...@@ -63,8 +63,9 @@ def run(): ...@@ -63,8 +63,9 @@ def run():
last_clvr_file = None last_clvr_file = None
last_h5f = None last_h5f = None
num_obs = 0 obs_times = []
num_files = 0 obs_lons = []
obs_lats = []
for idx, time in enumerate(time_keys): for idx, time in enumerate(time_keys):
reports = ice_dict[time] reports = ice_dict[time]
...@@ -93,12 +94,12 @@ def run(): ...@@ -93,12 +94,12 @@ def run():
last_h5f.close() last_h5f.close()
last_h5f = h5f last_h5f = h5f
last_clvr_file = clvr_file last_clvr_file = clvr_file
num_files += 1
else: else:
h5f = last_h5f h5f = last_h5f
cc, ll = nav.earth_to_lc_s(lon_s, lat_s) obs_times.append(time)
gvals = get_grid_values(h5f, 'temp_10_4um_nom', ll[0], cc[0], 20) obs_lons.append(lon)
num_obs += 1 obs_lats.append(lat)
print(num_obs, num_files) cc, ll = nav.earth_to_lc_s(lon_s, lat_s)
\ No newline at end of file gvals = get_grid_values(h5f, 'temp_10_4um_nom', ll[0], cc[0], 20)
\ No newline at end of file
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