Unit groups and measurement units

The Weather API includes a unitGroup parameter that allows you to specify the units that will be used when returning weather data. This article describes the units within each group. The API uses four group ids to indicate the units that will be used – us, metric, uk and base.

us – United States

Weather VariableMeasurement Unit
Temperature, Heat Index & Wind ChillDegrees Fahrenheit
PrecipitationInches
SnowInches
Wind & Wind GustMiles Per Hour
VisibilityMiles
PressureMillibars

metric – Metric

Weather VariableMeasurement Unit
Temperature, Heat Index & Wind ChillDegrees Celcius
PrecipitationMillimeters
SnowCentimeters
Wind & Wind GustKilometers Per Hour
VisibilityKilometers
PressureMillibars

uk – United Kingdom

Weather VariableMeasurement Unit
Temperature, Heat Index & Wind ChillDegrees Celcius
PrecipitationMillimeters
SnowCentimeters
Wind & Wind GustMiles Per Hour
VisibilityMiles
PressureMillibars

base – Base or scientific units

Weather VariableMeasurement Unit
Temperature, Heat Index & Wind ChillKelvin
PrecipitationMillimeters
SnowCentimeters
Wind & Wind GustMeters Per Second
Visibility Kilometers
PressureMillibars

Leave a Reply

Your email address will not be published. Required fields are marked *