我正在使用openweathermap.org获取城市的天气信息。
jsonp调用正在工作,一切正常,但是返回的对象中包含未知单位的温度信息:
{
//...
"main": {
"temp": 290.38, // What unit of measurement is this?
"pressure": 1005,
"humidity": 72,
"temp_min": 289.25,
"temp_max": 291.85
},
//...
}
这里有个演示,它会console.log
完整的对象。
我认为返回的温度不是华氏度,因为将华氏度的290.38
转换为摄氏度是143.544
。
有人知道openweathermap返回的温度单位是什么吗?