m2lines / CAM-ML

Community Atmosphere Model
0 stars 0 forks source link

Output number concentration from YOG for further diagnostics #18

Open jatkinson1000 opened 2 weeks ago

jatkinson1000 commented 2 weeks ago

@paogorman comments:

One output that we have not included from the NN is the number concentration for liquid and ice cloud.

ZM handles this by just using a typical radius and deriving it from the mixing ratio tendencies from liquid and ice cloud. So I think we could follow suit with the following code:

ptend_loc%q(i,k,ixnumliq) = 3._r8 * max(0._r8, ptend%q(i,k,ixcldliq)) / (4._r8*3.14_r8* 8.e-6_r8**3*997._r8)
ptend_loc%q(i,k,ixnumice) = 3._r8 * max(0._r8, ptend%q(i,k,ixcldice)) / (4._r8*3.14_r8*25.e-6_r8**3*500._r8)

(Please see our google doc on the SAM-CAM interface for further discussion). In any event it would be good to output cloud and liquid mixing ratios and number concentrations from your SCAM6 run and see how they behave.

jatkinson1000 commented 2 weeks ago

This would require adding output variables for these quantities and then performing the above calculation as part of the YOG calculation.

It looks like the code above would be a 'number concentration tendency' is that correct?

paogorman commented 2 weeks ago

Yes that is correct.

It looks like the code above would be a 'number concentration tendency' is that correct?

— Reply to this email directly, view it on GitHub https://github.com/m2lines/CAM-ML/issues/18#issuecomment-2178793460, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARPLW65EBEKGGDGDUHT3KJTZIGFGLAVCNFSM6AAAAABJSEBVC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYG44TGNBWGA . You are receiving this because you were mentioned.Message ID: @.***>