< prev | next >

units < Attributes < Home

units

The units attribute defines the units of measure in which numerical values are displayed in a visual element. Its value should be in the form of a four-character unit descriptor.

Supporting Tags

The units attribute is currently supported by the <axis>, <centerPosition>, <centerSite>, and <data> tags. All of these tags allow the units attribute to be omitted. In this case, the default units are determined by the tag, but they will generally be the same as the units in which the parameter was originally measured by its observation network. If the data in question represent a parameter that is undefined for the observation network, the data will be considered unitless.

Examples

units="fahr" <!-- degrees Fahrenheit -->
units="cels" <!-- degrees Celsius -->
units="mps" <!-- meters per second -->
units="wpsm" <!-- Watts per square meter -->

Notes

Unit descriptors are currently limited to those defined in the OCS Resources, as listed in the table below.

descriptor

unit name

dimension

nada

unitless

unitless

kelv

Kelvin

temperature

fahr

degrees Fahrenheit

temperature

cels

degrees Celsius

temperature

kelvd

Kelvin

temperature difference

fahrd

Fahrenheit degrees

temperature difference

celsd

Celsius degrees

temperature difference

mbar

millibar

pressure

inhg

inches of Mercury

pressure

hpas

hectopascals

pressure

kpas

kilopascals

pressure

prct

percent

percentage

dcml

decimal

percentage

mps

meters per second

velocity

mph

miles per hour

velocity

knot

knots

velocity

mm

millimeters

length

cm

centimeters

length

inch

inches

length

degr

degrees

length

rad

radians

length

foot

feet

length

m

meters

length

km

kilometers

length

mile

miles

length

nmi

nautical miles

length

wpsm

Watts per square meter

irradiance

gpkg

grams per kilogram

ratio

secs

seconds

time

min

minutes

time

hour

hours

time

day

days

time

fort

fortnights

time

volt

volts

electric potential

mV

millivolts

electric potential

dBZ

dBZ

reflectivity

kgm2

kilograms per square meter

mass per unit area

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.