new SuperMap.AreaSolarRadiationParameters(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
datasetstring
-
The name of the dataset in the datasource for regional solar radiation, the name uses the format "dataset name@datasource alias". For example: JingjinTerrain@Jingjin. Note: the regional solar radiation data must be a raster dataset.
-
dayEndnumber
-
End date(day N of the year).
-
dayIntervalnumber
-
interval days for the calculation (the smaller, the more calculation time and more accurate result, it must be an integer).
- Default Value: 5
dayStartnumber
Start date(day N of the year).
deleteExistResultDatasetboolean
Whether to delete the existing dataset if the specified result dataset name is identical to the name of an existing dataset. which means not to delete.
diffuseDatasetGridNamestring
Specify the dataset name of solar scattered radiation.
durationDatasetGridNamestring
Specify the dataset name of solar direct radiation duration.
durationDatasetGridNamestring
Specify the dataset name of solar direct radiation.
hourEndnumber
End hour(Hour N of the day).
hourIntervalnumber
interval hours for the calculation (the smaller, the more calculation time and more accurate result, it must be an integer).
- Default Value: 0.5
hourStartnumber
Start hour(Hour N of the day).
latitudenumber
The latitude of the area to be calculated.
targetDatasourceNamestring
Specific datasource name which saves the result dataset; e.g, ”Jingjin”.
timeModestring
Time mode. The value can be “WITHINDAY”(single day) and “MULTIDAYS”(multiple days)。
- Default Value: 'MULTIDAYS'
totalGridNamestring
Specify the dataset name of overall solar radiation.
transmittancenumber
Transmittance of solar radiation through the atmosphere.
Methods
-
static toObject(param, tempObj){Object}
AreaSolarRadiationParameters.js, line 144 -
Transform object of SuperMap.AreaSolarRadiationParameters to Object of JSON.
Name Type Description param
SuperMap.AreaSolarRadiationParameters The AreaSolarRadiationParameters class.
tempObj
SuperMap.AreaSolarRadiationParameters The AreaSolarRadiationParameters class.
Returns:
Type Description Object Object of JSON -
destroy()
AreaSolarRadiationParameters.js, line 130 -
Release the resource. The property that references resource is set to null