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

snapshot...

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