Get TMY data¶
Get Typical Meteorological Year Data.
Request Format¶
METHOD {URI-scheme}://{apigw-address}/solar-api/{version}/mdmService/getTMYData
Request Parameter¶
Name | Location | Required | Datatype | Description |
---|---|---|---|---|
siteId | Query | true | String | site id |
token | Query | false | String | token, required when user account calls Solar API |
orgId | Query | false | String | orgnization Id, required when service account calls Solar API |
Response Parameters¶
Name | Datatype | Description |
---|---|---|
siteId | String | site id |
year | Int | year |
month | Int | month |
day | Int | day |
hour | Int | hour |
ghi | Double | Global horizontal irradiance |
dni | Double | Beam normal irradiance |
dhi | Double | Diffuse horizontal irradiance |
tdry | Double | Ambient dry bulb temperature |
tdew | Double | Dew point temperature |
rh | Double | Relative humidity |
pres | Double | Atmospheric pressure |
wspd | Double | Wind speed |
wdir | Double | Wind direction |
snowdepth | Double | Snow depth |
albedo | Double | Ground reflectance (albedo) |
lprecipdepth | Double | rainfall |
Error Codes¶
See Common response code.
Example¶
Request Example¶
GET
https://{apigw-address}/solar-api/v1.0/mdmService/getTMYData?siteId=Lnxxxxxs&token=APP_PORTAL_S_P3HKyz7Qpk7FUwSxxxxxxxv3M86n4ZZ
Response Example¶
{
"data": [
{
"tdry": 7.9998,
"year": 1975,
"wspd": 2.6001,
"ghi": 0.0,
"month": 1,
"hour": 0,
"lprecipdepth": 0.0,
"siteId": "Lnxxxxxs",
"day": 1
},
{
"tdry": 7.9998,
"year": 1975,
"wspd": 2.6001,
"ghi": 0.0,
"month": 1,
"hour": 1,
"lprecipdepth": 0.0,
"siteId": "Lnxxxxxs",
"day": 1
}
],
"status": 0,
"msg": "success"
}