unithickness
- unithickness(lnsp[, levels][, lnsp_code])
- unithickness(lnsp, fs_levels[, lnsp_code])
Computes the pressure thickness in Pa of a list of ECMWF model levels from
lnsp(logarithm of surface pressure).- Parameters
- Return type
lnspmust contain an lnsp field, which is identified by its ecCodes paramId. By default the value of 152 is used but it can be overridden by the optionallnsp_code.The list of target model levels depends on the actual arguments:
if no
fs_levelsis specified the thickness is computed for all the model levels defined by the GRIB header inlnsp.if
fs_levelsis specified the thickness is computed for all the model levels infs_levels.if
levelsis specified it defines the list of target model levels whose thickness will be computed.
A missing value in
lnspwill result in a missing value in the corresponding place in the output fieldset.