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?

## Using weather data with moisture content instead of HREL

### 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

If you don't know the barometric pressure, a rough estimate will do. For a location at height

Regards,

Thomas

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

### 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

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

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

So it's all the better And please keep in mind that the pressure at station height is required, not the pressure at sea level.

Regards,

Thomas

Regards,

Thomas