<div dir="ltr"><br><div>Dear NCL users,</div><div><br></div><div>I am trying to calculate the potential density of the ocean at a specific latitude and divide the cross-section of the ocean at that latitude into different layers based on potential densities at the surface, 2000m deep and 4000m deep. </div><div>I have temperature variable (with dimensions depth and longitude / rlon) and same for salinity. </div><div>can I use the function rho_mwjf for this purpose? as I read in its documentation that it needs variables which are averaged zonally.</div><div><br></div><div>Thanks in advance,</div><div>Amarjiit Pandde.</div><div><br></div><div><br></div></div>