Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculate dewpoint #130

Open
holukas opened this issue Jun 23, 2024 · 0 comments
Open

calculate dewpoint #130

holukas opened this issue Jun 23, 2024 · 0 comments
Assignees

Comments

@holukas
Copy link
Owner

holukas commented Jun 23, 2024

from old meteoscreening tool:

def calc_dewpoint(x0,x1):
""" x0 is the relative humidity, x1 is the temperature
"""
k1 = 6.112
k2 = 17.62
k3 = 243.12
dp = k3 * ((k2x1/(k3 + x1) + np.log(x0/100)) / ((k2k3)/(k3 + x1) - np.log(x0/100)))
return dp

@holukas holukas self-assigned this Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant