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

snapshot...

parent 474876eb
No related branches found
No related tags found
No related merge requests found
......@@ -842,10 +842,10 @@ def fov_extract(outfile='/home/rink/fovs_out.h5', train_params=train_params_day)
for i in range(num_obs):
keep_0 = np.logical_or(cld_mask[i,] == 2, cld_mask[i,] == 3) # cloudy
keep_1 = np.invert(np.isnan(cld_top_temp[i,]))
keep = keep_0 & keep_1
keep = np.where(keep, cld_top_temp[i,] < 273.0, False)
k_idxs = sub_indexes[keep]
# keep_1 = np.invert(np.isnan(cld_top_temp[i,]))
# keep = keep_0 & keep_1
# keep = np.where(keep, cld_top_temp[i,] < 273.0, False)
k_idxs = sub_indexes[keep_0]
np.random.shuffle(k_idxs)
if len(k_idxs) > 20:
k_idxs = k_idxs[0:20]
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment