Skip to content

Pygmalion69/Ersa

Repository files navigation

Ersa

Dew point calculation library

Release

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.4.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

About

Dew point calculation library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages