Skip to content

An R package for calculating water vapor measures, such as vapor pressure, relative humidity, absolute humidity, specific humidity, and mixing ratio, from temperature and dew point.

License

Notifications You must be signed in to change notification settings

caijun/humidity

Repository files navigation

humidity

Build Status CRAN_Status_Badge Monthly Downloads from RStudio Mirror Total Downloads from RStudio Mirror

humidity is an R package for calculating water vapor measures from temperature and dew point.

Introduction

Vapor pressure, relative humidity, absolute humidity, specific humidity, and mixing ratio are commonly used water vapor measures in meteorology. This R package provides functions for calculating saturation vapor pressure (hPa), partial water vapor pressure (Pa), relative humidity (%), absolute humidity (kg/m^3), specific humidity (kg/kg), and mixing ratio (kg/kg) from temperature (K) and dew point (K). Conversion functions between humidity measures are also provided.

Installation

Get the released version from CRAN:

install.packages("humididty")

Or the development version from github:

if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("caijun/humidity", build_vignettes = TRUE)

Tutorial

To get started with humidity package, view available vignettes in the package:

browseVignettes("humidity")

Contact

Bugs and feature requests can be filed to https://github.com/caijun/humidity/issues. Pull requests are also welcome.

About

An R package for calculating water vapor measures, such as vapor pressure, relative humidity, absolute humidity, specific humidity, and mixing ratio, from temperature and dew point.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages