CORDEX-WRF-community / euro-cordex-cmip6

Configuration files for WRF in EURO-CORDEX-CMIP6
2 stars 0 forks source link

CO2 not updating in Noah-MP #1

Closed jesusff closed 9 months ago

jesusff commented 1 year ago

This is a patch agreed to be applied to the new EURO-CORDEX WRF simulations during the meeting on Feb 9th, 2023. It can stay as an open issue here, since there is no clean solution yet.

Noah-MP land surface model reads CO2 partial pressure from MPTABLE.TBL (https://github.com/wrf-model/WRF/blob/0d88b58/run/MPTABLE.TBL#L318). This is inconsistent with climate simulations reading variable CO2 levels in the radiation code (RRTM, RRTMG, CAM) from CAMtr_volume_mixing_ratio. A proper fix would involve some recoding of NoahMP, but, as a minimum, we should get the CO2 value from CAMtr_volume_mixing_ratio and insert it into MPTABLE.TBL. This would update CO2 on every restart; more than enough.

There is a small script to insert the values here.

jesusff commented 9 months ago

This is the sample script to do the job: https://github.com/SantanderMetGroup/WRF4G/blob/devel/wrf4g/data/wn/bin/wrfpreprocessor.mptableCO2

jesusff commented 9 months ago

This is already in the README-checklist.md. Closing