@@ -61,7 +61,8 @@ def format_index(data):
61
61
62
62
63
63
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.
65
66
66
67
Parameters
67
68
----------
@@ -70,7 +71,7 @@ def read_midc(filename, variable_map=VARIABLE_MAP):
70
71
variable_map: dictionary
71
72
Dictionary for mapping MIDC field names to pvlib names. See variable
72
73
`VARIABLE_MAP` for default and Notes section below for a description of
73
- its format.
74
+ its format.
74
75
75
76
Returns
76
77
-------
@@ -81,19 +82,20 @@ def read_midc(filename, variable_map=VARIABLE_MAP):
81
82
-----
82
83
Keys of the `variable_map` dictionary should include the first part
83
84
of a MIDC field name which indicates the variable being measured.
84
-
85
+
85
86
e.g. 'Global PSP [W/m^2]' is entered as a key of 'Global'
86
-
87
+
87
88
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>`_.
90
92
91
93
Be sure to check the units for the variables you will use on the
92
94
`MIDC site <https://midcdmz.nrel.gov/>`_.
93
95
94
96
References
95
97
----------
96
- .. [1] National Renewable Energy Laboratory : Measurement and Instrumentation Data Center
98
+ .. [1] NREL : Measurement and Instrumentation Data Center
97
99
`https://midcdmz.nrel.gov/ <https://midcdmz.nrel.gov/>`_
98
100
"""
99
101
data = pd .read_csv (filename )
0 commit comments