tsgettoolbox.tsgettoolbox.ncei_normal_hly¶
- tsgettoolbox.tsgettoolbox.ncei_normal_hly(stationid)¶
global:station::H:NCEI Normal hourly
Requires registration and free API key.
For every datatype and record there is a set of meta-data flags. For the GHCNDMS dataset, the flags are:
'Total Missing','Consecutive Missing'
Total Missing:
Defined as total number of days observation/element is missing in that month. This can be taken as a measure of quality or completeness as the higher the number of days sampled in the month, the more representative the value is for the entire month.
Consecutive Missing:
Defined as the maximum number of consecutive days in the month that an observation/element is missing.
The following table lists the datatypes available for the annual dataset. Not all datatypes are available for all stations.
Code
Description
HLY-CLDH-NORMAL
Cooling degree hours
HLY-CLOD-PCTBKN
Clouds broken percentage
HLY-CLOD-PCTCLR
Clouds clear percentage
HLY-CLOD-PCTFEW
Clouds few percentage
HLY-CLOD-PCTOVC
Clouds overcast percentage
HLY-CLOD-PCTSCT
Clouds scattered percentage
HLY-DEWP-10PCTL
Dew point 10th percentile
HLY-DEWP-90PCTL
Dew point 90th percentile
HLY-DEWP-NORMAL
Dew point mean
HLY-HIDX-NORMAL
Heat index mean
HLY-HTDH-NORMAL
Heating degree hours
HLY-PRES-10PCTL
Sea level pressure 10th percentile
HLY-PRES-90PCTL
Sea level pressure 90th percentile
HLY-PRES-NORMAL
Sea level pressure mean
HLY-TEMP-10PCTL
Temperature 10th percentile
HLY-TEMP-90PCTL
Temperature 90th percentile
HLY-TEMP-NORMAL
Temperature mean
HLY-WCHL-NORMAL
Wind chill mean
HLY-WIND-1STDIR
Prevailing wind direction (1-8)
HLY-WIND-1STPCT
Prevailing wind percentage
HLY-WIND-2NDDIR
Secondary wind direction (1-8)
HLY-WIND-2NDPCT
Secondary wind percentage
HLY-WIND-AVGSPD
Average wind speed
HLY-WIND-PCTCLM
Percentage calm
HLY-WIND-VCTDIR
Mean wind vector direction
HLY-WIND-VCTSPD
Mean wind vector magnitude
- Parameters:
stationid – The station id. from the first column of https://www.ncei.noaa.gov/pub/data/ghcn/daily/ghcnd-stations.txt
start_date (str) –
[optional, defaults to first date in time-series, input filter]
The start_date of the series in ISOdatetime format, or ‘None’ for beginning.
end_date (str) –
[optional, defaults to last date in time-series, input filter]
The end_date of the series in ISOdatetime format, or ‘None’ for end.