Skip to content

Commit 8af26c3

Browse files
committed
add explanatory comment
1 parent 0fc6442 commit 8af26c3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pvlib/iotools/meteonorm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,8 @@ def _get_meteonorm(
532532

533533
# Check for None type in case of TMY request
534534
# Check for DateParseError in case of relative times, e.g., '+3hours'
535+
# TODO: remove ValueError when our minimum pandas version is high enough
536+
# to make it unnecessary (2.0?)
535537
if (start is not None) & (start != 'now'):
536538
try:
537539
start = pd.Timestamp(start)

0 commit comments

Comments
 (0)