Fixed error in visible light partitioning in pRT
This commit is contained in:
1 parent
5e73437ec5
commit
ccc06c5064
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ copyright = '2020, Adiv Paradise'
|
||||
author = 'Adiv Paradise'
|
||||
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = '3.0.9a4'
|
||||
release = '3.0.9a5'
|
||||
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
||||
+1
-1
@@ -880,7 +880,7 @@ def image(output,imagetimes,gases_vmr, obsv_coords, gascon=287.0, gravity=9.8066
|
||||
|
||||
wvl = nc.c/atmosphere.freq/1e-4
|
||||
|
||||
visible = np.argmin(wvl>830.0)
|
||||
visible = np.argmin(abs(wvl-830.0))
|
||||
|
||||
images = np.zeros((len(imagetimes),nlat*nlon,len(atmosphere.freq)))
|
||||
influxes = np.zeros((len(imagetimes),nlat*nlon,len(atmosphere.freq)))
|
||||
|
||||
Reference in new issue
Block a user