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

snapshot...

parent 5d908798
No related branches found
No related tags found
No related merge requests found
...@@ -774,7 +774,7 @@ def analyze(fpath='/Users/tomrink/clavrx_snpp_viirs.A2019080.0100.001.2019080064 ...@@ -774,7 +774,7 @@ def analyze(fpath='/Users/tomrink/clavrx_snpp_viirs.A2019080.0100.001.2019080064
print(grd_lr.shape) print(grd_lr.shape)
leny, lenx = grd_lr.shape leny, lenx = grd_lr.shape
rnd = np.random.normal(loc=0, scale=0.001, size=grd_lr.size) rnd = np.random.normal(loc=0, scale=0.001, size=grd_lr.size)
grd_lr += rnd.reshape(grd_lr.shape) grd_lr = grd_lr + rnd.reshape(grd_lr.shape)
if param == 'cloud_fraction': if param == 'cloud_fraction':
grd_lr = np.where(grd_lr < 0, 0, grd_lr) grd_lr = np.where(grd_lr < 0, 0, grd_lr)
grd_lr = np.where(grd_lr > 1, 1, grd_lr) grd_lr = np.where(grd_lr > 1, 1, grd_lr)
......
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