Skip to content

Commit

Permalink
Add doc string changes from adriesse
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Driesse <anton.driesse@pvperformancelabs.com>
  • Loading branch information
AdamRJensen and adriesse authored Dec 12, 2023
1 parent 64972a1 commit f130248
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pvlib/iotools/sodapro.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,8 @@ def get_cams(latitude, longitude, start, end, email, identifier='mcclear',
timeout=timeout)

# Response from CAMS follows the status and reason format of PyWPS4
# If an error occurs on our side, we will return error 400 - bad request
# Additional information is available in the response text so
# we add it here
# If an error occurs on the server side, it will return error 400 - bad request

Check failure on line 224 in pvlib/iotools/sodapro.py

View workflow job for this annotation

GitHub Actions / flake8-linter

E501 line too long (83 > 79 characters)
# Additional information is available in the response text, so it is added

Check failure on line 225 in pvlib/iotools/sodapro.py

View workflow job for this annotation

GitHub Actions / flake8-linter

W291 trailing whitespace
# to the error displayed to facilitate users effort to fix their request
if not res.ok:
errors = res.text.split('ows:ExceptionText')[1][1:-2]
Expand Down

0 comments on commit f130248

Please sign in to comment.