|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.jmet.MetUnits
public class MetUnits
Class for defining a few common atmospheric science units which don't conform to the standards used by the VisAD netCDF Units package. Use the makeSymbol method to return a "proper" unit symbol from a common one (ex: input mph to get mi/h). Also allows one to input a common symbol in upper case (MPH) and get the proper one back (mi/h).
Constructor Summary | |
---|---|
MetUnits()
Construct an instance of this class and add some common pressure units to the default database. |
Method Summary | |
---|---|
java.lang.String |
makeSymbol(java.lang.String commonSymbol)
Create a 'proper' unit symbol from a common one (ie: mph -> mi/h instead of milliphots) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetUnits() throws VisADException
VisADException
Method Detail |
---|
public java.lang.String makeSymbol(java.lang.String commonSymbol)
commonSymbol
- is the String of the original unit name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |