Converts relative humidity (RH) to actual vapour pressure (AVP) using an estimation with maximum and minimum temperature. This function exists because SWAP uses AVP whereas many datasets contain RH. Read more on fao.org
Details
Note: if you would like to use this for hourly AVP, then just use the same value for tmin and tmax