Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion op.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def make_bins_read_cross(self,var,atm):
if np.isinf(log_highT ): log_highT = -100.

inter_T = interpolate.interp1d([Tlow,Thigh], [log_lowT,log_highT], axis=0) # at wavelength ld, interpolating between Tlow and Thigh in log10
if inter_T(Tz) == -100: var.cross_T[sp][lev, n] == 0.
if inter_T(Tz) == -100: var.cross_T[sp][lev, n] = 0.
else: var.cross_T[sp][lev, n] = 10**(inter_T(Tz))

# update: inerpolation in log10 for cross sections and linearly between Tlow and Thigh
Expand Down