PageSourceSearch

https://open-meteo.com/_app/immutable/nodes/47.DsiUooVv.js

js open-meteo.com collected 2026-09-24 08:30:49 UTC 35,750 bytes, 76 lines download raw bytes

1import{A as e,At as t,C as n,Ct as r,I as i,L as a,Lt as o,R as s,Rt as c,St as ee,V as l,X as u,_t as te,bt as d,et as f,ft as p,ht as ne,it as re,jt as ie,lt as m,m as ae,nt as oe,pt as se,r as ce,st as le,ut as h,vt as g,w as _,wt as v,x as ue,xt as de,z as y}from"../chunks/index-client.CmB40IKf.chunk.js";import"../chunks/disclose-version.xihTtKlq.chunk.js";import{i as fe}from"../chunks/esm.juTdiX-F.chunk.js";import{i as pe}from"../chunks/transitions.Bxjlk0Ir.chunk.js";import{a as me,f as b,i as he,n as ge,r as _e,s as ve,t as x}from"../chunks/variable-checkbox-groups.va-r9RZG.chunk.js";import{t as ye}from"../chunks/licence-selector.eZGBwTrz.chunk.js";import{t as be}from"../chunks/url-hash-store.xjXA9U_-.chunk.js";import{t as xe}from"../chunks/weather-forecast-error.CrItdPyN.chunk.js";import{t as Se}from"../chunks/weather-forecast-object.CbwfB9L-.chunk.js";import{i as S,n as C}from"../chunks/input.Cex3HgPh.chunk.js";import{t as Ce}from"../chunks/wmo-codes-table.CXPdaxIN.chunk.js";import{O as w,S as T,g as E,k as D,m as O,o as we,u as k,x as Te}from"../chunks/options.CvLqDFUS.chunk.js";import{t as Ee}from"../chunks/additional-options-selects.NUkgUUdl.chunk.js";import{t as De}from"../chunks/info.B2FH0ngm.chunk.js";import{i as Oe,n as ke,r as Ae,t as je}from"../chunks/api-mode-time-selector.X4DqywU9.chunk.js";import{t as Me}from"../chunks/tilt-azimuth-inputs.BQna4Z9y.chunk.js";var A={daily:[],hourly:[],models:[],current:[],minutely_15:[],timezone:`UTC`,location_mode:`location_search`,csv_coordinates:``,timeformat:`iso8601`,wind_speed_unit:`kmh`,temperature_unit:`celsius`,precipitation_unit:`mm`,time_mode:`forecast_days`,past_days:`0`,forecast_days:`7`,end_date:``,start_date:``,past_hours:``,forecast_hours:``,cell_selection:``,past_minutely_15:``,temporal_resolution:``,forecast_minutely_15:``,tilt:`0`,azimuth:`0`},Ne=[[{value:`temperature_2m`,label:`Temperature (2 m)`},{value:`relative_humidity_2m`,label:`Relative Humidity (2 m)`},{value:`dew_point_2m`,label:`Dewpoint (2 m)`},{value:`apparent_temperature`,label:`Apparent Temperature`},{value:`precipitation`,label:`Precipitation (rain + showers + snow)`},{value:`rain`,label:`Rain`},{value:`showers`,label:`Showers`},{value:`snowfall`,label:`Snowfall`},{value:`snow_depth`,label:`Snow Depth`}],[{value:`weather_code`,label:`Weather code`},{value:`pressure_msl`,label:`Sea Level Pressure`},{value:`surface_pressure`,label:`Surface Pressure`},{value:`cloud_cover`,label:`Cloud Cover Total`},{value:`cloud_cover_low`,label:`Cloud Cover Low`},{value:`cloud_cover_mid`,label:`Cloud Cover Mid`},{value:`cloud_cover_high`,label:`Cloud Cover High`},{value:`visibility`,label:`Visibility`},{value:`et0_fao_evapotranspiration`,label:`Reference Evapotranspiration (ET₀)`},{value:`vapour_pressure_deficit`,label:`Vapour Pressure Deficit`}],[{value:`wind_speed_10m`,label:`Wind Speed (10 m)`},{value:`wind_speed_40m`,label:`Wind Speed (40 m)`},{value:`wind_speed_80m`,label:`Wind Speed (80 m)`},{value:`wind_speed_120m`,label:`Wind Speed (120 m)`},{value:`wind_direction_10m`,label:`Wind Direction (10 m)`},{value:`wind_direction_40m`,label:`Wind Direction (40 m)`},{value:`wind_direction_80m`,label:`Wind Direction (80 m)`},{value:`wind_direction_120m`,label:`Wind Direction (120 m)`},{value:`wind_gusts_10m`,label:`Wind Gusts (10 m)`}],[{value:`surface_temperature`,label:`Surface Temperature`},{value:`soil_temperature_0_to_10cm`,label:`Soil Temperature (0-10 cm)`},{value:`soil_temperature_10_to_35cm`,label:`Soil Temperature (10-35 cm)`},{value:`soil_temperature_35_to_100cm`,label:`Soil Temperature (35-100 cm)`},{value:`soil_temperature_100_to_300cm`,label:`Soil Temperature (100-300 cm)`},{value:`soil_moisture_0_to_10cm`,label:`Soil Moisture (0-10 cm)`},{value:`soil_moisture_10_to_35cm`,label:`Soil Moisture (10-35 cm)`},{value:`soil_moisture_35_to_100cm`,label:`Soil Moisture (35-100 cm)`},{value:`soil_moisture_100_to_300cm`,label:`Soil Moisture (100-300 cm)`}]],j=[[{value:`is_day`,label:`Is Day or Night`},{value:`sunshine_duration`,label:`Sunshine Duration`},{value:`wet_bulb_temperature_2m`,label:`Wet Bulb Temperature (2 m)`}],[]],Pe=s(`<link rel="canonical" href="https://open-meteo.com/en/docs/bom-api"/> <meta name="description" content="Weather forecasts from the Australian Bureau of Meteorology ACCESS-G model. Free weather API for non-commercial use, hourly data, no API key required."/>`,1),Fe=y(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-triangle-alert-icon lucide-triangle-alert"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"></path><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg><!>`,1),Ie=s(`This API provides weather forecasts based on the global ACCESS-G model from the Australian
2		Bureau of Meteorology (BOM). For more comprehensive applications, we recommend the <a class="text-link underline" href="/en/docs">Weather Forecast API</a>, which utilises multiple local weather models for forecasts extending up to 16 days.`,1),M=s(`<!> <!>`,1),Le=s(`<!> <small class="text-muted-foreground mt-1">Note: You can further adjust the forecast time range for hourly weather variables using <mark>&forecast_hours=</mark> and <mark>&past_hours=</mark> as shown below.</small> <!>`,1),Re=s(`<!> <small class="text-muted-foreground mt-1">Note: Solar radiation is averaged over the past hour. Use <mark>instant</mark> for radiation at the indicated time. For global tilted irradiance GTI please
3					specify Tilt and Azimuth below.</small> <!>`,1),ze=s(`<div><!></div>`),Be=s(`<!> <!> <form method="get"><!> <div class="mt-6 grid items-start gap-x-6 gap-y-4 lg:grid-cols-2"><div><!> <!></div> <!></div> <div class="mt-6 md:mt-12"><a href="#hourly_weather_variables"><h2 id="hourly_weather_variables" class="text-2xl md:text-3xl">Hourly Weather Variables</h2></a> <!></div> <div class="mt-6"><!></div> <div class="mt-6 md:mt-12"><a href="#daily_weather_variables"><h2 id="daily_weather_variables" class="text-2xl md:text-3xl">Daily Weather Variables</h2></a> <!> <!></div> <div class="mt-6 md:mt-12"><!></div> <div class="mt-3 md:mt-6"><!></div></form> <div class="mt-6 md:mt-12"><!></div> <div class="mt-6 md:mt-12"><a href="#data_sources"><h2 id="data_sources" class="text-2xl md:text-3xl">Data Sources</h2></a> <div class="mt-2 md:mt-4"><p>The API relies on weather forecasts generated by the ACCESS-G model from the Australian Bureau
4			of Meteorology (BOM). It presents data in 1-hour intervals, delivering forecasts for a
5			duration of up to 10 days. The model undergoes four daily runs at 0:00, 6:00, 12:00, and 18:00
6			UTC.</p> <div class="-mx-6 overflow-auto md:ml-0 lg:mx-0"><table class="docs-table w-full min-w-200"><caption>You can find the update timings in the <a class="text-link underline" href="/en/docs/model-updates">model updates documentation</a>.</caption><thead><tr><th scope="col">
6Weather Model</th><th scope="col">Region</th><th scope="col">Spatial Resolution</th><th scope="col">Temporal Resolution</th><th scope="col">Forecast Length</th><th scope="col">Update frequency</th></tr></thead><tbody><tr><th scope="row"><a href="http://www.bom.gov.au/nwp/doc/access/NWPData.shtml" target="_blank">ACCESS-G</a></th><td><div class="flex items-center gap-2"><div class="flex w-[26px] shrink-0 items-center gap-2"><div class="flex h-[26px] w-[26px] items-center justify-center text-[23px]">🌍</div></div> Global</div></td><td>0.15° (~15 km)</td><td>Hourly</td><td>10 days</td><td>Every 6 hours</td></tr></tbody></table></div></div></div> <div class="mt-6 md:mt-12"><a href="#native_model_variables"><h2 id="native_model_variables" class="text-2xl md:text-3xl">Native Model Variables</h2></a> <div class="mt-2 md:mt-4"><p>ACCESS-G directly predicts the fields listed below. Open-Meteo retains these fields or uses
7			them to calculate more convenient API variables. ACCESS-G provides both global and direct
8			solar radiation and native convective rain.</p> <div class="-mx-6 overflow-auto md:ml-0 lg:mx-0"><table class="docs-table w-full min-w-300"><thead><tr><th scope="col">Native ACCESS-G field</th><th scope="col">Level</th><th scope="col">Use in the Open-Meteo API</th></tr></thead><tbody><tr><th scope="row">Temperature</th><td>2 m, surface</td><td><mark>temperature_2m</mark>, <mark>surface_temperature</mark></td></tr><tr><th scope="row">Relative humidity</th><td>2 m</td><td>Relative humidity and dew point</td></tr><tr><th scope="row">U and V wind components</th><td>10 m, model levels near 40/80/120 m</td><td>Wind speed and direction</td></tr><tr><th scope="row">Wind gusts</th><td>10 m</td><td><mark>wind_gusts_10m</mark></td></tr><tr><th scope="row">Mean sea-level pressure</th><td>Mean sea level</td><td><mark>pressure_msl</mark> and derived surface pressure</td></tr><tr><th scope="row">Precipitation, convective rain and snow</th><td>Surface</td><td><mark>precipitation</mark>, <mark>showers</mark>, snowfall</td></tr><tr><th scope="row">Global and direct solar radiation</th><td>Surface</td><td>Global, direct, diffuse radiation, DNI and GTI</td></tr><tr><th scope="row">Cloud cover total, low, mid and high</th><td>Surface</td><td><mark>cloud_cover</mark> and the individual layers</td></tr><tr><th scope="row">Visibility and thunderstorm field</th><td>Surface</td><td><mark>visibility</mark> and weather-code inputs</td></tr><tr><th scope="row">Soil temperature and moisture</th><td>4 layers</td><td>Soil temperature and moisture variables</td></tr></tbody></table></div> <p class="mt-2">Precipitation probability is calculated from the ACCESS-GE ensemble. BOM does not provide a
9			native CAPE field.</p></div></div> <div class="mt-6 md:mt-12"><a href="#derived_variables"><h2 id="derived_variables" class="text-2xl md:text-3xl">Derived Variables</h2></a> <div class="mt-2 md:mt-4"><p>ACCESS-G publishes relative humidity, cloud cover layers, both global and direct solar
10			radiation, showers, wind gusts and visibility natively. Open-Meteo derives the remaining API
11			variables from these native fields.</p> <div class="-mx-6 overflow-auto md:ml-0 lg:mx-0"><table class="docs-table w-full min-w-300"><thead><tr><th scope="col">Derived Variable</th><th scope="col">How is it derived?</th></tr></thead><tbody><tr><th scope="row">Weather code</th><td>Computed from cloud cover, precipitation, convective rain, snowfall, wind gusts, a
12							native thunderstorm field and visibility.</td></tr><tr><th scope="row">Wind speed and direction</th><td>Calculated from the native U and V wind components at 10 m and from model levels near
13							40 m, 80 m and 120 m.</td></tr><tr><th scope="row">Precipitation probability</th><td>Share of the ACCESS-GE ensemble members with more than 0.1 mm/h of precipitation.</td></tr><tr><th scope="row">Snowfall and rain</th><td>Snowfall converts the native snowfall water equivalent with 0.7 cm per mm. Rain is
14							total precipitation minus snowfall water equivalent and showers.</td></tr><tr><th scope="row">Diffuse radiation</th><td>Global minus native direct radiation. DNI, GTI and instant values follow from solar
15							geometry. No radiation separation model is required.</td></tr><tr><th scope="row">Dew point, vapour pressure deficit and wet bulb temperature</th><td>Calculated from native 2 m temperature and relative humidity.</td></tr><tr><th scope="row">Surface pressure</th><td>Calculated from mean sea-level pressure, 2 m temperature and terrain elevation.</td></tr><tr><th scope="row">
15Apparent temperature, ET₀ and sunshine duration</th><td>Combine temperature, humidity, wind speed and solar radiation. ET₀ follows the FAO-56
16							Penman-Monteith equation; sunshine duration counts time with DNI above 120 W/m².</td></tr></tbody></table></div> <p class="text-muted-foreground mt-2">Sunrise, sunset, daylight duration and the day-or-night flag are astronomical calculations.
17			Daily values are aggregated from hourly data.</p></div></div> <div class="mt-6 md:mt-12"><a href="#api_documentation"><h2 id="api_documentation" class="text-2xl md:text-3xl">API Documentation</h2></a> <div class="mt-2 md:mt-4"><p>The API endpoint <mark>/v1/bom</mark> accepts a geographical coordinate, a list of weather
18			variables and responds with a JSON hourly weather forecast for 7 days. Time always starts at
19			0:00 today and contains 168 hours. If <mark>&forecast_days=16</mark> is set, up to 10 days of forecast can be returned. All URL parameters
20			are listed below:</p> <div class="-mx-6 overflow-auto md:ml-0 lg:mx-0"><table class="docs-table w-full min-w-300"><thead><tr><th scope="col">Parameter</th><th scope="col">Format</th><th scope="col">Required</th><th scope="col">Default</th><th scope="col">Description</th></tr></thead><tbody><tr><th scope="row">latitude, longitude</th><td>Floating point</td><td>Yes</td><td></td><td>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
21							separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return
22							data for multiple locations the JSON output changes to a list of structures. CSV and
23							XLSX formats add a column <mark>location_id</mark>.</td></tr><tr><th scope="row">elevation</th><td>Floating point</td><td>No</td><td></td><td>The elevation used for statistical downscaling. Per default, a <a href="https://openmeteo.substack.com/p/improving-weather-forecasts-with" title="Elevation based grid-cell selection explained">90 meter digital elevation model is used</a>. You can manually set the elevation to correctly match mountain peaks. If <mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses
24							the average grid-cell height.</td></tr><tr><th scope="row">hourly</th><td>String array</td><td>No</td><td></td><td>A list of weather variables which should be returned. Values can be comma separated,
25							or multiple <mark>&hourly=</mark> parameter in the URL can be used.</td></tr><tr><th scope="row">daily</th><td>String array</td><td>No</td><td></td><td>A list of daily weather variable aggregations which should be returned. Values can be
26							comma separated, or multiple <mark>&daily=</mark> parameter in the URL can be used. If
27							daily weather variables are specified, parameter <mark>timezone</mark> is required.</td></tr><tr><th scope="row">temperature_unit</th><td>String</td><td>No</td><td><mark>celsius</mark></td><td>If <mark>fahrenheit</mark> is set, all temperature values are converted to Fahrenheit.</td></tr><tr><th scope="row">wind_speed_unit</th><td>String</td><td>No</td><td><mark>kmh</mark></td><td>Other wind speed speed units: <mark>ms</mark>, <mark>mph</mark> and <mark>kn</mark></td></tr><tr><th scope="row">precipitation_unit</th><td>String</td><td>No</td><td><mark>mm</mark></td><td>Other precipitation amount units: <mark>inch</mark></td></tr><tr><th scope="row">timeformat</th><td>String</td><td>No</td><td><mark>iso8601</mark></td><td>If format <mark>unixtime</mark> is selected, all time values are returned in UNIX
28							epoch time in seconds. Please note that all timestamp are in GMT+0! For daily values
29							with unix timestamps, please apply <mark>utc_offset_seconds</mark> again to get the correct date.</td></tr><tr><th scope="row">timezone</th><td>String</td><td>No</td><td><mark>GMT</mark></td><td>If <mark>timezone</mark> is set, all timestamps are returned as local-time and data
30							is returned starting at 00:00 local-time. Any time zone name from the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" target="_blank">time zone database</a> is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
31							resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
32							can be specified.</td></tr><tr><th scope="row">past_days</th><td>Integer</td><td>No</td><td><mark>0</mark></td><td>If <mark>past_days</mark> is set, past weather data can be returned.</td></tr><tr><th scope="row">forecast_days</th><td>Integer (0-16)</td><td>No</td><td><mark>7</mark></td><td>Per default, only 7 days are returned. Up to 16 days of forecast are possible.</td></tr><tr><th scope="row">forecast_hours<br/>past_hours</th><td>Integer (&gt;0)</td><td>No</td><td></td><td>Similar to forecast_days, the number of timesteps of hourly data can controlled.
33							Instead of using the current day as a reference, the current hour is used.</td></tr><tr><th scope="row">start_date<br/>end_date</th><td>String (yyyy-mm-dd)</td><td>No</td><td></td><td>The time interval to get weather data. A day must be specified as an ISO8601 date
34							(e.g. <mark>2022-06-30</mark>).</td></tr><tr><th scope="row">start_hour<br/>end_hour</th><td>String (yyyy-mm-ddThh:mm)</td><td>No</td><td></td><td>The time interval to get weather data for hourly. Time must be specified as an
35							ISO8601 date (e.g. <mark>2022-06-30T12:00</mark>).</td></tr><tr><th scope="row">cell_selection</th><td>String</td><td>No</td><td><mark>land</mark></td><td>Set a preference how grid-cells are selected. The default <mark>land</mark> finds a
36							suitable grid-cell on land with <a href="https://openmeteo.substack.com/p/improving-weather-forecasts-with" title="Elevation based grid-cell selection explained">
36similar elevation to the requested coordinates using a 90-meter digital elevation
37								model</a>. <mark>sea</mark> prefers grid-cells on sea. <mark>nearest</mark> selects the nearest possible
38							grid-cell.</td></tr><tr><th scope="row">apikey</th><td>String</td><td>No</td><td></td><td>Only required to commercial use to access reserved API resources for customers. The
39							server URL requires the prefix <mark>customer-</mark>. See <a href="/en/pricing" title="Pricing information to use the weather API commercially">pricing</a> for more information.</td></tr></tbody></table></div></div> <p class="text-muted-foreground mt-2">Additional optional URL parameters will be added. For API stability, no required parameters will
40		be added in the future!</p></div> <div class="mt-6 md:mt-12"><a href="#hourly_parameter_definition"><h3 id="hourly_parameter_definition" class="text-xl md:text-2xl">Hourly Parameter Definition</h3></a> <div class="mt-2 md:mt-4"><p>The parameter <mark>&hourly=</mark> accepts the following values. Most weather variables are given
41			as an instantaneous value for the indicated hour. Some variables like precipitation are calculated
42			from the preceding hour as an average or sum.</p> <div class="-mx-6 overflow-auto md:ml-0 lg:mx-0"><table class="docs-table w-full min-w-300"><thead><tr><th scope="col">Variable</th><th scope="col">Valid time</th><th scope="col">Unit</th><th scope="col">Description</th></tr></thead><tbody><tr><th scope="row">temperature_2m</th><td>Instant</td><td>°C (°F)</td><td>Air temperature at 2 meters above ground</td></tr><tr><th scope="row">relative_humidity_2m</th><td>Instant</td><td>%</td><td>Relative humidity at 2 meters above ground</td></tr><tr><th scope="row">dew_point_2m</th><td>Instant</td><td>°C (°F)</td><td>Dew point temperature at 2 meters above ground</td></tr><tr><th scope="row">apparent_temperature</th><td>Instant</td><td>°C (°F)</td><td>Apparent temperature is the perceived feels-like temperature combining wind chill
43							factor, relative humidity and solar radiation</td></tr><tr><th scope="row">pressure_msl<br/>surface_pressure</th><td>Instant</td><td>hPa</td><td>Atmospheric air pressure reduced to mean sea level (msl) or pressure at surface.
44							Typically pressure on mean sea level is used in meteorology. Surface pressure gets
45							lower with increasing elevation.</td></tr><tr><th scope="row">cloud_cover</th><td>Instant</td><td>%</td><td>Total cloud cover as an area fraction</td></tr><tr><th scope="row">cloud_cover_low</th><td>Instant</td><td>%</td><td>Low level clouds and fog up to 3 km altitude</td></tr><tr><th scope="row">cloud_cover_mid</th><td>Instant</td><td>%</td><td>Mid level clouds from 3 to 8 km altitude</td></tr><tr><th scope="row">cloud_cover_high</th><td>Instant</td><td>%</td><td>High level clouds from 8 km altitude</td></tr><tr><th scope="row">wind_speed_10m<br/>wind_speed_40m<br/>wind_speed_80m<br/>wind_speed_120m</th><td>Instant</td><td>km/h (mph, m/s, knots)</td><td>Wind speed at 10, 40, 80 or 120 meters above ground. Wind speed on 10 meters is the
46							standard level.</td></tr><tr><th scope="row">wind_direction_10m<br/>wind_direction_40m<br/>wind_direction_80m<br/>wind_direction_120m</th><td>Instant</td><td>°</td><td>Wind direction at 10, 40, 80 or 120 meters above ground</td></tr><tr><th scope="row">wind_gusts_10m</th><td>Preceding hour max</td><td>km/h (mph, m/s, knots)</td><td>Gusts at 10 meters above ground as a maximum of the preceding hour</td></tr><tr><th scope="row">shortwave_radiation</th><td>Preceding hour mean</td><td>W/m²</td><td>Shortwave solar radiation as average of the preceding hour. This is equal to the
47							total global horizontal irradiation</td></tr><tr><th scope="row">direct_radiation<br/>direct_normal_irradiance</th><td>Preceding hour mean</td><td>W/m²</td><td>Direct solar radiation as average of the preceding hour on the horizontal plane and
48							the normal plane (perpendicular to the sun).</td></tr><tr><th scope="row">diffuse_radiation</th><td>Preceding hour mean</td><td>W/m²</td><td>Diffuse solar radiation as average of the preceding hour.</td></tr><tr><th scope="row">global_tilted_irradiance</th><td>Preceding hour mean</td><td>W/m²</td><td>Total radiation received on a tilted pane as average of the preceding hour. The
49							calculation is assuming a fixed albedo of 20% and in isotropic sky. Please specify
50							tilt and azimuth parameter. Tilt ranges from 0° to 90° and is typically around 45°.
51							Azimuth should be close to 0° (0° south, -90° east, 90° west, ±180 north). If azimuth
52							is set to "nan", the calculation assumes a vertical tracker (east-west). If tilt is
53							set to "nan", it is assumed that the panel has a horizontal tracker (up-down). If both
54							are set to "nan", a bi-axial tracker is assumed.</td></tr><tr><th scope="row">sunshine_duration</th><td>Preceding hour sum</td><td>Seconds</td><td>Number of seconds of sunshine of the preceding hour per hour calculated by direct
55							normalized irradiance exceeding 120 W/m², following the WMO definition.</td></tr><tr><th scope="row">vapour_pressure_deficit</th><td>Instant</td><td>kPa</td><td>Vapor Pressure Deficit (VPD) in kilopascal (kPa). For high VPD (&gt;1.6), water
56							transpiration of plants increases. For low VPD (&lt;0.4), transpiration decreases</td></tr><tr><th scope="row">et0_fao_evapotranspiration</th><td>Preceding hour sum</td><td>mm (inch)</td><td>ET₀ Reference Evapotranspiration of a well watered grass field. Based on <a href="https://www.fao.org/3/x0490e/x0490e04.htm" target="_blank">FAO-56 Penman-Monteith equations</a> ET₀ is calculated from temperature, wind speed, humidity and s
56olar radiation. Unlimited
57							soil water is assumed. ET₀ is commonly used to estimate the required irrigation for plants.</td></tr><tr><th scope="row">weather_code</th><td>Instant</td><td>WMO code</td><td>Weather condition as a numeric code. Follow WMO weather interpretation codes. See
58							table below for details. Weather code is calculated from cloud cover analysis,
59							precipitation, snowfall, cape and gusts.</td></tr><tr><th scope="row">precipitation</th><td>Preceding hour sum</td><td>mm (inch)</td><td>Total precipitation (rain, showers, snow) sum of the preceding hour</td></tr><tr><th scope="row">snowfall</th><td>Preceding hour sum</td><td>cm (inch)</td><td>Snowfall amount of the preceding hour in centimeters. For the water equivalent in
60							millimeter, divide by 7. E.g. 7 cm snow = 10 mm precipitation water equivalent</td></tr><tr><th scope="row">rain</th><td>Preceding hour sum</td><td>mm (inch)</td><td>Rain from large scale weather systems of the preceding hour in millimeter</td></tr><tr><th scope="row">showers</th><td>Preceding hour sum</td><td>mm (inch)</td><td>Showers from convective precipitation in millimeters from the preceding hour</td></tr><tr><th scope="row">snow_depth</th><td>Instant</td><td>meters</td><td>Snow depth on the ground</td></tr><tr><th scope="row">visibility</th><td>Instant</td><td>meters</td><td>Viewing distance in meters. Influenced by low clouds, humidity and aerosols.</td></tr><tr><th scope="row">soil_temperature_0_to_10cm<br/>soil_temperature_10_to_35cm<br/>soil_temperature_35_to_100cm<br/>soil_temperature_100_to_300cm</th><td>Instant</td><td>°C (°F)</td><td>Temperature in the soil as an average on 0-10, 10-35, 35-100 and 100-300 cm depths.</td></tr><tr><th scope="row">soil_moisture_0_to_10cm<br/>soil_moisture_10_to_35cm<br/>soil_moisture_35_to_100cm<br/>soil_moisture_100_to_300cm</th><td>Instant</td><td>m³/m³</td><td>Average soil water content as volumetric mixing ratio at 0-10, 10-35, 35-100 and
61							100-300 cm depths.</td></tr></tbody></table></div></div></div> <div class="mt-6 md:mt-12"><a href="#daily_parameter_definition"><h3 id="daily_parameter_definition" class="text-xl md:text-2xl">Daily Parameter Definition</h3></a> <div class="mt-2 md:mt-4"><p>Aggregations are a simple 24 hour aggregation from hourly values. The parameter <mark>&daily=</mark> accepts the following values:</p> <div class="-mx-6 overflow-auto md:ml-0 lg:mx-0"><table class="docs-table w-full min-w-250"><thead><tr><th scope="col">Variable</th><th scope="col">Unit</th><th scope="col">Description</th></tr></thead><tbody><tr><th scope="row">temperature_2m_max<br/>temperature_2m_min</th><td>°C (°F)</td><td>Maximum and minimum daily air temperature at 2 meters above ground</td></tr><tr><th scope="row">apparent_temperature_max<br/>apparent_temperature_min</th><td>°C (°F)</td><td>Maximum and minimum daily apparent temperature</td></tr><tr><th scope="row">precipitation_sum</th><td>mm</td><td>Sum of daily precipitation (including rain, showers and snowfall)</td></tr><tr><th scope="row">snowfall_sum</th><td>cm</td><td>Sum of daily snowfall</td></tr><tr><th scope="row">precipitation_hours</th><td>hours</td><td>The number of hours with rain</td></tr><tr><th scope="row">sunrise<br/>sunset</th><td>iso8601</td><td>Sun rise and set times</td></tr><tr><th scope="row">sunshine_duration</th><td>seconds</td><td>The number of seconds of sunshine per day is determined by calculating direct
62							normalized irradiance exceeding 120 W/m², following the WMO definition. Sunshine
63							duration will consistently be less than daylight duration due to dawn and dusk.</td></tr><tr><th scope="row">daylight_duration</th><td>seconds</td><td>Number of seconds of daylight per day</td></tr><tr><th scope="row">wind_speed_10m_max<br/>wind_gusts_10m_max</th><td>km/h (mph, m/s, knots)</td><td>Maximum wind speed and gusts on a day</td></tr><tr><th scope="row">wind_direction_10m_dominant</th><td>°</td><td>Dominant wind direction</td></tr><tr><th scope="row">shortwave_radiation_sum</th><td>MJ/m²</td><td>The sum of solar radiation on a given day in Megajoules</td></tr><tr><th scope="row">et0_fao_evapotranspiration</th><td>mm</td><td>Daily sum of ET₀ Reference Evapotranspiration of a well watered grass field</td></tr></tbody></table></div></div></div> <div class="mt-6 md:mt-12"><a href="#json_return_object"><h3 id="json_return_object" class="text-xl md:text-2xl">JSON Return Object</h3></a> <div class="mt-2 md:mt-4"><p>On success a JSON object will be returned.</p> <div class="pregenerated-code code-numbered -mx-6 mt-2 overflow-auto rounded-lg bg-[#FAFAFA] md:mt-4 md:ml-0 lg:mx-0 dark:bg-[#212121]"><!></div> <div class="-mx-6 overflow-auto md:ml-0 lg:mx-0"><table class="docs-table w-full min-w-250"><thead><tr><th scope="col">Parameter</th><th scope="col">Format</th><th scope="col">Description</th></tr></thead><tbody><tr><th scope="row">latitude, longitude</th><td>Floating point</td><td>WGS84 of the center of the weather grid-cell which was used to generate this
64							forecast. This coordinate might be a few kilometres away from the requested
65							coordinate.</td></tr><tr><th scope="row">elevation</th><td>Floating point</td><td>The elevation from a 90 meter digital elevation model. This effects which grid-cell
66							is selected (see parameter <mark>cell_selection</mark>). Statistical downscaling is
67							used to adapt weather conditions for this elevation. This elevation can also be
68							controlled with the query parameter <mark>elevation</mark>. If <mark>&elevation=nan</mark> is specified, all downscaling is disabled and the average grid-cell
69							elevation is used.</td></tr><tr><th scope="row">generationtime_ms</th><td>Floating point</td><td>Generation time of the weather forecast in milliseconds. This is mainly used for
70							performance monitoring and improvements.</td></tr><tr><th scope="row">utc_offset_seconds</th><td>Integer</td><td>Applied timezone offset from the <mark>&timezone=</mark> parameter.</td></tr><tr><th scope="row">timezone<br/>timezone_abbreviation</th><td>String</td><td>Timezone identifier (e.g. <mark>Europe/Berlin</mark>) and abbreviation (e.g. <mark>CEST</mark>)</td></tr><tr><th scope="row">hourly</th><td>Object</td><td>For each selected weather variable, data will be returned as a floating point array.
71							Additionally a <mark>time</mark> array will be returned with ISO8601 timestamps.</td></tr><tr><th scope="row">hourly_units</th><td>Object</td><td>For each selected weather variable, the unit will be listed here.</td></tr><tr><th scope="row">daily</th><td>Object</td><td>For each selected daily weather variable, data will be returned as a floating point
72							array. Additionally a <mark>time</mark> array will be returned with ISO8601 timestamps.</td></tr><tr><th scope="row">daily_units</th><td>Object</td><td>For each selected daily weather variable, the unit will be listed here.</td></tr></tbody></table></div></div></div> <div class="mt-6 md:mt-12"><a href="#errors"><h3 id="errors" class="text-xl md:text-2xl">Errors</h3></a> <div class="mt-2 md:mt-4"><p>In case an error occurs, for example a URL parameter is not correctly specified, a JSON error
73			object is returned with a HTTP 400 status code.</p> <div class="pregenerated-code -mx-6 mt-2 overflow-auto rounded-lg bg-[#FAFAFA] md:mt-4 md:ml-0 lg:mx-0 dark:bg-[#212121]"><!></div></div></div> <div class="mt-6 md:mt-12"><a href="#weather_variable_documentation"><h2 id="weather_variable_documentation" class="text-2xl md:text-3xl">Weather variable documentation</h2></a> <!></div>`,1);function N(s,y){ie(y,!0);let N=()=>ee(P,`$params`,Ve),[Ve,He]=de(),P=be({latitude:[52.52],longitude:[13.41],...A,api_mode:`forecast`,run:``,hourly:[`temperature_2m`]}),Ue=g(()=>N().timezone==`UTC`&&(N().daily?N().daily.length>0:!1)),We=g(()=>T.find(e=>String(e.value)==N().past_hours)),Ge=g(()=>O.find(e=>String(e.value)==N().forecast_hours)),Ke=g(()=>E.find(e=>String(e.value)==N().cell_selection)),qe=g(()=>D.find(e=>String(e.value)==N().temporal_resolution)),F=te(se([]));ce(()=>{(b(j,N().hourly).active||u(We)&&u(We).value||u(Ke)&&u(Ke).value||u(Ge)&&u(Ge).value||u(qe)&&u(qe).value)&&!u(F).includes(`additional-variables`)&&u(F).push(`additional-variables`),(b(w,N().hourly).active||N().tilt&&Number(N().tilt)>0||N().azimuth&&Number(N().azimuth)>0)&&!u(F).includes(`solar-variables`)&&u(F).push(`solar-variables`)});let I=new fe;I.setMonth(I.getMonth()-3);let L=new fe;L.setDate(L.getDate()+14);var R=Be();ue(`1efplr8`,e=>{var t=Pe();o(2),oe(()=>{le.title=`BOM ACCESS-G Weather Model API | Open-Meteo.com`}),i(e,t)});var z=h(R);_(z,()=>C,(e,t)=>{t(e,{variant:`warning`,class:`mb-4`,children:(e,t)=>{var n=Fe(),r=p(h(n));_(r,()=>S,(e,t)=>{t(e,{children:(e,t)=>{o();var n=l(`BOM is currently upgrading its key platforms and services. During this process, open-data
74		delivery has been temporarily suspended. We look forward to BOM resuming open-data access soon
75		so that high-resolution forecasts are once again available to Australian citizens.`);i(e,n)},$$slots:{default:!0}})}),i(e,n)},$$slots:{default:!0}})});var B=p(z,2);_(B,()=>C,(e,t)=>{t(e,{variant:`info`,class:`mb-4`,children:(e,t)=>{var n=M(),r=h(n);De(r,{});var a=p(r,2);_(a,()=>S,(e,t)=>{t(e,{children:(e,t)=>{o();var n=Ie();o(2),i(e,n)},$$slots:{default:!0}})}),i(e,n)},$$slots:{default:!0}})});var V=p(B,2),H=m(V);he(H,{get params(){return d(),N()},set params(e){v(P,e)}});var U=p(H,2),W=m(U),G=m(W);ke(G,{modes:[`forecast`,`historical_forecast`],get params(){return d(),N()},set params(e){v(P,e)}});var Je=p(G,2);
75je(Je,{get beginDate(){return I},get lastDate(){return L},get pastDaysOptions(){return Te},get forecastDaysOptions(){return k},get params(){return d(),N()},set params(e){v(P,e)}}),c(W);var Ye=p(W,2);Ae(Ye,{get forecastDaysOptions(){return k},get params(){return d(),N()},set params(e){v(P,e)}}),c(U);var K=p(U,2),Xe=p(m(K),2);x(Xe,{class:`mt-2 grid grid-flow-row gap-x-2 gap-y-2 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4`,get groups(){return Ne},idSuffix:`hourly`,get values(){return N().hourly},set values(e){r(P,f(N).hourly=e,f(N))}}),c(K);var q=p(K,2),Ze=m(q);_(Ze,()=>ve,(e,t)=>{t(e,{type:`multiple`,class:`border-border rounded-lg border`,get value(){return u(F)},set value(e){ne(F,e,!0)},children:(e,t)=>{var n=M(),a=h(n);{let e=g(()=>b(j,N().hourly));me(a,{id:`additional-variables`,title:`Additional Variables And Options`,get count(){return u(e)},children:(e,t)=>{var n=Le(),a=h(n);x(a,{class:`grid md:grid-cols-2`,get groups(){return j},idSuffix:`hourly`,get values(){return N().hourly},set values(e){r(P,f(N).hourly=e,f(N))}});var o=p(a,4);Ee(o,{get forecastHoursOptions(){return O},get pastHoursOptions(){return T},get temporalResolutionOptions(){return D},get gridCellSelectionOptions(){return E},get params(){return d(),N()},set params(e){v(P,e)}}),i(e,n)},$$slots:{default:!0}})}var o=p(a,2);{let e=g(()=>b(w,N().hourly));me(o,{id:`solar-variables`,title:`Solar Radiation Variables`,get count(){return u(e)},children:(e,t)=>{var n=Re(),a=h(n);x(a,{class:`grid md:grid-cols-2`,get groups(){return w},idSuffix:`hourly`,get values(){return N().hourly},set values(e){r(P,f(N).hourly=e,f(N))}});var o=p(a,4);Me(o,{get params(){return d(),N()},set params(e){v(P,e)}}),i(e,n)},$$slots:{default:!0}})}i(e,n)},$$slots:{default:!0}})}),c(q);
75var J=p(q,2),Qe=p(m(J),2);x(Qe,{class:`mt-2 grid grid-flow-row gap-x-2 gap-y-2 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4`,get groups(){return we},idSuffix:`daily`,get values(){return N().daily},set values(e){r(P,f(N).daily=e,f(N))}});var $e=p(Qe,2),et=e=>{var t=ze(),r=m(t);_(r,()=>C,(e,t)=>{t(e,{variant:`warning`,class:`mt-2 md:mt-4`,children:(e,t)=>{var n=a(),r=h(n);_(r,()=>S,(e,t)=>{t(e,{children:(e,t)=>{o();var n=l(`It is recommended to select a timezone for daily data. Per default the API will use
76						GMT+0.`);i(e,n)},$$slots:{default:!0}})}),i(e,n)},$$slots:{default:!0}})}),c(t),n(3,t,()=>pe),i(e,t)};e($e,e=>{u(Ue)&&e(et)}),c(J);var Y=p(J,2),tt=m(Y);ge(tt,{get params(){return d(),N()},set params(e){v(P,e)}}),c(Y);var nt=p(Y,2),rt=m(nt);{let e=g(()=>N().api_mode!==`forecast`);ye(rt,{get requires_professional_plan(){return u(e)}})}c(nt),c(V);var X=p(V,2),it=m(X);_e(it,{get params(){return P},get defaultParameters(){return A},model_default:`bom_access_global`,defaultTimeParameters:!1}),c(X);var Z=p(X,14),Q=p(m(Z),2),at=p(m(Q),2),ot=m(at);Se(ot,{}),c(at),o(2),c(Q),c(Z);var $=p(Z,2),st=p(m($),2),ct=p(m(st),2),lt=m(ct);xe(lt,{}),c(ct),c(st),c($);var ut=p($,2),dt=p(m(ut),2);Ce(dt,{}),c(ut),re(e=>ae(V,`action`,e),[()=>Oe(N().api_mode,`https://api.open-meteo.com/v1/forecast`)]),i(s,R),t(),He()}export{N as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.