ESCOMP / ESCOMP/atmospheric_physics

Use molar_mass constituents property to replace get_molar_mass_ratio in RRTMGP gas optics

Open
#244 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
12
Forks
38
Avg merge
11h 16m
Merged PRs (30d)
5

Description

As pointed out by @nusbaume in https://github.com/ESCOMP/atmospheric_physics/pull/230, instead of using the function get_molar_mass_ratio in rrtmgp_lw_gas_optics_data.F90 (which sets the mass ratios per gas), we should set those molar masses in the the constituents registration phase and grab them directly via the constituent properties object's molar_mass property.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.