User Tools

Site Tools


howtos:toolcoding:unit_of_measure_conversions

This is an old revision of the document!


In some cases, you may want to display model data in units of measure that are different than how they are stored in the model. TOOL can handle unit of measure conversions provided that the user defines the new measure in Documenter and properly specifies the unit of measure when defining the shape of a variable. The general steps to implement unit of measure conversions are:

  1. Define relevant measures in Documenter
  2. Specify a unit of measure (altUom) for the source variable shape that matches the unit of measure of the source data
  3. Create a target variable with the same shape as the source variable but with the desired unit of measure (altUom)
  4. Set the target variable equal to the source variable

The target variable will be displayed in the desired unit of measure.

ADD EXAMPLE

howtos/toolcoding/unit_of_measure_conversions.1264109048.txt.gz · Last modified: 2010/01/21 21:24 by deryn.crockett