Skip to content

Commit a06871a

Browse files
Kurt RheeKurt Rhee
authored andcommitted
changed reference to WMO
1 parent 58b246e commit a06871a

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

pvlib/atmosphere.py

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -356,16 +356,11 @@ def rh_from_tdew(temperature, dewpoint, coeff=(6.112, 17.62, 243.12)):
356356
Returns
357357
-------
358358
pd.Series
359-
Relative humidity as percentage (0-100)
360-
361-
Notes
362-
-----
363-
Uses the AEKR coefficients which minimize errors between -40 and
364-
50 degrees C according to reference [1].
359+
Relative humidity as percentage (0.0-100.0)
365360
366361
References
367362
----------
368-
.. [1] https://www.osti.gov/servlets/purl/548871-PjpxAP/webviewable/
363+
.. [1] https://library.wmo.int/viewer/68695/?offset=3#page=220&viewer=picture&o=bookmark&n=0&q=
369364
.. [2] https://www.schweizerbart.de//papers/metz/detail/3/89544/Advancements_in_the_field_of_hygrometry?af=crossref
370365
"""
371366

@@ -383,9 +378,8 @@ def tdew_from_rh(
383378
temperature, relative_humidity, coeff=(6.112, 17.62, 243.12)
384379
):
385380
"""
386-
Calculate dewpoint temperature using Magnus equation with
387-
AEKR coefficients. This is just a reversal of the calculation
388-
in calculate_relative_humidity.
381+
Calculate dewpoint temperature using Magnus equation.
382+
This is just a reversal of the calculation in calculate_relative_humidity.
389383
390384
Parameters
391385
----------
@@ -399,15 +393,9 @@ def tdew_from_rh(
399393
pd.Series
400394
Dewpoint temperature in degrees Celsius
401395
402-
Notes
403-
-----
404-
Derived by solving the Magnus equation for dewpoint given
405-
relative humidity.
406-
Valid for temperatures between -40 and 50 degrees C.
407-
408396
References
409397
----------
410-
.. [1] https://www.osti.gov/servlets/purl/548871-PjpxAP/webviewable/
398+
.. [1] https://library.wmo.int/viewer/68695/?offset=3#page=220&viewer=picture&o=bookmark&n=0&q=
411399
"""
412400
# Calculate the term inside the log
413401
# From RH = 100 * (es/e), we get es = (RH/100) * e

0 commit comments

Comments
 (0)