Fixed error in visible light partitioning in pRT

This commit is contained in:
Adiv Paradise committed 2022-03-05 11:27:52 -05:00
1 parent 5e73437ec5
commit ccc06c5064
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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)))
+1 -1
View File
@@ -3,7 +3,7 @@ import os
setup(
name='exoplasim',
version='3.0.9a4',
version='3.0.9a5',
packages=['exoplasim',],
zip_safe=False,
install_requires=["numpy>=1.16","matplotlib","scipy"],