earth-system-radiation / rte-rrtmgp

RTE+RRTMGP is a set of codes for computing radiative fluxes in planetary atmospheres.
BSD 3-Clause "New" or "Revised" License
74 stars 67 forks source link

Simplify index logic in subroutine interpolate_3D in mo_gas_optics_kernels.F90 #151

Closed climbfuji closed 2 years ago

climbfuji commented 2 years ago

This PR simplifies the logic in subroutine interpolate_3D in mo_gas_optics_kernels.F90. I have not run any tests with this except for compiling it, but from a visual inspection this should produce the same results.

RobertPincus commented 2 years ago

@climbfuji Can you change the target of this PR to develop? Maybe cherry-pick this one commit on top of your local version of develop first. That way the change will make to All The Branches.

climbfuji commented 2 years ago

Done, but now there are conflicts. Will have to create an entirely new PR. Sometime later today.

climbfuji commented 2 years ago

Replaced by https://github.com/earth-system-radiation/rte-rrtmgp/pull/152