skc48@cornell_edu
New Member
Hi,I am looking to access the value of the surface pressure at a gridbox for use in a parameterization I am trying to implement within the mo_lightning.F90 module in CAM5. In looking at other examples in the code I came across the reference "state(c)%ps(i)" which I assume gives the surface pressure at a chunk "c" and column "i." When I print out the value of this to a log file however I am getting values between 600 and 700 hPa, which are too low to be surface pressures. I'm wondering if anyone has encountered this issue before or has suggestions for the best way to go about accessing the surface pressure within CAM5.Thank you for your help,Spencer