earth-system-radiation / pyRTE-RRTMGP

pyRTE-RRTMGP provides a Python interface to the RTE+RRTMGP Fortran software package
https://pyrte-rrtmgp.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Replace hardcoded min value in lw_solver example #32

Closed tcmetzger closed 5 months ago

tcmetzger commented 5 months ago

In the low_noscat usage example, we currently use a hardcoded value (copied from Fortran):

rfmip["pres_level"][:, min_index] = 1.0051835744630002

This should be replaced, either by a more "numpy way" of doing things or at least better documenting where this value comes from.

sehnem commented 5 months ago

@tcmetzger this have been solved with PR that was merged.