You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calculate Relative Humidity via Magnus Tetens Equation (#2286)
* changed default types to float in solarposition.py
* switched to floats in the docstrings and removed type hints
* added magnus_tetens equations
* line too long in solarposition.py
* revert solarposition.py to pre-PR state
* set default magnus coefficients per conversation in #1744
* moved equations to atmosphere.py, updated function names to suggested, changed type hints in docstring, changed to suggested coefficient format
* moved tests to atmosphere.py tests
* changed reference to WMO
* dry-bult temperature in the docstring
* revert pyproject.toml
* remove uv.lock
* Update pvlib/atmosphere.py
Co-authored-by: Anton Driesse <[email protected]>
* fixing flake8 errors for tdew/rh functions
I have left the formatting of functions outside of the tdew and rh
conversion functions. I can format them to satisfy flake8 linter if
that is desired by maintainers.
Just let me know how I can help.
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* added some unit tests for different coefficients and input types
* refactored tests, removed magnus_tetens, updated whatsnew
* reference and whatsnew
* revert line 36 (linter)
* Update pvlib/atmosphere.py
Co-authored-by: Anton Driesse <[email protected]>
* Update docs/sphinx/source/whatsnew/v0.11.2.rst
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/tests/test_atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pyproject.toml
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Adam R. Jensen <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Adam R. Jensen <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Adam R. Jensen <[email protected]>
* Update pvlib/atmosphere.py
Co-authored-by: Adam R. Jensen <[email protected]>
* added a round-trip test for magnus tetens
Added a new test to show that you can calculate relative humidity from
dewpoint and then calculate dewpoint from relative humidity and it will
be the same as the original dewpoint values
* temperature -> temp_air; dewpoint -> temp_dew
* miscellaneous other cleanup
* tests: put assertions next to calculations
* linter
---------
Co-authored-by: Kurt Rhee <[email protected]>
Co-authored-by: Anton Driesse <[email protected]>
Co-authored-by: Kurt Rhee <[email protected]>
Co-authored-by: Kevin Anderson <[email protected]>
Co-authored-by: Adam R. Jensen <[email protected]>
0 commit comments