Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Open-Meteo Climate Projections

เอกสาร API
https://api.sandbase.ai/v1/api/open-meteo/climate

Daily climate model projections to 2050 for any coordinates, from CMIP6 high-resolution models.

ราคา
$0.0001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
5 จำเป็น · 7 ไม่บังคับ

Playground

อินพุต
End of the interval, `yyyy-mm-dd` (ISO 8601).
WGS84 latitude of the location. Multiple coordinates can be comma-separated.
WGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.
Required. Comma-separated climate models: `CMCC_CM2_VHR4`, `FGOALS_f3_H`, `HiRAM_SIT_HR`, `MRI_AGCM3_2_S`, `EC_Earth3P_HR`, `MPI_ESM1_2_XR`, `NICAM16_8S`.
Start of the interval, `yyyy-mm-dd` (ISO 8601).
Grid-cell preference for the coordinate. Default `land`.
Comma-separated list of daily aggregation variables to return. Requires `timezone`. Common values: `temperature_2m_max`, `temperature_2m_min`, `temperature_2m_mean`, `precipitation_sum`, `rain_sum`, `snowfall_sum`, `wind_speed_10m_mean`, `wind_speed_10m_max`, `cloud_cover_mean`, `relative_humidity_2
Return raw model output without statistical bias correction. Default `false`.
Precipitation unit. Default `mm`.
Temperature unit. Default `celsius`.
Time output format. Default `iso8601`.
Wind speed unit. Default `kmh`.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Open-Meteo Climate Projections API

Returns daily climate model projections for one location and date range. You send latitude, longitude, start_date, end_date, models and a daily variable list.

Use cases

  • Compare projected winter maximum temperatures for a city across several climate models.
  • Build a chart of expected daily temperature ranges for a site to plan future infrastructure.
  • Check how much two climate models disagree for the same location and dates.
  • Pull projected values in Fahrenheit or inches for a report that uses US units.

Request

curl -X POST "https://api.sandbase.ai/v1/api/open-meteo/climate" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date": "2024-01-07", "latitude": "52.52", "longitude": "13.41", "models": "MRI_AGCM3_2_S,EC_Earth3P_HR", "start_date": "2024-01-01", "daily": "temperature_2m_max"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
end_datestringYesEnd of the interval, yyyy-mm-dd (ISO 8601).
latitudestringYesWGS84 latitude of the location. Multiple coordinates can be comma-separated.
longitudestringYesWGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.
modelsstringYesRequired. Comma-separated climate models: CMCC_CM2_VHR4, FGOALS_f3_H, HiRAM_SIT_HR, MRI_AGCM3_2_S, EC_Earth3P_HR, MPI_ESM1_2_XR, NICAM16_8S.
start_datestringYesStart of the interval, yyyy-mm-dd (ISO 8601).
cell_selectionstringNoGrid-cell preference for the coordinate. Default land.
dailystringNoComma-separated list of daily aggregation variables to return. Requires timezone. Common values: temperature_2m_max, temperature_2m_min, temperature_2m_mean, precipitation_sum, rain_sum, snowfall_sum, `wind
disable_bias_correctionbooleanNoReturn raw model output without statistical bias correction. Default false.
precipitation_unitstringNoPrecipitation unit. Default mm.
temperature_unitstringNoTemperature unit. Default celsius.
timeformatstringNoTime output format. Default iso8601.
wind_speed_unitstringNoWind speed unit. Default kmh.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "daily": {
    "temperature_2m_max_EC_Earth3P_HR": [
      7.7
    ],
    "temperature_2m_max_MRI_AGCM3_2_S": [
      2.2
    ],
    "time": [
      "2024-01-01"
    ]
  },
  "daily_units": {
    "temperature_2m_max_EC_Earth3P_HR": "°C",
    "temperature_2m_max_MRI_AGCM3_2_S": "°C",
    "time": "iso8601"
  },
  "elevation": 38.0,
  "generationtime_ms": 12.299776077270508,
  "latitude": 52.5,
  "longitude": 13.400009,
  "timezone": "GMT",
  "timezone_abbreviation": "GMT",
  "utc_offset_seconds": 0
}

Response fields

FieldMeaning
daily.timeList of dates in the requested range. The values use the iso8601 format, such as 2024-01-01.
daily.temperature_2m_max_EC_Earth3P_HR / daily.temperature_2m_max_MRI_AGCM3_2_SProjected daily maximum temperature at 2 m, one list per requested model. Each value lines up with the same index in daily.time.
daily_units.temperature_2m_max_EC_Earth3P_HR / daily_units.temperature_2m_max_MRI_AGCM3_2_SUnit for the matching temperature list, here °C.
daily_units.timeFormat of the values in daily.time, here iso8601.
latitude / longitudeCoordinates used for the result. They can differ slightly from the coordinates you sent, for example 52.5 instead of 52.52.
elevationElevation value for the location. It is 38.0 in this response.
timezone / timezone_abbreviation / utc_offset_secondsTime zone used for the daily values and its offset from UTC in seconds. The response shows GMT and 0.
generationtime_msTime the server took to build the response, in milliseconds.

Notes

  • Each variable in daily returns one list per model. The key is the variable name plus the model name, for example temperature_2m_max_MRI_AGCM3_2_S.
  • Pass several models in models as a comma-separated list to compare them in one call.
  • Use cell_selection to choose between land, sea and nearest grid cells. Use disable_bias_correction to get raw model output.
  • To find coordinates from a place name, call Open-Meteo Geocoding. For past observed weather, use Open-Meteo Historical Weather.

Pricing

$0.0001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Open-Meteo$0.0001 ต่อการเรียกJSON
Open-Meteo$0.0001 ต่อการเรียกJSON
Open-Meteo$0.0001 ต่อการเรียกJSON
Open-Meteo$0.0001 ต่อการเรียกJSON
Open-Meteo$0.0001 ต่อการเรียกJSON
Open-Meteo$0.0001 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Open-Meteo Climate Projections API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/open-meteo/climate โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Open-Meteo Climate Projections API ราคาเท่าไร?

$0.0001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Open-Meteo Climate Projections API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: end_date (string), latitude (string), longitude (string), models (string) และ start_date (string). ตัวเลือก: cell_selection (หนึ่งใน land, sea, nearest), daily (string), disable_bias_correction (boolean), precipitation_unit (หนึ่งใน mm, inch), temperature_unit (หนึ่งใน celsius, fahrenheit) และ timeformat (หนึ่งใน iso8601, unixtime) และอีก 1 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Open-Meteo Climate Projections API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Open-Meteo ไหม?

ไม่จำเป็น Open-Meteo Climate Projections ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Open-Meteo API แยกต่างหาก