@@ -94,7 +94,7 @@ def read_tmy3(filename=None, coerce_year=None, recolumn=True):
94
94
TMYData.ZenithlumUncertainty Uncertainty based on random and bias error estimates see [1] section 2.10
95
95
TMYData.TotCld Amount of sky dome covered by clouds or obscuring phenonema at time stamp, tenths of sky
96
96
TMYData.TotCldSource See [1], Table 1-5, 8760x1 cell array of strings
97
- TMYData.TotCldUnertainty See [1], Table 1-6
97
+ TMYData.TotCldUncertainty See [1], Table 1-6
98
98
TMYData.OpqCld Amount of sky dome covered by clouds or obscuring phenonema that prevent observing the sky at time stamp, tenths of sky
99
99
TMYData.OpqCldSource See [1], Table 1-5, 8760x1 cell array of strings
100
100
TMYData.OpqCldUncertainty See [1], Table 1-6
@@ -246,7 +246,7 @@ def _recolumn(tmy3_dataframe):
246
246
'DNillum' , 'DNillumSource' , 'DNillumUncertainty' , 'DHillum' ,
247
247
'DHillumSource' , 'DHillumUncertainty' , 'Zenithlum' ,
248
248
'ZenithlumSource' , 'ZenithlumUncertainty' , 'TotCld' , 'TotCldSource' ,
249
- 'TotCldUnertainty ' , 'OpqCld' , 'OpqCldSource' , 'OpqCldUncertainty' ,
249
+ 'TotCldUncertainty ' , 'OpqCld' , 'OpqCldSource' , 'OpqCldUncertainty' ,
250
250
'DryBulb' , 'DryBulbSource' , 'DryBulbUncertainty' , 'DewPoint' ,
251
251
'DewPointSource' , 'DewPointUncertainty' , 'RHum' , 'RHumSource' ,
252
252
'RHumUncertainty' , 'Pressure' , 'PressureSource' ,
@@ -346,7 +346,7 @@ def read_tmy2(filename):
346
346
ZenithlumUncertainty See [1], Table 3-4
347
347
TotCld Amount of sky dome covered by clouds or obscuring phenonema at time stamp, tenths of sky
348
348
TotCldSource See [1], Table 3-5, 8760x1 cell array of strings
349
- TotCldUnertainty See [1], Table 3-6
349
+ TotCldUncertainty See [1], Table 3-6
350
350
OpqCld Amount of sky dome covered by clouds or obscuring phenonema that prevent observing the sky at time stamp, tenths of sky
351
351
OpqCldSource See [1], Table 3-5, 8760x1 cell array of strings
352
352
OpqCldUncertainty See [1], Table 3-6
@@ -406,7 +406,7 @@ def read_tmy2(filename):
406
406
407
407
# paste in the column info as one long line
408
408
string = '%2d%2d%2d%2d%4d%4d%4d%1s%1d%4d%1s%1d%4d%1s%1d%4d%1s%1d%4d%1s%1d%4d%1s%1d%4d%1s%1d%2d%1s%1d%2d%1s%1d%4d%1s%1d%4d%1s%1d%3d%1s%1d%4d%1s%1d%3d%1s%1d%3d%1s%1d%4d%1s%1d%5d%1s%1d%10d%3d%1s%1d%3d%1s%1d%3d%1s%1d%2d%1s%1d' # noqa: E501
409
- columns = 'year,month,day,hour,ETR,ETRN,GHI,GHISource,GHIUncertainty,DNI,DNISource,DNIUncertainty,DHI,DHISource,DHIUncertainty,GHillum,GHillumSource,GHillumUncertainty,DNillum,DNillumSource,DNillumUncertainty,DHillum,DHillumSource,DHillumUncertainty,Zenithlum,ZenithlumSource,ZenithlumUncertainty,TotCld,TotCldSource,TotCldUnertainty ,OpqCld,OpqCldSource,OpqCldUncertainty,DryBulb,DryBulbSource,DryBulbUncertainty,DewPoint,DewPointSource,DewPointUncertainty,RHum,RHumSource,RHumUncertainty,Pressure,PressureSource,PressureUncertainty,Wdir,WdirSource,WdirUncertainty,Wspd,WspdSource,WspdUncertainty,Hvis,HvisSource,HvisUncertainty,CeilHgt,CeilHgtSource,CeilHgtUncertainty,PresentWeather,Pwat,PwatSource,PwatUncertainty,AOD,AODSource,AODUncertainty,SnowDepth,SnowDepthSource,SnowDepthUncertainty,LastSnowfall,LastSnowfallSource,LastSnowfallUncertaint' # noqa: E501
409
+ columns = 'year,month,day,hour,ETR,ETRN,GHI,GHISource,GHIUncertainty,DNI,DNISource,DNIUncertainty,DHI,DHISource,DHIUncertainty,GHillum,GHillumSource,GHillumUncertainty,DNillum,DNillumSource,DNillumUncertainty,DHillum,DHillumSource,DHillumUncertainty,Zenithlum,ZenithlumSource,ZenithlumUncertainty,TotCld,TotCldSource,TotCldUncertainty ,OpqCld,OpqCldSource,OpqCldUncertainty,DryBulb,DryBulbSource,DryBulbUncertainty,DewPoint,DewPointSource,DewPointUncertainty,RHum,RHumSource,RHumUncertainty,Pressure,PressureSource,PressureUncertainty,Wdir,WdirSource,WdirUncertainty,Wspd,WspdSource,WspdUncertainty,Hvis,HvisSource,HvisUncertainty,CeilHgt,CeilHgtSource,CeilHgtUncertainty,PresentWeather,Pwat,PwatSource,PwatUncertainty,AOD,AODSource,AODUncertainty,SnowDepth,SnowDepthSource,SnowDepthUncertainty,LastSnowfall,LastSnowfallSource,LastSnowfallUncertaint' # noqa: E501
410
410
hdr_columns = 'WBAN,City,State,TZ,latitude,longitude,altitude'
411
411
412
412
tmy2 , tmy2_meta = _read_tmy2 (string , columns , hdr_columns , filename )
0 commit comments