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

snapshot...

parent 9628db45
Branches
No related tags found
No related merge requests found
...@@ -1439,6 +1439,11 @@ def smooth_2d(z, sigma=1.0): ...@@ -1439,6 +1439,11 @@ def smooth_2d(z, sigma=1.0):
return np.stack(z_smoothed) return np.stack(z_smoothed)
# For [Y, X], see above
def smooth_2d_single(z, sigma=1.0):
return gaussian_filter(z, sigma=sigma)
def get_training_parameters(day_night='DAY', l1b_andor_l2='both', satellite='GOES16', use_dnb=False): def get_training_parameters(day_night='DAY', l1b_andor_l2='both', satellite='GOES16', use_dnb=False):
if day_night == 'DAY': if day_night == 'DAY':
train_params_l2 = ['cld_height_acha', 'cld_geo_thick', 'cld_temp_acha', 'cld_press_acha', 'supercooled_cloud_fraction', train_params_l2 = ['cld_height_acha', 'cld_geo_thick', 'cld_temp_acha', 'cld_press_acha', 'supercooled_cloud_fraction',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment