sea level pressure functions pslec and pslhor

From: Andy Show <annddyshow_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 11 2014 - 13:01:00 MST

Dear NCL users,

I want to calculate the sea level pressure and find three NCL
functions: pslec, pslhor and pslhyp.
I have some confusion about the first two pslec and pslhor.
1) According to the manual, the argument ps in pslec is a two-dimensional
array.* S*o, pslec can only be used at one time step, if
t(time,lev,lat,lon) is a 4-D arry.
2) The argument pres in pslec is different from that in pslhor. if pres in
pslec is the pressure at the lowest vertical level, how is the vertical
pressure of argument t specified in pslec?

Thank you.

-------------------------------------------------------------------------------------------------------------------------------------------
*pslec*

*Computes sea level pressure using the ECMWF formulation.*
*Prototype*

* function pslec (*
* t : numeric, *
* phis [*][*] : numeric, *
* ps [*][*] : numeric, *
* pres : numeric *
* )*

* return_val [dimsizes(ps)] : numeric*
*Arguments*

*t*
*A multi-dimensional array or scalar value equal to the temperature in K.*

*phis*
*A two-dimensional array equal to the surface geopotential in m^2/s^2. The
rightmost two dimensions must be lat and lon.*

*ps*
*A two-dimensional array equal to the surface pressure in Pa. Must be the
same size as phis.*

*pres*
*A multi-dimensional array or scalar value equal to the pressure in Pa.
Should correspond to the lowest vertical level. Must be at least two
dimensions. The rightmost two dimensions must be lat and lon.*
*======================================================================*
*pslhor*
*Computes sea level pressure using the ECMWF formulation and Trenberth's
horizontal correction.*

*Prototype*

* function pslhor (*
* z : numeric, *
* t : numeric, *
* phis [*][*] : numeric, *
* ps : numeric, *
* pres : numeric, *
* lats : numeric *
* )*

* return_val : numeric*
*Arguments*

*z*
*A multi-dimensional array equal to the geopotential height. Must be at
least three dimensions. The rightmost three dimensions must be level, lat
and lon. The level dimension must be ordered bottom-to-top.*

*t*
*A multi-dimensional array equal to the temperature in K. Must be the same
size as z.*

*phis*
*A two-dimensional array equal to the surface geopotential in m^2/s^2. The
rightmost two dimensions must be lat and lon.*

*pres*
*A multi-dimensional array or scalar value equal to the pressure in Pa.
Must be the same size as z.*

*ps*
*A multi-dimensional array equal to the surface pressure in Pa. The
rightmost three dimensions must be the same size as z.*

*lats*
*A one-dimensional array equal to latitudes.*

-----------------------------------------------------------------------------------------------------------------------------------

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 11 13:01:11 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:26:18 MST