## Using weather data with moisture content instead of HREL

DavidG
WUFI User
Posts: 8
Joined: Mon Sep 07, 2020 5:08 pm -1100

### Using weather data with moisture content instead of HREL

The weather file I have obtained for a specific location has moisture content (g/kg) - not relative humidity.
Is there a way to use this data?

Thomas
Posts: 331
Joined: Sun Jun 19, 2005 10:33 pm -1100

### Re: Using weather data with moisture content instead of HREL

Hi DavidG,

yes, if you also know the temperature and the barometric pressure you can convert those data to relative humidity.

The formulas are given in our Air Humidity Tutorial. If your data have units kg/kg or g/kg, they are either the mixing ratio or the specific humidity. Ideally, you should know which of them, but for normal atmospheric humidities the difference is small and you can use either formula. Solve the relevant formula for the partial pressure p and use p to calculate the relative humidity.

If you don't know the barometric pressure, a rough estimate will do. For a location at height h above sea level you can estimate the average pressure in Pascals as P = 101325 * exp(-1.2*10^-4 * h).

Regards,
Thomas

DavidG
WUFI User
Posts: 8
Joined: Mon Sep 07, 2020 5:08 pm -1100

### Re: Using weather data with moisture content instead of HREL

Hi Thomas

The data (from Australian Bureau of Meteorology) includes atmospheric pressure and dry bulb temperature so I will work on the calculations you suggest.

Thanks

David

Thomas