Skip to content

Commit c5a4fee

Browse files
authored
Document the URL default get_acis_station_data actually uses (#2950)
* Document the URL default get_acis_station_data actually uses The signature is url="https://data.rcc-acis.org/StnData", which is the station endpoint, but the docstring documented the GridData endpoint. The three sibling readers (get_acis_prism, get_acis_nrcc, get_acis_mpe) all default to GridData and document it correctly, so the entry looks copied across from them when the station reader was added. * Add whatsnew entry for the acis station URL default fix * Apply cwhanse's wording for the whatsnew entry
1 parent 397b655 commit c5a4fee

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎docs/sphinx/source/whatsnew/v0.16.2.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Bug fixes
2121
is scalar (:issue:`2881`, :pull:`2882`)
2222
* :py:func:`pvlib.scaling.wvm` no longer returns all NaNs when ``positions``
2323
contains a single site (:issue:`2895`, :pull:`2896`)
24+
* Document the URL default :py:func:`pvlib.iotools.get_acis_station_data` actually
25+
uses. Its docstring named the GridData endpoint; should be StnData.
26+
(:pull:`2950`)
2427

2528
Enhancements
2629
~~~~~~~~~~~~
@@ -80,3 +83,4 @@ Contributors
8083
* :ghuser:`bfs2021`
8184
* :ghuser:`xiajiahang`
8285
* Jakub Krasuski (:ghuser:`Blizzeq`)
86+
* Dylan Pulver (:ghuser:`dylanpulver`)

‎pvlib/iotools/acis.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def get_acis_station_data(station, start, end, trace_val=0.001,
352352
names where applicable. See variable :const:`VARIABLE_MAP`.
353353
trace_val : float, default 0.001
354354
Value to replace "trace" values in the precipitation data
355-
url : str, default: 'https://data.rcc-acis.org/GridData'
355+
url : str, default: 'https://data.rcc-acis.org/StnData'
356356
API endpoint URL
357357
kwargs:
358358
Optional parameters passed to ``requests.post``.

0 commit comments

Comments
 (0)