Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

CIN in CAM outputs

AndrewY

New Member
Hi,

I'm running CESM2 with the compset FHIST. I would like to include convective inhibition (CIN) in the model outputs. I managed to add that field to history tapes by modifying user_nl_cam but it turned out the CIN for every grid in the output was 0 J/kg. Does anyone know why this happened? Could this issue be related to the type of compset?

Thank you!
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Looking at the code for cam6_3_072, I see an addfld call for 'CIN' in convect_shallow.F90, but I do not see a corresponding outfld call. I believe you have found a bug, and I opened an issue in CAM. You can see the bug report at: convect_shallow.F90 has CIN in an addfld call, but there is no corresponding outfld call · Issue #674 · ESCOMP/CAM

As I am a software engineer, I am not sure what value should be written out to this field. I would suggest that you figure out which variable should be output and add an outfld call to your version of the convect_shallow.F90 code.
 
Top