From 0b7b2275fb60559b7f901dc3a653ac4358ced840 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 8 Nov 2024 11:07:09 +0100 Subject: [PATCH 1/2] Update __init__.py docstring had an error --- src/climateforcing/solar/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/climateforcing/solar/__init__.py b/src/climateforcing/solar/__init__.py index 7719af4..a41fa2a 100644 --- a/src/climateforcing/solar/__init__.py +++ b/src/climateforcing/solar/__init__.py @@ -26,7 +26,7 @@ energy use cases. If you want instantaneous zenith angles, you should probably use `pysolar`, but a function is included: ->>> cosz = cos_solar_zenith(jdate, latitude, longitude) +>>> cosz = cos_solar_zenith_angle(jdate, latitude, longitude) Note further that these solar zenith angle calculations are not model-specific. Without access to individual climate model codes, it is impossible to know exactly how From fe62eee5b5c68bc1537ea31acbaf62720e8dec90 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 8 Nov 2024 11:08:32 +0100 Subject: [PATCH 2/2] Update CHANGELOG.rst --- CHANGELOG.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5f2f30b..b0b3ac6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,7 @@ Following the recommendations of https://keepachangelog.com/en/1.0.0/ master ------ +- fixed: docstring in solar pointed to the wrong function (`#36 `_) v0.3.0 ------