Arrgghh. I got this backwards.
you want the forward calculation.
let temp_insitu = theta_fo(salt, temp_pot , p , p_ref )
or
let temp_insitu = theta_fo(salt, temp_pot , p , 0 )
Sorry about that.
Russ
On 31/10/16 17:56, Russ Fiedler wrote:
Hi,
You need the function THETA_FO with the reversed pressure arguments.
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide /variables-xpressions/XPRESSIO NS#_VPID_113
let temp_insitu = theta_fo( salt, temp_pot , p_ref , p )
where p_ref is the reference pressure for potential temperature (usually zero).
i.e
let temp_insitu = theta_fo(salt, temp_pot , 0. , p )
Cheers,
Russ
On 31/10/16 17:19, Manche Shivashankar wrote:
Dear ferret users,
I have a netcdf file in which potential temperature is one of the parameters.
Now I need tom convert this potential temperature to regular temperature.
How it could be done, Please anyone help me.
Thanks and regards
Shivashankar