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

snapshot...

parent 8395beea
No related branches found
No related tags found
No related merge requests found
from icing.pireps import pirep_icing from icing.pireps import pirep_icing
from deeplearning.amv_raob import get_images
import numpy as np import numpy as np
import pickle import pickle
import os import os
...@@ -65,15 +64,11 @@ def run(): ...@@ -65,15 +64,11 @@ def run():
last_h5f = None last_h5f = None
for idx, time in enumerate(time_keys): for idx, time in enumerate(time_keys):
if (idx % 4) != 0:
continue
print(100.0*(idx/len(time_keys)))
reports = ice_dict[time] reports = ice_dict[time]
for tup in reports: for tup in reports:
lat, lon, fl, rpt_str = tup lat, lon, fl, rpt_str = tup
lat_s[0] = lat lat_s[0] = lat
lon_s[0] = lon lon_s[0] = lon
cc, ll = nav.earth_to_lc_s(lon_s, lat_s)
try: try:
clvr_ds = get_clavrx_datasource(time) clvr_ds = get_clavrx_datasource(time)
...@@ -96,4 +91,5 @@ def run(): ...@@ -96,4 +91,5 @@ def run():
else: else:
h5f = last_h5f h5f = last_h5f
cc, ll = nav.earth_to_lc_s(lon_s, lat_s)
gvals = get_grid_values(h5f, 'temp_10_4um_nom', ll[0], cc[0], 20) gvals = get_grid_values(h5f, 'temp_10_4um_nom', ll[0], cc[0], 20)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment