1212# pvlib names. For most variables, only the first three digits are used,
1313# the fourth indicating the instrument. Spectral data (7xxx) uses all
1414# four digits to indicate the variable. See a full list of data element
15- # numbers `here. <http://solardat .uoregon.edu/DataElementNumbers.html>`_
15+ # numbers `here. <http://solardata .uoregon.edu/DataElementNumbers.html>`_
1616
1717VARIABLE_MAP = {
1818 '100' : 'ghi' ,
@@ -60,9 +60,9 @@ def read_srml(filename, map_variables=True):
6060 References
6161 ----------
6262 .. [1] University of Oregon Solar Radiation Monitoring Laboratory
63- ` http://solardat .uoregon.edu/ <http://solardat.uoregon.edu/>`_
63+ http://solardata .uoregon.edu/
6464 .. [2] `Archival (short interval) data files
65- <http://solardat .uoregon.edu/ArchivalFiles.html>`_
65+ <http://solardata .uoregon.edu/ArchivalFiles.html>`_
6666 """
6767 tsv_data = pd .read_csv (filename , delimiter = '\t ' )
6868 data = _format_index (tsv_data )
@@ -218,20 +218,20 @@ def read_srml_month_from_solardat(station, year, month, filetype='PO',
218218 References
219219 ----------
220220 .. [1] University of Oregon Solar Radiation Measurement Laboratory
221- ` http://solardat .uoregon.edu/ <http://solardat.uoregon.edu/>`_
221+ http://solardata .uoregon.edu/
222222 """
223223 file_name = "{station}{filetype}{year:02d}{month:02d}.txt" .format (
224224 station = station ,
225225 filetype = filetype ,
226226 year = year % 100 ,
227227 month = month )
228- url = "http://solardat .uoregon.edu/download/Archive/"
228+ url = "http://solardata .uoregon.edu/download/Archive/"
229229 data = read_srml (url + file_name , map_variables = map_variables )
230230 return data
231231
232232
233233def get_srml (station , start , end , filetype = 'PO' , map_variables = True ,
234- url = "http://solardat .uoregon.edu/download/Archive/" ):
234+ url = "http://solardata .uoregon.edu/download/Archive/" ):
235235 """Request data from UoO SRML and read it into a Dataframe.
236236
237237 The University of Oregon Solar Radiation Monitoring Laboratory (SRML) is
@@ -252,7 +252,7 @@ def get_srml(station, start, end, filetype='PO', map_variables=True,
252252 map_variables : bool, default: True
253253 When true, renames columns of the DataFrame to pvlib variable names
254254 where applicable. See variable :const:`VARIABLE_MAP`.
255- url : str, default: 'http://solardat .uoregon.edu/download/Archive/'
255+ url : str, default: 'http://solardata .uoregon.edu/download/Archive/'
256256 API endpoint URL
257257
258258 Returns
@@ -287,10 +287,9 @@ def get_srml(station, start, end, filetype='PO', map_variables=True,
287287 References
288288 ----------
289289 .. [1] University of Oregon Solar Radiation Measurement Laboratory
290- ` http://solardat .uoregon.edu/ <http://solardat.uoregon.edu/>`_
290+ http://solardata .uoregon.edu/
291291 .. [2] Station ID codes - Solar Radiation Measurement Laboratory
292- `http://solardat.uoregon.edu/StationIDCodes.html
293- <http://solardat.uoregon.edu/StationIDCodes.html>`_
292+ http://solardata.uoregon.edu/StationIDCodes.html
294293 """
295294 # Use pd.to_datetime so that strings (e.g. '2021-01-01') are accepted
296295 start = pd .to_datetime (start )
0 commit comments