org.das2.datum.Basis

Model a basis vector that defines a dimension. For example, Units.us2000 has the getOffsetUnits() → Units.microseconds and getBasis()→ "since 2000-01-01T00:00".

Basis( String id, String description, org.das2.datum.Basis parent, double d, String offsetUnitsString )


physicalZero

special basis representing physical zero for all combinations of physical units.


fahrenheit


kelvin


centigrade


since2000


since2020


since2010


since1980


since1970


since1958


modifiedJulian


julian


since0000


getDescription

getDescription( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getId

getId( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getOffset

getOffset( org.das2.datum.Basis basis, Units u ) → double

return the location of this basis in given basis, in the given units.

Parameters

basis - a Basis
u - an Units

Returns:

a double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


main

main( String[] args ) → void

Parameters

args - a java.lang.String[]

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


registerConverter

registerConverter( org.das2.datum.Basis toBasis, double d, Units u ) → void

specify offset to another basis. Register to

Parameters

toBasis - a Basis
d - a double
u - an Units

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


toString

toString( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]