meteoJS/modelviewer/nwpResources . NWPResources
Source: modelviewer/
For usage of NWP (numerical weather prediction). This class is designed to use the modelviewer for NWP.
Properties
new NWPResources()
Properties
accumulations module:meteoJS/modelviewer/variableCollection.VariableCollection
Collection of all defined accumulations.
fields module:meteoJS/modelviewer/variableCollection.VariableCollection
Collection of all defined fields.
levels module:meteoJS/modelviewer/variableCollection.VariableCollection
Collection of all defined levels.
models module:meteoJS/modelviewer/variableCollection.VariableCollection
Collection of all defined models.
regions module:meteoJS/modelviewer/variableCollection.VariableCollection
Collection of all defined regions.
runs module:meteoJS/modelviewer/variableCollection.VariableCollection
Collection of all defined runs.
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
|
||||||||||||||||||||
option.sdatetime |
(Date or undefined) |
Yes |
Datetime. |
- Returns