Skip to content

Commit 2d5b043

Browse files
committed
privatize iotools.surfrad.format_index
1 parent 7b3fab5 commit 2d5b043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/iotools/surfrad.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def read_surfrad(filename, map_variables=True):
150150
header=None, names=SURFRAD_COLUMNS)
151151
file_buffer.close()
152152

153-
data = format_index(data)
153+
data = _format_index(data)
154154
missing = data == -9999.9
155155
data = data.where(~missing, np.NaN)
156156

@@ -159,7 +159,7 @@ def read_surfrad(filename, map_variables=True):
159159
return data, metadata
160160

161161

162-
def format_index(data):
162+
def _format_index(data):
163163
"""Create UTC localized DatetimeIndex for the dataframe.
164164
165165
Parameters

0 commit comments

Comments
 (0)