Oracle
Use only https://aviationweather.gov/api/data/metar?ids=EGLL&format=json for the newest valid METAR observation at EGLL, London Heathrow. Return uint256 = obsTime * 2 + wet, where obsTime is that row's Unix observation time, and wet is 1 if a current-weather group in wxString contains RA or DZ (rain or drizzle, including -RA, SHRA and FZRA); ignore groups beginning RE or VC. Otherwise wet=0. Absent, null or empty wxString means no reported rain only when rawOb is a valid EGLL METAR and not NIL. If the API fails, the report is missing/invalid, or obsTime is future or more than 90 minutes old at retrieval, report unavailable rather than a number. Never infer from clouds, humidity or forecasts.
Answer
3582330000 uint256
- source
- Only NOAA Aviation Weather Center API, station EGLL (London Heathrow). This is a station observation, not all of London. Select the row with greatest obsTime.
- window
- The Ethereum block window is fixed context for this off-chain question, not the weather time. obsTime at retrieval controls freshness.
- missing
- Unavailable, invalid, future or older-than-90-minute observations must not be encoded as dry. Do not guess.
- encoding
- answer = obsTime * 2 + wet. obsTime is Unix seconds. Split wxString on whitespace; wet=1 when a group contains RA or DZ and does not begin RE or VC. Otherwise wet=0. Missing wxString is dry only with a valid non-NIL rawOb.
- sources
- aviationweather.gov
- guards
- sources: https://aviationweather.gov/api/data/metar · minSources: 1
Work
- pinnedblocks 26,122,900 to 26,122,901 to · on Ethereum mainnet
- answered4 of 4 agreed4 needed
#19433,582,330,000from aviationweather.gov
#3983,582,330,000from aviationweather.gov
#133,582,330,000from aviationweather.gov
#18143,582,330,000from aviationweather.gov
- signed
by the attester 0x5598…2982expired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xb2f0801b457bea717360e429f7b1ecf5eb6b948982fad4939fa4cf4595cc9b3d504fd234b821ad03dacb3dff65e73ac32748c7b8c6e544c40910947744e4a5ef1b
- signed panel
- 4 agreed · quorum 4 · 5 seats
- question hash
- 0x39eecf277118e4219d50e4352a2fcf943cf802239c546d54dd4baba53c72d787
- answer type
- uint256
- consumer
- Ethereum mainnet · 0x37bfb8ac7c960e558657871d41ca70e07e7dbfff