geocat.comp.meteorology.saturation_vapor_pressure_slope#
- geocat.comp.meteorology.saturation_vapor_pressure_slope(temperature, tfill=nan)#
Compute the slope [kPa/C] of saturation vapor pressure curve as described in the Food and Agriculture Organization (FAO) Irrigation and Drainage Paper 56 entitled:
Crop evapotranspiration - Guidelines for computing crop water requirement. Specifically, see equation 13 of Chapter 3.
- Parameters:
temperature (
numpy.ndarray
,xarray.DataArray
,list
,float
) – Temperature in Fahrenheittfill (
float
,nan
, optional) – An optional parameter for a fill value in the return value
- Returns:
svp_slope (
numpy.ndarray
,xarray.DataArray
) – The computed slopes of the saturation vapor pressure curve. Will be the same shape as temperature.
Examples
>>> import numpy as np >>> from geocat.comp import saturation_vapor_pressure_slope >>> temp = np.array([50, 60, 70]) >>> saturation_vapor_pressure_slope(temp) array([0.08224261, 0.11322096, 0.153595 ])
See also
Related GeoCAT Functions:
actual_saturation_vapor_pressure()
saturation_vapor_pressure_slope()
Related NCL Functions: satvpr_temp_fao56