Skip to content

Commit

Permalink
fixed some linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
williamhobbs committed Feb 6, 2025
1 parent ee9d526 commit 4af81a7
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pvlib/iotools/goes4.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Get NSRDB GOES V4.0.0
see https://developer.nrel.gov/docs/solar/nsrdb/nsrdb-GOES-aggregated-v4-0-0-download/
see
https://developer.nrel.gov/docs/solar/nsrdb/nsrdb-GOES-conus-v4-0-0-download/
"""

import io
Expand Down Expand Up @@ -68,12 +69,13 @@


def get_goes4(latitude, longitude, api_key, email, names='tmy', interval=60,
attributes=ATTRIBUTES, leap_day=True, full_name=PVLIB_PYTHON,
affiliation=PVLIB_PYTHON, map_variables=True, url=None,
timeout=30):
attributes=ATTRIBUTES, leap_day=True, full_name=PVLIB_PYTHON,
affiliation=PVLIB_PYTHON, map_variables=True, url=None,
timeout=30):
"""
Retrieve NSRDB GOES4 timeseries weather data from the GOES4 API. The NSRDB
is described in [1]_ and the GOES4 API is described in [2]_, [3]_, and [4]_.
is described in [1]_ and the GOES4 API is described in [2]_, [3]_, and

Check failure on line 77 in pvlib/iotools/goes4.py

View workflow job for this annotation

GitHub Actions / flake8-linter

W291 trailing whitespace
[4]_.
Parameters
----------
Expand Down Expand Up @@ -140,8 +142,8 @@ def get_goes4(latitude, longitude, api_key, email, names='tmy', interval=60,
.. warning:: The "DEMO_KEY" `api_key` is severely rate limited and may
result in rejected requests.
.. warning:: GOES4 is limited to data found in the NSRDB, please consult the
references below for locations with available data. Additionally,
.. warning:: GOES4 is limited to data found in the NSRDB, please consult
the references below for locations with available data. Additionally,
querying data with < 30-minute resolution uses a different API endpoint
with fewer available fields (see [4]_).
Expand Down

0 comments on commit 4af81a7

Please sign in to comment.