geoschem / Cloud-J

Cloud-J is multi-scattering eight-stream radiative transfer model for solar radiation based on Fast-J. It was originally developed by Michael J. Prather.
GNU General Public License v3.0
3 stars 7 forks source link

Quick fix for CESM levels out-of-bound issue (LWEPAR) #15

Closed jimmielin closed 3 months ago

jimmielin commented 3 months ago

Name and Institution (Required)

Name: Haipeng Lin Institution: Harvard Univ.

Describe the update

Set LWEPAR (# of levels with cloud) with a quick fix in CESM.

A permanent fix for runtime definition of this variable is needed, making this PR so the issue can be on radar.

Expected changes

Model should not read out-of-bounds

lizziel commented 3 months ago

See related issue https://github.com/geoschem/Cloud-J/issues/16

lizziel commented 3 months ago

@jimmielin, I am going to do a permanent fix for 14.4.1. You can make this change locally for your test runs for now but I don't plan to merge it.

jimmielin commented 3 months ago

Thanks @lizziel, I'll close this out, I kept it as draft as I know this is not intended for merging, but #16 issue is probably a better venue for developing this.