meteoJS/sounding . Sounding
Source: Sounding.
Class represents an atmospheric (radio-)sounding.
Property
new Sounding([options])
Parameter
Name | Type | Optional | Description |
---|---|---|---|
options |
|
Yes |
Options. |
Property
parcelCollection module:meteoJS/base/collection.Collection
Methods
addLevel(levelData[, options]) → module:meteoJS/sounding.Sounding
Adds/replaces Data for a certain level.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
levelData |
|
Data to add. |
|
options |
Yes |
Options. |
- Returns
addLevels(levelsData[, options]) → module:meteoJS/sounding.Sounding
Adds/replaces sounding data.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
levelsData |
Array of module:meteoJS/sounding~levelData |
|
Array with data at different levels. |
options |
Yes |
Options. |
- Returns
calculateMissingData(d) → module:meteoJS/sounding~levelData
Calculates different parameters, if missing.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
d |
|
Data. |
- Returns
-
module:meteoJS/sounding~levelData
Adjusted data.
getData(pres) → (module:meteoJS/sounding~levelData or undefined)
Get the data for a specific level. Returns the levelData as passed to the constructor or addLevel.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
pres |
float |
|
Level [hPa]. |
- Returns
-
(module:meteoJS/sounding~levelData or undefined)
Data at a level, undefined if no data available.
getLevels() → Array of module:meteoJS/sounding~levelData
Get data for all defined levels. Upward sorted.
- Returns
-
Array of module:meteoJS/sounding~levelData
Array of all the data.
getNearestLevel(pres) → (float or undefined)
Get nearest level [hPa] with data.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
pres |
float |
|
Pressure [hPa]. |
- Returns
-
(float or undefined)
Level with data or undefined. [hPa]
removeLevel(pres) → module:meteoJS/sounding.Sounding
Removes the Data for a certain level (if existing).
Parameter
Name | Type | Optional | Description |
---|---|---|---|
pres |
float |
|
Remove the data at this Level [hPa]. |
- Returns