McIDAS-X User's Guide
Version 2023.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


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.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]