Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PM25Breakpoints are the breakpoints for PM2.5 in µg/m3 PM25Breakpoints = []Breakpoint{ {0, 12.0}, {12.1, 35.4}, {35.5, 55.4}, {55.5, 150.4}, {150.5, 250.4}, {250.5, 350.4}, {350.5, 500.4}, } // PM10Breakpoints are the breakpoints for PM10 in µg/m3 PM100Breakpoints = []Breakpoint{ {0, 54}, {55, 154}, {155, 254}, {255, 354}, {355, 424}, {425, 504}, {505, 604}, } // AQIBreakpoints are the breakpoints for AQI AQIBreakpoints = []Breakpoint{ {0, 50}, {51, 100}, {101, 150}, {151, 200}, {201, 300}, {301, 400}, {401, 500}, } // AQI Name Designations AQIDesignations = []string{ "Good", "Moderate", "Unhealthy for Sensitive Groups", "Unhealthy", "Very Unhealthy", "Hazardous", "Hazardous", } ErrBeyondTheScale = errors.New("beyond the scale") )
Functions ¶
func AQIDesignationFromIndex ¶
Types ¶
type Breakpoint ¶
Click to show internal directories.
Click to hide internal directories.