Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: COMBINE Next: CUR Index

CU

Lists a quantity in up to eight different units.


Formats

CU value unit nunits1 . . nunits8
CU LIST


Parameters

value

amount of the unit; must be a real number

unit

unit to convert

nunits1 . . nunits8

new units converted to; specify up to eight units

LIST

lists a table of units and abbreviations (default)


Remarks

To square or cube the units, append 2 or 3 to the units. For example, IN2 means square inches and IN3 means cubic inches.

The tables below list the valid units and abbreviations.

Distance

Speed

Temperature

CM

centimeters

FPS

feet per second

C

Celsius

DEGL

degrees of latitude

KTS

knots

F

Fahrenheit

FT

feet

KPH

kilometers per hour

K

Kelvin

IN

inches

MPH

miles per hour

 

 

KM

kilometers

MPS

meters per second

 

 

M

meters

 

 

 

 

MI

miles

 

 

 

 

MM

millimeters

 

 

 

 

NMI

nautical miles

 

 

 

 

YD

yards

 

 

 

 

 

Weight

Pressure

Time

G

grams

INHG

inches of mercury

DAY

days

KG

kilograms

MB

millibars

HR

hours

LB

pounds

HPA

hectopascals

MIN

minutes

OZ

ounces

PA

pascals

SEC

seconds

TON

tons

 

 

YR

years


Examples

CU

This entry lists the table of valid units and their abbreviations.

CU 1 MI IN FT YD NMI

This entry converts 1 mile to inches, feet, yards and nautical miles.

CU 30.37 INHG MB

This entry converts 30.37 inches of mercury to millibars.


Table of contents Previous: COMBINE Next: CUR Index
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690