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

snapshot...

parent aa57fb4f
No related branches found
No related tags found
No related merge requests found
...@@ -1560,16 +1560,20 @@ def run_icing_predict_image_1x1(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ou ...@@ -1560,16 +1560,20 @@ def run_icing_predict_image_1x1(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ou
varX_ngth, solzen, satzen, cldmsk, ll, cc = prepare_evaluate1x1(h5f, name_list=nght_train_params, satellite=satellite, domain=domain, offset=8) varX_ngth, solzen, satzen, cldmsk, ll, cc = prepare_evaluate1x1(h5f, name_list=nght_train_params, satellite=satellite, domain=domain, offset=8)
num_elems = len(cc) num_elems = len(cc)
num_lines = len(ll) num_lines = len(ll)
print('data: ', varX_day.shape, varX_ngth.shape, solzen.shape)
print('num_lines, num_elems: ', num_lines, num_elems) print('num_lines, num_elems: ', num_lines, num_elems)
day_idxs = solzen < 80.0 day_idxs = solzen < 80.0
num_day_tiles = np.sum(day_idxs) num_day_tiles = np.sum(day_idxs)
print('num day tiles: ', num_day_tiles)
nght_idxs = solzen > 100.0 nght_idxs = solzen > 100.0
num_nght_tiles = np.sum(nght_idxs) num_nght_tiles = np.sum(nght_idxs)
print('num nght tiles: ', num_nght_tiles)
cldy_idxs = cldmsk >= 2 cldy_idxs = cldmsk >= 2
num_cldy_tiles = np.sum(cldy_idxs) num_cldy_tiles = np.sum(cldy_idxs)
print('num cloudy tiles: ', num_cldy_tiles)
fd_preds = np.zeros(num_lines * num_elems, dtype=np.int8) fd_preds = np.zeros(num_lines * num_elems, dtype=np.int8)
fd_probs = np.zeros(num_lines * num_elems, dtype=np.float32) fd_probs = np.zeros(num_lines * num_elems, dtype=np.float32)
......
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