Skip to content

Commit 095f311

Browse files
Apply suggestions from code review
Co-authored-by: Adam R. Jensen <39184289+AdamRJensen@users.noreply.github.com>
1 parent 0ae7346 commit 095f311

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/sphinx/source/whatsnew/v0.13.1.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ Bug fixes
1919

2020
Enhancements
2121
~~~~~~~~~~~~
22-
* Added function :py:func:`pvlib.iotools.get_nasa_power` to retrieve data from NASA POWER. (:pull:`2500`)
22+
* Added function :py:func:`~pvlib.iotools.get_nasa_power` to retrieve data from NASA POWER.
23+
(:pull:`2500`)
2324

2425
Documentation
2526
~~~~~~~~~~~~~

pvlib/iotools/nasa_power.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
"""Function for reading and retrieving data from NASA POWER."""
1+
"""Functions for reading and retrieving data from NASA POWER."""
22

33
import pandas as pd
44
import requests
55

6-
76
URL = 'https://power.larc.nasa.gov/api/temporal/hourly/point'
87

98
VARIABLE_MAP = {
@@ -18,7 +17,7 @@
1817

1918

2019
def get_nasa_power(latitude, longitude, start, end, parameters,
21-
time_standard='utc', community='re', elevation=None,
20+
community='re', elevation=None,
2221
wind_height=None, wind_surface=None, map_variables=True):
2322
"""
2423
Retrieve irradiance and weather data from NASA POWER.

0 commit comments

Comments
 (0)