compsplt: Split composite units

Description Usage Arguments

Description

Split composite units (EJ/yr, billion pass-km, etc.), and find canonical version of unit stored in the corresponding conversion matrix. All units in these matrices needed to be lower case. These matrices need to be symmetric for this function to work for both input and output units

Usage

1
compsplt(unit, convmat)

Arguments

unit

Either iunit or ounit (see modules above)

convmat

Conversion matrices stored in sysdata


JGCRI/gcamrpt documentation built on June 30, 2019, 8:41 a.m.