File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ def read_srml(filename):
60
60
`http://solardat.uoregon.edu/ <http://solardat.uoregon.edu/>`_
61
61
"""
62
62
tsv_data = pd .read_csv (filename , delimiter = '\t ' )
63
- data = format_index (tsv_data )
63
+ data = _format_index (tsv_data )
64
64
# Drop day of year and time columns
65
65
data = data [data .columns [2 :]]
66
66
67
- data = data .rename (columns = map_columns )
67
+ data = data .rename (columns = _map_columns )
68
68
69
69
# Quality flag columns are all labeled 0 in the original data. They
70
70
# appear immediately after their associated variable and are suffixed
@@ -90,7 +90,7 @@ def read_srml(filename):
90
90
return data
91
91
92
92
93
- def map_columns (col ):
93
+ def _map_columns (col ):
94
94
"""Map data element numbers to pvlib names.
95
95
96
96
Parameters
@@ -118,7 +118,7 @@ def map_columns(col):
118
118
return col
119
119
120
120
121
- def format_index (df ):
121
+ def _format_index (df ):
122
122
"""Create a datetime index from day of year, and time columns.
123
123
124
124
Parameters
You can’t perform that action at this time.
0 commit comments