Skip to content

Commit 0ae7346

Browse files
suggestions from code review vol.2
1 parent 1b1793d commit 0ae7346

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

pvlib/iotools/nasa_power.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@ def get_nasa_power(latitude, longitude, start, end, parameters,
5858
* ``'sb'``: sustainable buildings
5959
* ``'ag'``: agroclimatology
6060
61-
time_standard: str, optional
62-
Must be one of the below options. The default is ``'utc'``.
63-
64-
* ``'utc'`` universal time coordinated
65-
* ``'lst'``: local solar time. 15 degree swath that represents solar
66-
noon at the middle longitude of the swath
67-
6861
elevation: float, optional
6962
The custom site elevation in meters to produce the corrected
7063
atmospheric pressure adjusted for elevation.
@@ -73,7 +66,8 @@ def get_nasa_power(latitude, longitude, start, end, parameters,
7366
for height. Has to be between 10 and 300 m; see [4]_.
7467
wind_surface: str, optional
7568
The definable surface type to adjust the wind speed. For a list of the
76-
surface types see [4]_.
69+
surface types see [4]_. If you provide a wind surface alias please
70+
include a site elevation with the request.
7771
map_variables: bool, optional
7872
When true, renames columns of the Dataframe to pvlib variable names
7973
where applicable. See variable :const:`VARIABLE_MAP`.
@@ -89,6 +83,8 @@ def get_nasa_power(latitude, longitude, start, end, parameters,
8983
data : pd.DataFrame
9084
Time series data. The index corresponds to the start (left) of the
9185
interval.
86+
meta : dict
87+
Metadata.
9288
9389
References
9490
----------
@@ -114,7 +110,7 @@ def get_nasa_power(latitude, longitude, start, end, parameters,
114110
'format': 'json',
115111
'user': None,
116112
'header': True,
117-
'time-standard': time_standard,
113+
'time-standard': 'utc',
118114
'site-elevation': elevation,
119115
'wind-elevation': wind_height,
120116
'wind-surface': wind_surface,

0 commit comments

Comments
 (0)