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

How to extract PHIS(ncol) variable in a subroutine in CAM?

Hi I want to specify the SST as a function of lapse rate in aquaplanet and want to make changes in the Ocn_comp.F90 file in the cam_aqua directory. I need to use the phis variable in this file in order to specify SST as a function of height in aquaplanet model. Can any one help me out on how to call phis variable from this file? 
 
Top