Skip to content

Commit

Permalink
bug on atmopshere in memls_legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainp committed Feb 11, 2018
1 parent 2342c71 commit dac0986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smrt/utils/memls_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def run(sensor, snowpack, scattering_choice=ABORN, atmosphere=None, memls_path=N
snowpack_dimension = 'snowpack', range(len(snowpack))
return concat_results(result_list, snowpack_dimension)

Tsky = atmosphere.tbdown() if atmosphere is not None else 0
Tsky = atmosphere.tbdown(sensor.frequency, np.cos(sensor.theta), 1) if atmosphere is not None else 0
Tgnd = snowpack.substrate.temperature if snowpack.substrate is not None else 273

if snowpack.substrate is None:
Expand Down

0 comments on commit dac0986

Please sign in to comment.