earthkit.meteo.thermo.fieldlist.pressure_from_metadata¶
- earthkit.meteo.thermo.fieldlist.pressure_from_metadata(fields)¶
Infer pressure in Pa from field metadata.
- Parameters:
fields (
FieldorFieldList) – The field(s) from which the pressure will be inferred from the metadata.- Returns:
The inferred pressure in Pa. If a single Field is provided, a single float is returned. If a FieldList is provided, a list of floats is returned.
- Return type:
floatorlistoffloat