new NWPResources()

Properties

read-only

accumulations  module:meteoJS/modelviewer/variableCollection.VariableCollection

Collection of all defined accumulations.

read-only

fields  module:meteoJS/modelviewer/variableCollection.VariableCollection

Collection of all defined fields.

read-only

levels  module:meteoJS/modelviewer/variableCollection.VariableCollection

Collection of all defined levels.

read-only

models  module:meteoJS/modelviewer/variableCollection.VariableCollection

Collection of all defined models.

read-only

regions  module:meteoJS/modelviewer/variableCollection.VariableCollection

Collection of all defined regions.

read-only

runs  module:meteoJS/modelviewer/variableCollection.VariableCollection

Collection of all defined runs.

read-only

thresholds  module:meteoJS/modelviewer/variableCollection.VariableCollection

Collection of all defined thresholds.

Method

addVariable(variableCollection[, options]) → module:meteoJS/modelviewer/nwpResources.NWPResources

Creates a Variable-Object and adds it to the VariableCollection.

Parameters

Name Type Optional Description

variableCollection

module:meteoJS/modelviewer/variableCollection.VariableCollection

 

VariableCollection.

options

Object

Yes

Variable options.

Values in options have the following properties:

Name Type Optional Description

id

mixed

Yes

Variable id.

name

string

Yes

Default name.

names

Object with string properties

Yes

Names.

langSortation

Array of string

Yes

Priority of language codes.

option.sdatetime

(Date or undefined)

Yes

Datetime.

Returns

module:meteoJS/modelviewer/nwpResources.NWPResources This.