8000 fix linting errors · lboeman/pvlib-python@a71773b · GitHub
[go: up one dir, main page]

Skip to content

Commit a71773b

Browse files
committed
fix linting errors
1 parent 90662ca commit a71773b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pvlib/iotools/midc.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def format_index(data):
6161

6262

6363
def read_midc(filename, variable_map=VARIABLE_MAP):
64-
"""Read in NREL MIDC [1]_ weather data.
64+
"""Read in National Renewable Energy Laboratory Measurement and
65+
Instrumentation Data Center [1]_ weather data.
6566
6667
Parameters
6768
----------
@@ -70,7 +71,7 @@ def read_midc(filename, variable_map=VARIABLE_MAP):
7071
variable_map: dictionary
7172
Dictionary for mapping MIDC field names to pvlib names. See variable
7273
`VARIABLE_MAP` for default and Notes section below for a description of
73-
its format.
74+
its format.
7475
7576
Returns
7677
-------
@@ -81,19 +82,20 @@ def read_midc(filename, variable_map=VARIABLE_MAP):
8182
-----
8283
Keys of the `variable_map` dictionary should include the first part
8384
of a MIDC field name which indicates the variable being measured.
84-
85+
8586
e.g. 'Global PSP [W/m^2]' is entered as a key of 'Global'
86-
87+
8788
The 'PSP' indicating instrument is appended to the pvlib variable name
88-
after mapping to differentiate measurements of the same variable. For a full
89-
list of pvlib variable names see the `Variable Style Rules <https://pvlib-python.readthedocs.io/en/latest/variables_style_rules.html>`_.
89+
after mapping to differentiate measurements of the same variable. For a
90+
full list of pvlib variable names see the `Variable Style Rules
91+
<https://pvlib-python.readthedocs.io/en/latest/variables_style_rules.html>`_.
9092
9193
Be sure to check the units for the variables you will use on the
9294
`MIDC site <https://midcdmz.nrel.gov/>`_.
9395
9496
References
9597
----------
96-
.. [1] National Renewable Energy Laboratory: Measurement and Instrumentation Data Center
98+
.. [1] NREL: Measurement and Instrumentation Data Center
9799
`https://midcdmz.nrel.gov/ <https://midcdmz.nrel.gov/>`_
98100
"""
99101
data = pd.read_csv(filename)

0 commit comments

Comments
 (0)
0