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
3582420000 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
#133,582,420,000from aviationweather.gov
#16463,582,420,000from aviationweather.gov
#19433,582,420,000from aviationweather.gov
#18143,582,420,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
- 0x1cbb40839cc1792682273d8dc0b197c6e227db4224bcd9ab000c023c24d3a58f62e91c62746f7c71dc4e65b796f9b9a4b8f52a926885f1d3ee7de0c8f92e084e1b
- signed panel
- 4 agreed · quorum 4 · 5 seats
- question hash
- 0x39eecf277118e4219d50e4352a2fcf943cf802239c546d54dd4baba53c72d787
- answer type
- uint256
- consumer
- Ethereum mainnet · 0x37bfb8ac7c960e558657871d41ca70e07e7dbfff