@@ -90,7 +90,7 @@ def get_pvgis_hourly(latitude, longitude, start=None, end=None,
90
90
userhorizon: list of float, default: None
91
91
Optional user specified elevation of horizon in degrees, at equally
92
92
spaced azimuth clockwise from north, only valid if ``usehorizon`` is
93
- true, if ``usehorizon`` is true but ``userhorizon`` is ``None`` then
93
+ true, if ``usehorizon`` is true but ``userhorizon`` is not specified then
94
94
PVGIS will calculate the horizon [4]_
95
95
pvcalculation: bool, default: False
96
96
Return estimate of hourly PV production.
@@ -312,7 +312,7 @@ def read_pvgis_hourly(filename, pvgis_format=None, map_variables=True):
312
312
pvgis_format : str, optional
313
313
Format of PVGIS file or buffer. Equivalent to the ``outputformat``
314
314
parameter in the PVGIS API. If ``filename`` is a file and
315
- ``pvgis_format`` is ``None`` then the file extension will be used to
315
+ ``pvgis_format`` is not specified then the file extension will be used to
316
316
determine the PVGIS format to parse. If ``filename`` is a buffer, then
317
317
``pvgis_format`` is required and must be in ``['csv', 'json']``.
318
318
map_variables: bool, default True
@@ -336,11 +336,11 @@ def read_pvgis_hourly(filename, pvgis_format=None, map_variables=True):
336
336
Raises
337
337
------
338
338
ValueError
339
- if ``pvgis_format`` is ``None`` and the file extension is neither
339
+ if ``pvgis_format`` is not specified and the file extension is neither
340
340
``.csv`` nor ``.json`` or if ``pvgis_format`` is provided as
341
341
input but isn't in ``['csv', 'json']``
342
342
TypeError
343
- if ``pvgis_format`` is ``None`` and ``filename`` is a buffer
343
+ if ``pvgis_format`` is not specified and ``filename`` is a buffer
344
344
345
345
See Also
346
346
--------
@@ -575,7 +575,7 @@ def read_pvgis_tmy(filename, pvgis_format=None, map_variables=True):
575
575
pvgis_format : str, optional
576
576
Format of PVGIS file or buffer. Equivalent to the ``outputformat``
577
577
parameter in the PVGIS TMY API. If ``filename`` is a file and
578
- ``pvgis_format`` is ``None`` then the file extension will be used to
578
+ ``pvgis_format`` is not specified then the file extension will be used to
579
579
determine the PVGIS format to parse. For PVGIS files from the API with
580
580
``outputformat='basic'``, please set ``pvgis_format`` to ``'basic'``.
581
581
If ``filename`` is a buffer, then ``pvgis_format`` is required and must
@@ -599,11 +599,11 @@ def read_pvgis_tmy(filename, pvgis_format=None, map_variables=True):
599
599
Raises
600
600
------
601
601
ValueError
602
- if ``pvgis_format`` is ``None`` and the file extension is neither
602
+ if ``pvgis_format`` is not specified and the file extension is neither
603
603
``.csv``, ``.json``, nor ``.epw``, or if ``pvgis_format`` is provided
604
604
as input but isn't in ``['csv', 'epw', 'json', 'basic']``
605
605
TypeError
606
- if ``pvgis_format`` is ``None`` and ``filename`` is a buffer
606
+ if ``pvgis_format`` is not specified and ``filename`` is a buffer
607
607
608
608
See Also
609
609
--------
0 commit comments