Dew point calculation library
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Unit tests Jul 1, 2018
.gitignore Add demo screenshot Jan 18, 2018
.travis.yml
LICENSE Create LICENSE Jan 16, 2018
README.md
build.gradle Add gson dependency Jun 22, 2018
screenshot_demo.png Add demo screenshot Jan 18, 2018
settings.gradle Initial commit Jan 16, 2018

README.md

Ersa

Dew point calculation library

Release Build Status

Gradle

Add the JitPack repository in your root build.gradle at the end of repositories:

repositories {
    maven {
        url 'https://www.jitpack.io'
    }
}

Add the dependency:

dependencies {
    compile 'com.github.Pygmalion69:Ersa:0.3'
}

Example

Temperature temperature = new Temperature(20, Scale.CELSIUS);
Temperature dewPoint = new Temperature(Scale.CELSIUS);
double relativeHumidity = 60;

Dew dew = new Dew();

double kelvin = temperature.getKelvin();
dewPoint.setKelvin(dew.dewPoint(relativeHumidity, kelvin));
double dewPointC = dewPoint.getTemperature();

Demo

A demo is included in the project.

Dew Point Demo