Properties

new SkewTlogPDiagram()

Extends
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem

Properties

public

height  unknown

Visible height, in pixels.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#height
public

width  unknown

Visible width, in pixels.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#width

Methods

_normalizeTemperatureRange()

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#_normalizeTemperatureRange

getPByXY(x, y) → number

Pressure for a x-y coordinate. Implementation valid for horizontal isobars, log-P y-axes.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

y

 

 

Pixels from bottom.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getPByXY
Returns

Pressure in hPa.

getTByXP(x, p) → number

Temperature for pressure and x coordinate. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

p

 

 

Pressure in hPa.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getTByXP
Returns

Temperature in Kelvin.

getTByXY(x, y) → number

Temperature for x-y coordinate. Implementation valid for straight isotherms.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

y

 

 

Pixels from bottom.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getTByXY
Returns

Temperature in Kelvin.

getXByPEquiPotTemp(p, thetae) → number

x coordinate for pressure and equipotential temperature . Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

thetae

 

 

Equipotential temperaturen in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByPEquiPotTemp
Returns

Pixels from the left.

getXByPHMR(p, hmr) → number

x coordinate for pressure and humid mixing ratio. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

hmr

 

 

Humid mixing ratio. []

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByPHMR
Returns

Pixels from the left.

getXByPPotentialTemperatur(p, T) → number

x coordinate for pressure and potential temperature. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

T

 

 

Potential temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByPPotentialTemperatur
Returns

Pixels from the left.

getXByPT(p, T) → number

x coordinate for pressure and temperature. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

T

 

 

Temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByPT
Returns

Pixels from the left.

getXByYEquiPotTemp(y, thetae) → number

x coordinate for equipotential temperature and y coordainte. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

y

 

 

Pixels from bottom.

thetae

 

 

Equipotential temperaturen in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByYEquiPotTemp
Returns

Pixels from the left.

getXByYHMR(y, hmr) → number

x coordinate for humid mixing ratio and y coordinate. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

y

 

 

Pixels from bottom.

hmr

 

 

Humid mixing ratio. []

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByYHMR
Returns

Pixels from the left.

getXByYPotentialTemperature(y, T) → number

x coordinate for potential temperature and y coordinate. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

y

 

 

Pixels from bottom.

T

 

 

Potential temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByYPotentialTemperature
Returns

Pixels from the left.

getXByYT(y, T) → number

x coordinate for temperature and y coordinate. Implementation valid for straight isotherms.

Parameters

Name Type Optional Description

y

 

 

Pixels from bottom.

T

 

 

Temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getXByYT
Returns

Pixels from the left.

getYByPEquiPotTemp(p, thetae) → (number or undefined)

y coordinate for pressure and equipotential temperature . Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

thetae

 

 

Equipotential temperaturen in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByPEquiPotTemp
Returns

Pixels from bottom.

getYByPHMR(p, hmr) → (number or undefined)

y coordinate for pressure and humid mixing ratio. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

hmr

 

 

Humid mixing ratio. []

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByPHMR
Returns

Pixels from bottom.

getYByPPotentialTemperatur(p, T) → number

y coordinate for pressure and potential temperature. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

T

 

 

Potential temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByPPotentialTemperatur
Returns

Pixels from bottom.

getYByPT(p, T) → number

y coordinate for pressure and temperature. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

p

 

 

Pressure in hPa.

T

 

 

Temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByPT
Returns

Pixels from bottom.

getYByXEquiPotTemp(x, thetae) → (number or undefined)

y coordinate for equipotential temperature and x coordinate. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

thetae

 

 

Equipotential temperaturen in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByXEquiPotTemp
Returns

Pixels from bottom.

getYByXHMR(x, hmr) → (number or undefined)

y coordinate for humid mixing ratio and x coordinate. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

hmr

 

 

Humid mixing ratio. []

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByXHMR
Returns

Pixels from bottom.

getYByXP(x, p) → number

y coordinate for pressure and x coordinate. Implementation valid for horizontal isobars, log-P y-axes.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

p

 

 

Pressure in hPa.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByXP
Returns

Pixels from bottom.

getYByXPotentialTemperature(x, T) → (number or undefined)

y coordinate for potential temperature and x coordinate. Implementation valid for horizontal isobars, log-P y-axes and straight isotherms.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

T

 

 

Potential temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByXPotentialTemperature
Returns

Pixels from bottom.

getYByXT(x, T) → (number or undefined)

y coordinate for temperature and x coordinate. Implementation valid for straight isotherms.

Parameters

Name Type Optional Description

x

 

 

Pixels from the left.

T

 

 

Temperature in Kelvin.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#getYByXT
Returns

Pixels from bottom.

isDryAdiabatStraightLine() → boolean

Returns if the dry adiabats are straight lines in the defined coordinate system.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#isDryAdiabatStraightLine
Returns

isIsobarsStraightLine() → boolean

Returns if isobars are straight lines in the defined coordinate system.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#isIsobarsStraightLine
Returns

isIsothermsVertical() → boolean

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#isIsothermsVertical
Returns

update([options])

Updates options. To restore a default value, pass undefined.

Parameters

Name Type Optional Description

options

 

Yes

Options.

Values in options have the following properties:

Name Type Optional Description

pressure

 

Yes

Pressure options.

temperature

 

Yes

Temperature options.

Inherited from
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem#update