Skip to content

Instantly share code, notes, and snippets.

@DPeterK
Created May 15, 2018 13:42
Show Gist options
  • Save DPeterK/27229726e2ae4cdf56b01653b804dac8 to your computer and use it in GitHub Desktop.
Save DPeterK/27229726e2ae4cdf56b01653b804dac8 to your computer and use it in GitHub Desktop.
Iris sample data exposed as Coverage JSON
This file has been truncated, but you can view the full file.
{
"type": "Coverage",
"domain": {
"domainType": "Grid",
"axes": {
"x": {
"values": [225.0,226.875,228.75,230.625,232.5,234.375,236.25,238.125,240.0,241.875,243.75,245.625,247.5,249.375,251.25,253.125,255.0,256.875,258.75,260.625,262.5,264.375,266.25,268.125,270.0,271.875,273.75,275.625,277.5,279.375,281.25,283.125,285.0,286.875,288.75,290.625,292.5,294.375,296.25,298.125,300.0,301.875,303.75,305.625,307.5,309.375,311.25,313.125,315.0]
},
"y": {
"values": [15.0,16.25,17.5,18.75,20.0,21.25,22.5,23.75,25.0,26.25,27.5,28.75,30.0,31.25,32.5,33.75,35.0,36.25,37.5,38.75,40.0,41.25,42.5,43.75,45.0,46.25,47.5,48.75,50.0,51.25,52.5,53.75,55.0,56.25,57.5,58.75,60.0]
},
"t": {
"values": ["1860-6-1T0:0:0","1861-6-1T0:0:0","1862-6-1T0:0:0","1863-6-1T0:0:0","1864-6-1T0:0:0","1865-6-1T0:0:0","1866-6-1T0:0:0","1867-6-1T0:0:0","1868-6-1T0:0:0","1869-6-1T0:0:0","1870-6-1T0:0:0","1871-6-1T0:0:0","1872-6-1T0:0:0","1873-6-1T0:0:0","1874-6-1T0:0:0","1875-6-1T0:0:0","1876-6-1T0:0:0","1877-6-1T0:0:0","1878-6-1T0:0:0","1879-6-1T0:0:0","1880-6-1T0:0:0","1881-6-1T0:0:0","1882-6-1T0:0:0","1883-6-1T0:0:0","1884-6-1T0:0:0","1885-6-1T0:0:0","1886-6-1T0:0:0","1887-6-1T0:0:0","1888-6-1T0:0:0","1889-6-1T0:0:0","1890-6-1T0:0:0","1891-6-1T0:0:0","1892-6-1T0:0:0","1893-6-1T0:0:0","1894-6-1T0:0:0","1895-6-1T0:0:0","1896-6-1T0:0:0","1897-6-1T0:0:0","1898-6-1T0:0:0","1899-6-1T0:0:0","1900-6-1T0:0:0","1901-6-1T0:0:0","1902-6-1T0:0:0","1903-6-1T0:0:0","1904-6-1T0:0:0","1905-6-1T0:0:0","1906-6-1T0:0:0","1907-6-1T0:0:0","1908-6-1T0:0:0","1909-6-1T0:0:0","1910-6-1T0:0:0","1911-6-1T0:0:0","1912-6-1T0:0:0","1913-6-1T0:0:0","1914-6-1T0:0:0","1915-6-1T0:0:0","1916-6-1T0:0:0","1917-6-1T0:0:0","1918-6-1T0:0:0","1919-6-1T0:0:0","1920-6-1T0:0:0","1921-6-1T0:0:0","1922-6-1T0:0:0","1923-6-1T0:0:0","1924-6-1T0:0:0","1925-6-1T0:0:0","1926-6-1T0:0:0","1927-6-1T0:0:0","1928-6-1T0:0:0","1929-6-1T0:0:0","1930-6-1T0:0:0","1931-6-1T0:0:0","1932-6-1T0:0:0","1933-6-1T0:0:0","1934-6-1T0:0:0","1935-6-1T0:0:0","1936-6-1T0:0:0","1937-6-1T0:0:0","1938-6-1T0:0:0","1939-6-1T0:0:0","1940-6-1T0:0:0","1941-6-1T0:0:0","1942-6-1T0:0:0","1943-6-1T0:0:0","1944-6-1T0:0:0","1945-6-1T0:0:0","1946-6-1T0:0:0","1947-6-1T0:0:0","1948-6-1T0:0:0","1949-6-1T0:0:0","1950-6-1T0:0:0","1951-6-1T0:0:0","1952-6-1T0:0:0","1953-6-1T0:0:0","1954-6-1T0:0:0","1955-6-1T0:0:0","1956-6-1T0:0:0","1957-6-1T0:0:0","1958-6-1T0:0:0","1959-6-1T0:0:0","1960-6-1T0:0:0","1961-6-1T0:0:0","1962-6-1T0:0:0","1963-6-1T0:0:0","1964-6-1T0:0:0","1965-6-1T0:0:0","1966-6-1T0:0:0","1967-6-1T0:0:0","1968-6-1T0:0:0","1969-6-1T0:0:0","1970-6-1T0:0:0","1971-6-1T0:0:0","1972-6-1T0:0:0","1973-6-1T0:0:0","1974-6-1T0:0:0","1975-6-1T0:0:0","1976-6-1T0:0:0","1977-6-1T0:0:0","1978-6-1T0:0:0","1979-6-1T0:0:0","1980-6-1T0:0:0","1981-6-1T0:0:0","1982-6-1T0:0:0","1983-6-1T0:0:0","1984-6-1T0:0:0","1985-6-1T0:0:0","1986-6-1T0:0:0","1987-6-1T0:0:0","1988-6-1T0:0:0","1989-6-1T0:0:0","1990-6-1T0:0:0","1991-6-1T0:0:0","1992-6-1T0:0:0","1993-6-1T0:0:0","1994-6-1T0:0:0","1995-6-1T0:0:0","1996-6-1T0:0:0","1997-6-1T0:0:0","1998-6-1T0:0:0","1999-6-1T0:0:0","2000-6-1T0:0:0","2001-6-1T0:0:0","2002-6-1T0:0:0","2003-6-1T0:0:0","2004-6-1T0:0:0","2005-6-1T0:0:0","2006-6-1T0:0:0","2007-6-1T0:0:0","2008-6-1T0:0:0","2009-6-1T0:0:0","2010-6-1T0:0:0","2011-6-1T0:0:0","2012-6-1T0:0:0","2013-6-1T0:0:0","2014-6-1T0:0:0","2015-6-1T0:0:0","2016-6-1T0:0:0","2017-6-1T0:0:0","2018-6-1T0:0:0","2019-6-1T0:0:0","2020-6-1T0:0:0","2021-6-1T0:0:0","2022-6-1T0:0:0","2023-6-1T0:0:0","2024-6-1T0:0:0","2025-6-1T0:0:0","2026-6-1T0:0:0","2027-6-1T0:0:0","2028-6-1T0:0:0","2029-6-1T0:0:0","2030-6-1T0:0:0","2031-6-1T0:0:0","2032-6-1T0:0:0","2033-6-1T0:0:0","2034-6-1T0:0:0","2035-6-1T0:0:0","2036-6-1T0:0:0","2037-6-1T0:0:0","2038-6-1T0:0:0","2039-6-1T0:0:0","2040-6-1T0:0:0","2041-6-1T0:0:0","2042-6-1T0:0:0","2043-6-1T0:0:0","2044-6-1T0:0:0","2045-6-1T0:0:0","2046-6-1T0:0:0","2047-6-1T0:0:0","2048-6-1T0:0:0","2049-6-1T0:0:0","2050-6-1T0:0:0","2051-6-1T0:0:0","2052-6-1T0:0:0","2053-6-1T0:0:0","2054-6-1T0:0:0","2055-6-1T0:0:0","2056-6-1T0:0:0","2057-6-1T0:0:0","2058-6-1T0:0:0","2059-6-1T0:0:0","2060-6-1T0:0:0","2061-6-1T0:0:0","2062-6-1T0:0:0","2063-6-1T0:0:0","2064-6-1T0:0:0","2065-6-1T0:0:0","2066-6-1T0:0:0","2067-6-1T0:0:0","2068-6-1T0:0:0","2069-6-1T0:0:0","2070-6-1T0:0:0","2071-6-1T0:0:0","2072-6-1T0:0:0","2073-6-1T0:0:0","2074-6-1T0:0:0","2075-6-1T0:0:0","2076-6-1T0:0:0","2077-6-1T0:0:0","2078-6-1T0:0:0","2079-6-1T0:0:0","2080-6-1T0:0:0","2081-6-1T0:0:0","2082-6-1T0:0:0","2083-6-1T0:0:0","2084-6-1T0:0:0","2085-6-1T0:0:0","2086-6-1T0:0:0","2087-6-1T0:0:0","2088-6-1T0:0:0","2089-6-1T0:0:0","2090-6-1T0:0:0","2091-6-1T0:0:0","2092-6-1T0:0:0","2093-6-1T0:0:0","2094-6-1T0:0:0","2095-6-1T0:0:0","2096-6-1T0:0:0","2097-6-1T0:0:0","2098-6-1T0:0:0","2099-6-1T0:0:0"]
},
"z": {
"values": [1.5]
}
},
"referencing": [
{
"coordinates": ["t"],
"system": {
"type": "TemporalRS",
"calendar": "Gregorian"
}
},
{
"coordinates": ["x", "y", "z"],
"system": {
"type": "GeographicCRS",
"id": "http://www.opengis.net/def/crs/EPSG/0/4979"
}
}
]
},
"parameters": {
"air_temperature": {
"type": "Parameter",
"description": "air_temperature",
"unit": {
"label": {
"en": "kelvin"
}
},
"symbol": {
"value": "K",
"type": ""
},
"observedProperty": {
"id": null,
"label": {
"en": null
}
}
}
},
"ranges": {
"air_temperature": {
"type": "NdArray",
"dataType": "float32",
"axisNames": ["t","z","y","x"],
"shape": [240, 1, 37, 49],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment