From 0ec7d69aeaecaa751b2c785d50ab9c9861a0abab Mon Sep 17 00:00:00 2001 From: Daniel Thiex Date: Fri, 7 Jul 2023 15:00:54 +0200 Subject: [PATCH 1/2] add skysat json --- .../commercial_collections/SKYSAT.json | 538 ++++++++++++++++++ .../collection_information/SKYSAT.json | 538 ++++++++++++++++++ tests/test_units.py | 1 + 3 files changed, 1077 insertions(+) create mode 100644 rest/openeo_collections/commercial_collections/SKYSAT.json create mode 100644 tests/fixtures/collection_information/SKYSAT.json diff --git a/rest/openeo_collections/commercial_collections/SKYSAT.json b/rest/openeo_collections/commercial_collections/SKYSAT.json new file mode 100644 index 00000000..1e019b2a --- /dev/null +++ b/rest/openeo_collections/commercial_collections/SKYSAT.json @@ -0,0 +1,538 @@ +{ + "cube:dimensions":{ + "bands":{ + "type":"bands", + "values":[ + "Blue", + "Green", + "Red", + "NIR", + "UDM", + "UDM2_Clear", + "UDM2_Snow", + "UDM2_Shadow", + "UDM2_LightHaze", + "UDM2_HeavyHaze", + "UDM2_Cloud", + "UDM2_Confidence", + "PAN", + "dataMask" + ] + }, + "t":{ + "extent":[ + "2014-01-01T00:00:00Z", + null + ], + "type":"temporal" + }, + "x":{ + "axis":"x", + "extent":[ + -180, + 180 + ], + "reference_system":{ + "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", + "area":"World", + "base_crs":{ + "coordinate_system":{ + "axis":[ + { + "abbreviation":"Lat", + "direction":"north", + "name":"Geodetic latitude", + "unit":"degree" + }, + { + "abbreviation":"Lon", + "direction":"east", + "name":"Geodetic longitude", + "unit":"degree" + } + ], + "subtype":"ellipsoidal" + }, + "datum":{ + "ellipsoid":{ + "inverse_flattening":298.257223563, + "name":"WGS 84", + "semi_major_axis":6378137 + }, + "name":"World Geodetic System 1984", + "type":"GeodeticReferenceFrame" + }, + "name":"WGS 84" + }, + "bbox":{ + "east_longitude":180, + "north_latitude":90, + "south_latitude":-90, + "west_longitude":-180 + }, + "coordinate_system":{ + "axis":[ + { + "abbreviation":"E", + "direction":"east", + "name":"Easting", + "unit":"metre" + }, + { + "abbreviation":"N", + "direction":"north", + "name":"Northing", + "unit":"metre" + } + ], + "subtype":"Cartesian" + }, + "id":{ + "authority":"OGC", + "code":"Auto42001", + "version":"1.3" + }, + "name":"AUTO 42001 (Universal Transverse Mercator)", + "type":"ProjectedCRS" + }, + "type":"spatial" + }, + "y":{ + "axis":"y", + "extent":[ + -90, + 90 + ], + "reference_system":{ + "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", + "area":"World", + "base_crs":{ + "coordinate_system":{ + "axis":[ + { + "abbreviation":"Lat", + "direction":"north", + "name":"Geodetic latitude", + "unit":"degree" + }, + { + "abbreviation":"Lon", + "direction":"east", + "name":"Geodetic longitude", + "unit":"degree" + } + ], + "subtype":"ellipsoidal" + }, + "datum":{ + "ellipsoid":{ + "inverse_flattening":298.257223563, + "name":"WGS 84", + "semi_major_axis":6378137 + }, + "name":"World Geodetic System 1984", + "type":"GeodeticReferenceFrame" + }, + "name":"WGS 84" + }, + "bbox":{ + "east_longitude":180, + "north_latitude":90, + "south_latitude":-90, + "west_longitude":-180 + }, + "coordinate_system":{ + "axis":[ + { + "abbreviation":"E", + "direction":"east", + "name":"Easting", + "unit":"metre" + }, + { + "abbreviation":"N", + "direction":"north", + "name":"Northing", + "unit":"metre" + } + ], + "subtype":"Cartesian" + }, + "id":{ + "authority":"OGC", + "code":"Auto42001", + "version":"1.3" + }, + "name":"AUTO 42001 (Universal Transverse Mercator)", + "type":"ProjectedCRS" + }, + "type":"spatial" + } + }, + "datasource_type":"byoc-ID", + "description":"SkySat is one of the satellite constellations operated by Planet. SkySat satellite constellation consists of 21 satellites, which were launched between 2013 and 2020. The satellites are based on a CubeSat concept but are a bit bigger comparing to the PlanetScope's satellites. Because of its rapid revisit time, this data is suitable to monitor fast changes on earth's surface. However, note that the data acquisition must be tasked, data is not acquired systematically.", + "extent":{ + "spatial":{ + "bbox":[ + [ + -180, + -90, + 180, + 90 + ] + ] + }, + "temporal":{ + "interval":[ + [ + "2014-01-01T00:00:00Z", + null + ] + ] + } + }, + "id":"SKYSAT", + "keywords":[ + "sentinel hub", + "SkySat", + "vhr", + "commercial data" + ], + "license":"various", + "links":[ + + ], + "providers":[ + { + "description":"", + "name":"Sentinel Hub", + "roles":[ + "processor" + ], + "url":"https://services.sentinel-hub.com/" + }, + { + "description":"", + "name":"Planet", + "roles":[ + "producer" + ], + "url":"https://www.planet.com/products/planet-imagery/" + } + ], + "sci:citation":"\u00a9 Planet (YYYY), contains SkySat data processed by Sentinel Hub", + "stac_extensions":[ + "datacube" + ], + "stac_version":"0.9.0", + "summaries":{ + "eo:bands":[ + { + "center_wavelength":0.4825, + "common_name":"blue", + "description":"Blue", + "full_width_half_max":0.325, + "name":"Blue", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.545, + "common_name":"green", + "description":"Green", + "full_width_half_max":0.4, + "name":"Green", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.650, + "common_name":"red", + "description":"Red", + "full_width_half_max":0.45, + "name":"Red", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.82, + "common_name":"nir08", + "description":"Near Infrared", + "full_width_half_max":0.8, + "name":"NIR", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Unusable Data Mask", + "name":"UDM", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Clear mask", + "name":"UDM2_Clear", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Snow mask", + "name":"UDM2_Snow", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Shadow mask", + "name":"UDM2_Shadow", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Light haze mask", + "name":"UDM2_LightHaze", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Heavy haze mask", + "name":"UDM2_HeavyHaze", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Cloud mask", + "name":"UDM2_Cloud", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Confidence map", + "name":"UDM2_Confidence", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.675, + "common_name":"nir08", + "description":"Panchromatic", + "full_width_half_max":0.225, + "name":"PAN", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"The mask of data/no data pixels", + "name":"dataMask" + } + ] + }, + "crs":[ + "http://www.opengis.net/def/crs/OGC/1.3/CRS84", + "http://www.opengis.net/def/crs/EPSG/0/2154", + "http://www.opengis.net/def/crs/EPSG/0/2180", + "http://www.opengis.net/def/crs/EPSG/0/2193", + "http://www.opengis.net/def/crs/EPSG/0/3003", + "http://www.opengis.net/def/crs/EPSG/0/3004", + "http://www.opengis.net/def/crs/EPSG/0/3031", + "http://www.opengis.net/def/crs/EPSG/0/3035", + "http://www.opengis.net/def/crs/EPSG/0/4326", + "http://www.opengis.net/def/crs/EPSG/0/4346", + "http://www.opengis.net/def/crs/EPSG/0/4416", + "http://www.opengis.net/def/crs/EPSG/0/4765", + "http://www.opengis.net/def/crs/EPSG/0/4794", + "http://www.opengis.net/def/crs/EPSG/0/4844", + "http://www.opengis.net/def/crs/EPSG/0/4857", + "http://www.opengis.net/def/crs/EPSG/0/3912", + "http://www.opengis.net/def/crs/EPSG/0/3995", + "http://www.opengis.net/def/crs/EPSG/0/4026", + "http://www.opengis.net/def/crs/EPSG/0/5514", + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://www.opengis.net/def/crs/EPSG/0/32601", + "http://www.opengis.net/def/crs/EPSG/0/32602", + "http://www.opengis.net/def/crs/EPSG/0/32603", + "http://www.opengis.net/def/crs/EPSG/0/32604", + "http://www.opengis.net/def/crs/EPSG/0/32605", + "http://www.opengis.net/def/crs/EPSG/0/32606", + "http://www.opengis.net/def/crs/EPSG/0/32607", + "http://www.opengis.net/def/crs/EPSG/0/32608", + "http://www.opengis.net/def/crs/EPSG/0/32609", + "http://www.opengis.net/def/crs/EPSG/0/32610", + "http://www.opengis.net/def/crs/EPSG/0/32611", + "http://www.opengis.net/def/crs/EPSG/0/32612", + "http://www.opengis.net/def/crs/EPSG/0/32613", + "http://www.opengis.net/def/crs/EPSG/0/32614", + "http://www.opengis.net/def/crs/EPSG/0/32615", + "http://www.opengis.net/def/crs/EPSG/0/32616", + "http://www.opengis.net/def/crs/EPSG/0/32617", + "http://www.opengis.net/def/crs/EPSG/0/32618", + "http://www.opengis.net/def/crs/EPSG/0/32619", + "http://www.opengis.net/def/crs/EPSG/0/32620", + "http://www.opengis.net/def/crs/EPSG/0/32621", + "http://www.opengis.net/def/crs/EPSG/0/32622", + "http://www.opengis.net/def/crs/EPSG/0/32623", + "http://www.opengis.net/def/crs/EPSG/0/32624", + "http://www.opengis.net/def/crs/EPSG/0/32625", + "http://www.opengis.net/def/crs/EPSG/0/32626", + "http://www.opengis.net/def/crs/EPSG/0/32627", + "http://www.opengis.net/def/crs/EPSG/0/32628", + "http://www.opengis.net/def/crs/EPSG/0/32629", + "http://www.opengis.net/def/crs/EPSG/0/32630", + "http://www.opengis.net/def/crs/EPSG/0/32631", + "http://www.opengis.net/def/crs/EPSG/0/32632", + "http://www.opengis.net/def/crs/EPSG/0/32633", + "http://www.opengis.net/def/crs/EPSG/0/32634", + "http://www.opengis.net/def/crs/EPSG/0/32635", + "http://www.opengis.net/def/crs/EPSG/0/32636", + "http://www.opengis.net/def/crs/EPSG/0/32637", + "http://www.opengis.net/def/crs/EPSG/0/32638", + "http://www.opengis.net/def/crs/EPSG/0/32639", + "http://www.opengis.net/def/crs/EPSG/0/32640", + "http://www.opengis.net/def/crs/EPSG/0/32641", + "http://www.opengis.net/def/crs/EPSG/0/32642", + "http://www.opengis.net/def/crs/EPSG/0/32643", + "http://www.opengis.net/def/crs/EPSG/0/32644", + "http://www.opengis.net/def/crs/EPSG/0/32645", + "http://www.opengis.net/def/crs/EPSG/0/32646", + "http://www.opengis.net/def/crs/EPSG/0/32647", + "http://www.opengis.net/def/crs/EPSG/0/32648", + "http://www.opengis.net/def/crs/EPSG/0/32649", + "http://www.opengis.net/def/crs/EPSG/0/32650", + "http://www.opengis.net/def/crs/EPSG/0/32651", + "http://www.opengis.net/def/crs/EPSG/0/32652", + "http://www.opengis.net/def/crs/EPSG/0/32653", + "http://www.opengis.net/def/crs/EPSG/0/32654", + "http://www.opengis.net/def/crs/EPSG/0/32655", + "http://www.opengis.net/def/crs/EPSG/0/32656", + "http://www.opengis.net/def/crs/EPSG/0/32657", + "http://www.opengis.net/def/crs/EPSG/0/32658", + "http://www.opengis.net/def/crs/EPSG/0/32659", + "http://www.opengis.net/def/crs/EPSG/0/32660", + "http://www.opengis.net/def/crs/EPSG/0/32701", + "http://www.opengis.net/def/crs/EPSG/0/32702", + "http://www.opengis.net/def/crs/EPSG/0/32703", + "http://www.opengis.net/def/crs/EPSG/0/32704", + "http://www.opengis.net/def/crs/EPSG/0/32705", + "http://www.opengis.net/def/crs/EPSG/0/32706", + "http://www.opengis.net/def/crs/EPSG/0/32707", + "http://www.opengis.net/def/crs/EPSG/0/32708", + "http://www.opengis.net/def/crs/EPSG/0/32709", + "http://www.opengis.net/def/crs/EPSG/0/32710", + "http://www.opengis.net/def/crs/EPSG/0/32711", + "http://www.opengis.net/def/crs/EPSG/0/32712", + "http://www.opengis.net/def/crs/EPSG/0/32713", + "http://www.opengis.net/def/crs/EPSG/0/32714", + "http://www.opengis.net/def/crs/EPSG/0/32715", + "http://www.opengis.net/def/crs/EPSG/0/32716", + "http://www.opengis.net/def/crs/EPSG/0/32717", + "http://www.opengis.net/def/crs/EPSG/0/32718", + "http://www.opengis.net/def/crs/EPSG/0/32719", + "http://www.opengis.net/def/crs/EPSG/0/32720", + "http://www.opengis.net/def/crs/EPSG/0/32721", + "http://www.opengis.net/def/crs/EPSG/0/32722", + "http://www.opengis.net/def/crs/EPSG/0/32723", + "http://www.opengis.net/def/crs/EPSG/0/32724", + "http://www.opengis.net/def/crs/EPSG/0/32725", + "http://www.opengis.net/def/crs/EPSG/0/32726", + "http://www.opengis.net/def/crs/EPSG/0/32727", + "http://www.opengis.net/def/crs/EPSG/0/32728", + "http://www.opengis.net/def/crs/EPSG/0/32729", + "http://www.opengis.net/def/crs/EPSG/0/32730", + "http://www.opengis.net/def/crs/EPSG/0/32731", + "http://www.opengis.net/def/crs/EPSG/0/32732", + "http://www.opengis.net/def/crs/EPSG/0/32733", + "http://www.opengis.net/def/crs/EPSG/0/32734", + "http://www.opengis.net/def/crs/EPSG/0/32735", + "http://www.opengis.net/def/crs/EPSG/0/32736", + "http://www.opengis.net/def/crs/EPSG/0/32737", + "http://www.opengis.net/def/crs/EPSG/0/32738", + "http://www.opengis.net/def/crs/EPSG/0/32739", + "http://www.opengis.net/def/crs/EPSG/0/32740", + "http://www.opengis.net/def/crs/EPSG/0/32741", + "http://www.opengis.net/def/crs/EPSG/0/32742", + "http://www.opengis.net/def/crs/EPSG/0/32743", + "http://www.opengis.net/def/crs/EPSG/0/32744", + "http://www.opengis.net/def/crs/EPSG/0/32745", + "http://www.opengis.net/def/crs/EPSG/0/32746", + "http://www.opengis.net/def/crs/EPSG/0/32746", + "http://www.opengis.net/def/crs/EPSG/0/32748", + "http://www.opengis.net/def/crs/EPSG/0/32749", + "http://www.opengis.net/def/crs/EPSG/0/32750", + "http://www.opengis.net/def/crs/EPSG/0/32751", + "http://www.opengis.net/def/crs/EPSG/0/32752", + "http://www.opengis.net/def/crs/EPSG/0/32753", + "http://www.opengis.net/def/crs/EPSG/0/32754", + "http://www.opengis.net/def/crs/EPSG/0/32755", + "http://www.opengis.net/def/crs/EPSG/0/32756", + "http://www.opengis.net/def/crs/EPSG/0/32757", + "http://www.opengis.net/def/crs/EPSG/0/32758", + "http://www.opengis.net/def/crs/EPSG/0/32759", + "http://www.opengis.net/def/crs/EPSG/0/32760", + "http://www.opengis.net/def/crs/SR-ORG/0/98739" + ], + "title":"SkySat" +} \ No newline at end of file diff --git a/tests/fixtures/collection_information/SKYSAT.json b/tests/fixtures/collection_information/SKYSAT.json new file mode 100644 index 00000000..1e019b2a --- /dev/null +++ b/tests/fixtures/collection_information/SKYSAT.json @@ -0,0 +1,538 @@ +{ + "cube:dimensions":{ + "bands":{ + "type":"bands", + "values":[ + "Blue", + "Green", + "Red", + "NIR", + "UDM", + "UDM2_Clear", + "UDM2_Snow", + "UDM2_Shadow", + "UDM2_LightHaze", + "UDM2_HeavyHaze", + "UDM2_Cloud", + "UDM2_Confidence", + "PAN", + "dataMask" + ] + }, + "t":{ + "extent":[ + "2014-01-01T00:00:00Z", + null + ], + "type":"temporal" + }, + "x":{ + "axis":"x", + "extent":[ + -180, + 180 + ], + "reference_system":{ + "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", + "area":"World", + "base_crs":{ + "coordinate_system":{ + "axis":[ + { + "abbreviation":"Lat", + "direction":"north", + "name":"Geodetic latitude", + "unit":"degree" + }, + { + "abbreviation":"Lon", + "direction":"east", + "name":"Geodetic longitude", + "unit":"degree" + } + ], + "subtype":"ellipsoidal" + }, + "datum":{ + "ellipsoid":{ + "inverse_flattening":298.257223563, + "name":"WGS 84", + "semi_major_axis":6378137 + }, + "name":"World Geodetic System 1984", + "type":"GeodeticReferenceFrame" + }, + "name":"WGS 84" + }, + "bbox":{ + "east_longitude":180, + "north_latitude":90, + "south_latitude":-90, + "west_longitude":-180 + }, + "coordinate_system":{ + "axis":[ + { + "abbreviation":"E", + "direction":"east", + "name":"Easting", + "unit":"metre" + }, + { + "abbreviation":"N", + "direction":"north", + "name":"Northing", + "unit":"metre" + } + ], + "subtype":"Cartesian" + }, + "id":{ + "authority":"OGC", + "code":"Auto42001", + "version":"1.3" + }, + "name":"AUTO 42001 (Universal Transverse Mercator)", + "type":"ProjectedCRS" + }, + "type":"spatial" + }, + "y":{ + "axis":"y", + "extent":[ + -90, + 90 + ], + "reference_system":{ + "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", + "area":"World", + "base_crs":{ + "coordinate_system":{ + "axis":[ + { + "abbreviation":"Lat", + "direction":"north", + "name":"Geodetic latitude", + "unit":"degree" + }, + { + "abbreviation":"Lon", + "direction":"east", + "name":"Geodetic longitude", + "unit":"degree" + } + ], + "subtype":"ellipsoidal" + }, + "datum":{ + "ellipsoid":{ + "inverse_flattening":298.257223563, + "name":"WGS 84", + "semi_major_axis":6378137 + }, + "name":"World Geodetic System 1984", + "type":"GeodeticReferenceFrame" + }, + "name":"WGS 84" + }, + "bbox":{ + "east_longitude":180, + "north_latitude":90, + "south_latitude":-90, + "west_longitude":-180 + }, + "coordinate_system":{ + "axis":[ + { + "abbreviation":"E", + "direction":"east", + "name":"Easting", + "unit":"metre" + }, + { + "abbreviation":"N", + "direction":"north", + "name":"Northing", + "unit":"metre" + } + ], + "subtype":"Cartesian" + }, + "id":{ + "authority":"OGC", + "code":"Auto42001", + "version":"1.3" + }, + "name":"AUTO 42001 (Universal Transverse Mercator)", + "type":"ProjectedCRS" + }, + "type":"spatial" + } + }, + "datasource_type":"byoc-ID", + "description":"SkySat is one of the satellite constellations operated by Planet. SkySat satellite constellation consists of 21 satellites, which were launched between 2013 and 2020. The satellites are based on a CubeSat concept but are a bit bigger comparing to the PlanetScope's satellites. Because of its rapid revisit time, this data is suitable to monitor fast changes on earth's surface. However, note that the data acquisition must be tasked, data is not acquired systematically.", + "extent":{ + "spatial":{ + "bbox":[ + [ + -180, + -90, + 180, + 90 + ] + ] + }, + "temporal":{ + "interval":[ + [ + "2014-01-01T00:00:00Z", + null + ] + ] + } + }, + "id":"SKYSAT", + "keywords":[ + "sentinel hub", + "SkySat", + "vhr", + "commercial data" + ], + "license":"various", + "links":[ + + ], + "providers":[ + { + "description":"", + "name":"Sentinel Hub", + "roles":[ + "processor" + ], + "url":"https://services.sentinel-hub.com/" + }, + { + "description":"", + "name":"Planet", + "roles":[ + "producer" + ], + "url":"https://www.planet.com/products/planet-imagery/" + } + ], + "sci:citation":"\u00a9 Planet (YYYY), contains SkySat data processed by Sentinel Hub", + "stac_extensions":[ + "datacube" + ], + "stac_version":"0.9.0", + "summaries":{ + "eo:bands":[ + { + "center_wavelength":0.4825, + "common_name":"blue", + "description":"Blue", + "full_width_half_max":0.325, + "name":"Blue", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.545, + "common_name":"green", + "description":"Green", + "full_width_half_max":0.4, + "name":"Green", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.650, + "common_name":"red", + "description":"Red", + "full_width_half_max":0.45, + "name":"Red", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.82, + "common_name":"nir08", + "description":"Near Infrared", + "full_width_half_max":0.8, + "name":"NIR", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Unusable Data Mask", + "name":"UDM", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Clear mask", + "name":"UDM2_Clear", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Snow mask", + "name":"UDM2_Snow", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Shadow mask", + "name":"UDM2_Shadow", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Light haze mask", + "name":"UDM2_LightHaze", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Heavy haze mask", + "name":"UDM2_HeavyHaze", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Cloud mask", + "name":"UDM2_Cloud", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"Usable Data mask - Confidence map", + "name":"UDM2_Confidence", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "center_wavelength":0.675, + "common_name":"nir08", + "description":"Panchromatic", + "full_width_half_max":0.225, + "name":"PAN", + "openeo:gsd":{ + "unit":"m", + "value":[ + 0.5, + 0.5 + ] + } + }, + { + "description":"The mask of data/no data pixels", + "name":"dataMask" + } + ] + }, + "crs":[ + "http://www.opengis.net/def/crs/OGC/1.3/CRS84", + "http://www.opengis.net/def/crs/EPSG/0/2154", + "http://www.opengis.net/def/crs/EPSG/0/2180", + "http://www.opengis.net/def/crs/EPSG/0/2193", + "http://www.opengis.net/def/crs/EPSG/0/3003", + "http://www.opengis.net/def/crs/EPSG/0/3004", + "http://www.opengis.net/def/crs/EPSG/0/3031", + "http://www.opengis.net/def/crs/EPSG/0/3035", + "http://www.opengis.net/def/crs/EPSG/0/4326", + "http://www.opengis.net/def/crs/EPSG/0/4346", + "http://www.opengis.net/def/crs/EPSG/0/4416", + "http://www.opengis.net/def/crs/EPSG/0/4765", + "http://www.opengis.net/def/crs/EPSG/0/4794", + "http://www.opengis.net/def/crs/EPSG/0/4844", + "http://www.opengis.net/def/crs/EPSG/0/4857", + "http://www.opengis.net/def/crs/EPSG/0/3912", + "http://www.opengis.net/def/crs/EPSG/0/3995", + "http://www.opengis.net/def/crs/EPSG/0/4026", + "http://www.opengis.net/def/crs/EPSG/0/5514", + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://www.opengis.net/def/crs/EPSG/0/32601", + "http://www.opengis.net/def/crs/EPSG/0/32602", + "http://www.opengis.net/def/crs/EPSG/0/32603", + "http://www.opengis.net/def/crs/EPSG/0/32604", + "http://www.opengis.net/def/crs/EPSG/0/32605", + "http://www.opengis.net/def/crs/EPSG/0/32606", + "http://www.opengis.net/def/crs/EPSG/0/32607", + "http://www.opengis.net/def/crs/EPSG/0/32608", + "http://www.opengis.net/def/crs/EPSG/0/32609", + "http://www.opengis.net/def/crs/EPSG/0/32610", + "http://www.opengis.net/def/crs/EPSG/0/32611", + "http://www.opengis.net/def/crs/EPSG/0/32612", + "http://www.opengis.net/def/crs/EPSG/0/32613", + "http://www.opengis.net/def/crs/EPSG/0/32614", + "http://www.opengis.net/def/crs/EPSG/0/32615", + "http://www.opengis.net/def/crs/EPSG/0/32616", + "http://www.opengis.net/def/crs/EPSG/0/32617", + "http://www.opengis.net/def/crs/EPSG/0/32618", + "http://www.opengis.net/def/crs/EPSG/0/32619", + "http://www.opengis.net/def/crs/EPSG/0/32620", + "http://www.opengis.net/def/crs/EPSG/0/32621", + "http://www.opengis.net/def/crs/EPSG/0/32622", + "http://www.opengis.net/def/crs/EPSG/0/32623", + "http://www.opengis.net/def/crs/EPSG/0/32624", + "http://www.opengis.net/def/crs/EPSG/0/32625", + "http://www.opengis.net/def/crs/EPSG/0/32626", + "http://www.opengis.net/def/crs/EPSG/0/32627", + "http://www.opengis.net/def/crs/EPSG/0/32628", + "http://www.opengis.net/def/crs/EPSG/0/32629", + "http://www.opengis.net/def/crs/EPSG/0/32630", + "http://www.opengis.net/def/crs/EPSG/0/32631", + "http://www.opengis.net/def/crs/EPSG/0/32632", + "http://www.opengis.net/def/crs/EPSG/0/32633", + "http://www.opengis.net/def/crs/EPSG/0/32634", + "http://www.opengis.net/def/crs/EPSG/0/32635", + "http://www.opengis.net/def/crs/EPSG/0/32636", + "http://www.opengis.net/def/crs/EPSG/0/32637", + "http://www.opengis.net/def/crs/EPSG/0/32638", + "http://www.opengis.net/def/crs/EPSG/0/32639", + "http://www.opengis.net/def/crs/EPSG/0/32640", + "http://www.opengis.net/def/crs/EPSG/0/32641", + "http://www.opengis.net/def/crs/EPSG/0/32642", + "http://www.opengis.net/def/crs/EPSG/0/32643", + "http://www.opengis.net/def/crs/EPSG/0/32644", + "http://www.opengis.net/def/crs/EPSG/0/32645", + "http://www.opengis.net/def/crs/EPSG/0/32646", + "http://www.opengis.net/def/crs/EPSG/0/32647", + "http://www.opengis.net/def/crs/EPSG/0/32648", + "http://www.opengis.net/def/crs/EPSG/0/32649", + "http://www.opengis.net/def/crs/EPSG/0/32650", + "http://www.opengis.net/def/crs/EPSG/0/32651", + "http://www.opengis.net/def/crs/EPSG/0/32652", + "http://www.opengis.net/def/crs/EPSG/0/32653", + "http://www.opengis.net/def/crs/EPSG/0/32654", + "http://www.opengis.net/def/crs/EPSG/0/32655", + "http://www.opengis.net/def/crs/EPSG/0/32656", + "http://www.opengis.net/def/crs/EPSG/0/32657", + "http://www.opengis.net/def/crs/EPSG/0/32658", + "http://www.opengis.net/def/crs/EPSG/0/32659", + "http://www.opengis.net/def/crs/EPSG/0/32660", + "http://www.opengis.net/def/crs/EPSG/0/32701", + "http://www.opengis.net/def/crs/EPSG/0/32702", + "http://www.opengis.net/def/crs/EPSG/0/32703", + "http://www.opengis.net/def/crs/EPSG/0/32704", + "http://www.opengis.net/def/crs/EPSG/0/32705", + "http://www.opengis.net/def/crs/EPSG/0/32706", + "http://www.opengis.net/def/crs/EPSG/0/32707", + "http://www.opengis.net/def/crs/EPSG/0/32708", + "http://www.opengis.net/def/crs/EPSG/0/32709", + "http://www.opengis.net/def/crs/EPSG/0/32710", + "http://www.opengis.net/def/crs/EPSG/0/32711", + "http://www.opengis.net/def/crs/EPSG/0/32712", + "http://www.opengis.net/def/crs/EPSG/0/32713", + "http://www.opengis.net/def/crs/EPSG/0/32714", + "http://www.opengis.net/def/crs/EPSG/0/32715", + "http://www.opengis.net/def/crs/EPSG/0/32716", + "http://www.opengis.net/def/crs/EPSG/0/32717", + "http://www.opengis.net/def/crs/EPSG/0/32718", + "http://www.opengis.net/def/crs/EPSG/0/32719", + "http://www.opengis.net/def/crs/EPSG/0/32720", + "http://www.opengis.net/def/crs/EPSG/0/32721", + "http://www.opengis.net/def/crs/EPSG/0/32722", + "http://www.opengis.net/def/crs/EPSG/0/32723", + "http://www.opengis.net/def/crs/EPSG/0/32724", + "http://www.opengis.net/def/crs/EPSG/0/32725", + "http://www.opengis.net/def/crs/EPSG/0/32726", + "http://www.opengis.net/def/crs/EPSG/0/32727", + "http://www.opengis.net/def/crs/EPSG/0/32728", + "http://www.opengis.net/def/crs/EPSG/0/32729", + "http://www.opengis.net/def/crs/EPSG/0/32730", + "http://www.opengis.net/def/crs/EPSG/0/32731", + "http://www.opengis.net/def/crs/EPSG/0/32732", + "http://www.opengis.net/def/crs/EPSG/0/32733", + "http://www.opengis.net/def/crs/EPSG/0/32734", + "http://www.opengis.net/def/crs/EPSG/0/32735", + "http://www.opengis.net/def/crs/EPSG/0/32736", + "http://www.opengis.net/def/crs/EPSG/0/32737", + "http://www.opengis.net/def/crs/EPSG/0/32738", + "http://www.opengis.net/def/crs/EPSG/0/32739", + "http://www.opengis.net/def/crs/EPSG/0/32740", + "http://www.opengis.net/def/crs/EPSG/0/32741", + "http://www.opengis.net/def/crs/EPSG/0/32742", + "http://www.opengis.net/def/crs/EPSG/0/32743", + "http://www.opengis.net/def/crs/EPSG/0/32744", + "http://www.opengis.net/def/crs/EPSG/0/32745", + "http://www.opengis.net/def/crs/EPSG/0/32746", + "http://www.opengis.net/def/crs/EPSG/0/32746", + "http://www.opengis.net/def/crs/EPSG/0/32748", + "http://www.opengis.net/def/crs/EPSG/0/32749", + "http://www.opengis.net/def/crs/EPSG/0/32750", + "http://www.opengis.net/def/crs/EPSG/0/32751", + "http://www.opengis.net/def/crs/EPSG/0/32752", + "http://www.opengis.net/def/crs/EPSG/0/32753", + "http://www.opengis.net/def/crs/EPSG/0/32754", + "http://www.opengis.net/def/crs/EPSG/0/32755", + "http://www.opengis.net/def/crs/EPSG/0/32756", + "http://www.opengis.net/def/crs/EPSG/0/32757", + "http://www.opengis.net/def/crs/EPSG/0/32758", + "http://www.opengis.net/def/crs/EPSG/0/32759", + "http://www.opengis.net/def/crs/EPSG/0/32760", + "http://www.opengis.net/def/crs/SR-ORG/0/98739" + ], + "title":"SkySat" +} \ No newline at end of file diff --git a/tests/test_units.py b/tests/test_units.py index b05ba2e6..3f2214ff 100644 --- a/tests/test_units.py +++ b/tests/test_units.py @@ -57,6 +57,7 @@ def test_collections(get_process_graph, collection_id): [ "SPOT", "PLEIADES", + "SKYSAT", "WORLDVIEW", "PLANETSCOPE", "landsat-7-etm+-l2", From 9122914fdaa65c2a33880c25755ae2c02a057fd9 Mon Sep 17 00:00:00 2001 From: Daniel Thiex Date: Wed, 18 Oct 2023 11:07:36 +0200 Subject: [PATCH 2/2] reorder keys to match other collections --- .../commercial_collections/SKYSAT.json | 497 +++++++++--------- .../collection_information/SKYSAT.json | 497 +++++++++--------- 2 files changed, 498 insertions(+), 496 deletions(-) diff --git a/rest/openeo_collections/commercial_collections/SKYSAT.json b/rest/openeo_collections/commercial_collections/SKYSAT.json index 1e019b2a..771ff291 100644 --- a/rest/openeo_collections/commercial_collections/SKYSAT.json +++ b/rest/openeo_collections/commercial_collections/SKYSAT.json @@ -1,8 +1,65 @@ { - "cube:dimensions":{ - "bands":{ - "type":"bands", - "values":[ + "type": "Collection", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/datacube/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + ], + "id": "SKYSAT", + "datasource_type": "byoc-ID", + "title": "SkySat", + "links": [], + "description": "SkySat is one of the satellite constellations operated by Planet. SkySat satellite constellation consists of 21 satellites, which were launched between 2013 and 2020. The satellites are based on a CubeSat concept but are a bit bigger comparing to the PlanetScope's satellites. Because of its rapid revisit time, this data is suitable to monitor fast changes on earth's surface. However, note that the data acquisition must be tasked, data is not acquired systematically.", + "keywords": [ + "sentinel hub", + "SkySat", + "vhr", + "commercial data" + ], + "license": "various", + "providers": [ + { + "description": "", + "name": "Sentinel Hub", + "roles": [ + "processor" + ], + "url": "https://services.sentinel-hub.com/" + }, + { + "description": "", + "name": "Planet", + "roles": [ + "producer" + ], + "url": "https://www.planet.com/products/planet-imagery/" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180, + -90, + 180, + 90 + ] + ] + }, + "temporal": { + "interval": [ + [ + "2014-01-01T00:00:00Z", + null + ] + ] + } + }, + "cube:dimensions": { + "bands": { + "type": "bands", + "values": [ "Blue", "Green", "Red", @@ -19,379 +76,324 @@ "dataMask" ] }, - "t":{ - "extent":[ + "t": { + "extent": [ "2014-01-01T00:00:00Z", null ], - "type":"temporal" + "type": "temporal" }, - "x":{ - "axis":"x", - "extent":[ + "x": { + "axis": "x", + "extent": [ -180, 180 ], - "reference_system":{ - "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", - "area":"World", - "base_crs":{ - "coordinate_system":{ - "axis":[ + "reference_system": { + "$schema": "https://proj.org/schemas/v0.2/projjson.schema.json", + "area": "World", + "base_crs": { + "coordinate_system": { + "axis": [ { - "abbreviation":"Lat", - "direction":"north", - "name":"Geodetic latitude", - "unit":"degree" + "abbreviation": "Lat", + "direction": "north", + "name": "Geodetic latitude", + "unit": "degree" }, { - "abbreviation":"Lon", - "direction":"east", - "name":"Geodetic longitude", - "unit":"degree" + "abbreviation": "Lon", + "direction": "east", + "name": "Geodetic longitude", + "unit": "degree" } ], - "subtype":"ellipsoidal" + "subtype": "ellipsoidal" }, - "datum":{ - "ellipsoid":{ - "inverse_flattening":298.257223563, - "name":"WGS 84", - "semi_major_axis":6378137 + "datum": { + "ellipsoid": { + "inverse_flattening": 298.257223563, + "name": "WGS 84", + "semi_major_axis": 6378137 }, - "name":"World Geodetic System 1984", - "type":"GeodeticReferenceFrame" + "name": "World Geodetic System 1984", + "type": "GeodeticReferenceFrame" }, - "name":"WGS 84" + "name": "WGS 84" }, - "bbox":{ - "east_longitude":180, - "north_latitude":90, - "south_latitude":-90, - "west_longitude":-180 + "bbox": { + "east_longitude": 180, + "north_latitude": 90, + "south_latitude": -90, + "west_longitude": -180 }, - "coordinate_system":{ - "axis":[ + "coordinate_system": { + "axis": [ { - "abbreviation":"E", - "direction":"east", - "name":"Easting", - "unit":"metre" + "abbreviation": "E", + "direction": "east", + "name": "Easting", + "unit": "metre" }, { - "abbreviation":"N", - "direction":"north", - "name":"Northing", - "unit":"metre" + "abbreviation": "N", + "direction": "north", + "name": "Northing", + "unit": "metre" } ], - "subtype":"Cartesian" + "subtype": "Cartesian" }, - "id":{ - "authority":"OGC", - "code":"Auto42001", - "version":"1.3" + "id": { + "authority": "OGC", + "code": "Auto42001", + "version": "1.3" }, - "name":"AUTO 42001 (Universal Transverse Mercator)", - "type":"ProjectedCRS" + "name": "AUTO 42001 (Universal Transverse Mercator)", + "type": "ProjectedCRS" }, - "type":"spatial" + "type": "spatial" }, - "y":{ - "axis":"y", - "extent":[ + "y": { + "axis": "y", + "extent": [ -90, 90 ], - "reference_system":{ - "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", - "area":"World", - "base_crs":{ - "coordinate_system":{ - "axis":[ + "reference_system": { + "$schema": "https://proj.org/schemas/v0.2/projjson.schema.json", + "area": "World", + "base_crs": { + "coordinate_system": { + "axis": [ { - "abbreviation":"Lat", - "direction":"north", - "name":"Geodetic latitude", - "unit":"degree" + "abbreviation": "Lat", + "direction": "north", + "name": "Geodetic latitude", + "unit": "degree" }, { - "abbreviation":"Lon", - "direction":"east", - "name":"Geodetic longitude", - "unit":"degree" + "abbreviation": "Lon", + "direction": "east", + "name": "Geodetic longitude", + "unit": "degree" } ], - "subtype":"ellipsoidal" + "subtype": "ellipsoidal" }, - "datum":{ - "ellipsoid":{ - "inverse_flattening":298.257223563, - "name":"WGS 84", - "semi_major_axis":6378137 + "datum": { + "ellipsoid": { + "inverse_flattening": 298.257223563, + "name": "WGS 84", + "semi_major_axis": 6378137 }, - "name":"World Geodetic System 1984", - "type":"GeodeticReferenceFrame" + "name": "World Geodetic System 1984", + "type": "GeodeticReferenceFrame" }, - "name":"WGS 84" + "name": "WGS 84" }, - "bbox":{ - "east_longitude":180, - "north_latitude":90, - "south_latitude":-90, - "west_longitude":-180 + "bbox": { + "east_longitude": 180, + "north_latitude": 90, + "south_latitude": -90, + "west_longitude": -180 }, - "coordinate_system":{ - "axis":[ + "coordinate_system": { + "axis": [ { - "abbreviation":"E", - "direction":"east", - "name":"Easting", - "unit":"metre" + "abbreviation": "E", + "direction": "east", + "name": "Easting", + "unit": "metre" }, { - "abbreviation":"N", - "direction":"north", - "name":"Northing", - "unit":"metre" + "abbreviation": "N", + "direction": "north", + "name": "Northing", + "unit": "metre" } ], - "subtype":"Cartesian" + "subtype": "Cartesian" }, - "id":{ - "authority":"OGC", - "code":"Auto42001", - "version":"1.3" + "id": { + "authority": "OGC", + "code": "Auto42001", + "version": "1.3" }, - "name":"AUTO 42001 (Universal Transverse Mercator)", - "type":"ProjectedCRS" + "name": "AUTO 42001 (Universal Transverse Mercator)", + "type": "ProjectedCRS" }, - "type":"spatial" - } - }, - "datasource_type":"byoc-ID", - "description":"SkySat is one of the satellite constellations operated by Planet. SkySat satellite constellation consists of 21 satellites, which were launched between 2013 and 2020. The satellites are based on a CubeSat concept but are a bit bigger comparing to the PlanetScope's satellites. Because of its rapid revisit time, this data is suitable to monitor fast changes on earth's surface. However, note that the data acquisition must be tasked, data is not acquired systematically.", - "extent":{ - "spatial":{ - "bbox":[ - [ - -180, - -90, - 180, - 90 - ] - ] - }, - "temporal":{ - "interval":[ - [ - "2014-01-01T00:00:00Z", - null - ] - ] + "type": "spatial" } }, - "id":"SKYSAT", - "keywords":[ - "sentinel hub", - "SkySat", - "vhr", - "commercial data" - ], - "license":"various", - "links":[ - - ], - "providers":[ - { - "description":"", - "name":"Sentinel Hub", - "roles":[ - "processor" - ], - "url":"https://services.sentinel-hub.com/" - }, - { - "description":"", - "name":"Planet", - "roles":[ - "producer" - ], - "url":"https://www.planet.com/products/planet-imagery/" - } - ], - "sci:citation":"\u00a9 Planet (YYYY), contains SkySat data processed by Sentinel Hub", - "stac_extensions":[ - "datacube" - ], - "stac_version":"0.9.0", - "summaries":{ - "eo:bands":[ + "sci:citation": "\u00a9 Planet (YYYY), contains SkySat data processed by Sentinel Hub", + "summaries": { + "eo:bands": [ { - "center_wavelength":0.4825, - "common_name":"blue", - "description":"Blue", - "full_width_half_max":0.325, - "name":"Blue", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.4825, + "common_name": "blue", + "description": "Blue", + "full_width_half_max": 0.325, + "name": "Blue", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.545, - "common_name":"green", - "description":"Green", - "full_width_half_max":0.4, - "name":"Green", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.545, + "common_name": "green", + "description": "Green", + "full_width_half_max": 0.4, + "name": "Green", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.650, - "common_name":"red", - "description":"Red", - "full_width_half_max":0.45, - "name":"Red", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.650, + "common_name": "red", + "description": "Red", + "full_width_half_max": 0.45, + "name": "Red", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.82, - "common_name":"nir08", - "description":"Near Infrared", - "full_width_half_max":0.8, - "name":"NIR", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.82, + "common_name": "nir08", + "description": "Near Infrared", + "full_width_half_max": 0.8, + "name": "NIR", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Unusable Data Mask", - "name":"UDM", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Unusable Data Mask", + "name": "UDM", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Clear mask", - "name":"UDM2_Clear", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Clear mask", + "name": "UDM2_Clear", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Snow mask", - "name":"UDM2_Snow", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Snow mask", + "name": "UDM2_Snow", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Shadow mask", - "name":"UDM2_Shadow", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Shadow mask", + "name": "UDM2_Shadow", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Light haze mask", - "name":"UDM2_LightHaze", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Light haze mask", + "name": "UDM2_LightHaze", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Heavy haze mask", - "name":"UDM2_HeavyHaze", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Heavy haze mask", + "name": "UDM2_HeavyHaze", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Cloud mask", - "name":"UDM2_Cloud", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Cloud mask", + "name": "UDM2_Cloud", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Confidence map", - "name":"UDM2_Confidence", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Confidence map", + "name": "UDM2_Confidence", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.675, - "common_name":"nir08", - "description":"Panchromatic", - "full_width_half_max":0.225, - "name":"PAN", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.675, + "common_name": "nir08", + "description": "Panchromatic", + "full_width_half_max": 0.225, + "name": "PAN", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"The mask of data/no data pixels", - "name":"dataMask" + "description": "The mask of data/no data pixels", + "name": "dataMask" } ] }, - "crs":[ + "crs": [ "http://www.opengis.net/def/crs/OGC/1.3/CRS84", "http://www.opengis.net/def/crs/EPSG/0/2154", "http://www.opengis.net/def/crs/EPSG/0/2180", @@ -533,6 +535,5 @@ "http://www.opengis.net/def/crs/EPSG/0/32759", "http://www.opengis.net/def/crs/EPSG/0/32760", "http://www.opengis.net/def/crs/SR-ORG/0/98739" - ], - "title":"SkySat" + ] } \ No newline at end of file diff --git a/tests/fixtures/collection_information/SKYSAT.json b/tests/fixtures/collection_information/SKYSAT.json index 1e019b2a..771ff291 100644 --- a/tests/fixtures/collection_information/SKYSAT.json +++ b/tests/fixtures/collection_information/SKYSAT.json @@ -1,8 +1,65 @@ { - "cube:dimensions":{ - "bands":{ - "type":"bands", - "values":[ + "type": "Collection", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/datacube/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + ], + "id": "SKYSAT", + "datasource_type": "byoc-ID", + "title": "SkySat", + "links": [], + "description": "SkySat is one of the satellite constellations operated by Planet. SkySat satellite constellation consists of 21 satellites, which were launched between 2013 and 2020. The satellites are based on a CubeSat concept but are a bit bigger comparing to the PlanetScope's satellites. Because of its rapid revisit time, this data is suitable to monitor fast changes on earth's surface. However, note that the data acquisition must be tasked, data is not acquired systematically.", + "keywords": [ + "sentinel hub", + "SkySat", + "vhr", + "commercial data" + ], + "license": "various", + "providers": [ + { + "description": "", + "name": "Sentinel Hub", + "roles": [ + "processor" + ], + "url": "https://services.sentinel-hub.com/" + }, + { + "description": "", + "name": "Planet", + "roles": [ + "producer" + ], + "url": "https://www.planet.com/products/planet-imagery/" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180, + -90, + 180, + 90 + ] + ] + }, + "temporal": { + "interval": [ + [ + "2014-01-01T00:00:00Z", + null + ] + ] + } + }, + "cube:dimensions": { + "bands": { + "type": "bands", + "values": [ "Blue", "Green", "Red", @@ -19,379 +76,324 @@ "dataMask" ] }, - "t":{ - "extent":[ + "t": { + "extent": [ "2014-01-01T00:00:00Z", null ], - "type":"temporal" + "type": "temporal" }, - "x":{ - "axis":"x", - "extent":[ + "x": { + "axis": "x", + "extent": [ -180, 180 ], - "reference_system":{ - "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", - "area":"World", - "base_crs":{ - "coordinate_system":{ - "axis":[ + "reference_system": { + "$schema": "https://proj.org/schemas/v0.2/projjson.schema.json", + "area": "World", + "base_crs": { + "coordinate_system": { + "axis": [ { - "abbreviation":"Lat", - "direction":"north", - "name":"Geodetic latitude", - "unit":"degree" + "abbreviation": "Lat", + "direction": "north", + "name": "Geodetic latitude", + "unit": "degree" }, { - "abbreviation":"Lon", - "direction":"east", - "name":"Geodetic longitude", - "unit":"degree" + "abbreviation": "Lon", + "direction": "east", + "name": "Geodetic longitude", + "unit": "degree" } ], - "subtype":"ellipsoidal" + "subtype": "ellipsoidal" }, - "datum":{ - "ellipsoid":{ - "inverse_flattening":298.257223563, - "name":"WGS 84", - "semi_major_axis":6378137 + "datum": { + "ellipsoid": { + "inverse_flattening": 298.257223563, + "name": "WGS 84", + "semi_major_axis": 6378137 }, - "name":"World Geodetic System 1984", - "type":"GeodeticReferenceFrame" + "name": "World Geodetic System 1984", + "type": "GeodeticReferenceFrame" }, - "name":"WGS 84" + "name": "WGS 84" }, - "bbox":{ - "east_longitude":180, - "north_latitude":90, - "south_latitude":-90, - "west_longitude":-180 + "bbox": { + "east_longitude": 180, + "north_latitude": 90, + "south_latitude": -90, + "west_longitude": -180 }, - "coordinate_system":{ - "axis":[ + "coordinate_system": { + "axis": [ { - "abbreviation":"E", - "direction":"east", - "name":"Easting", - "unit":"metre" + "abbreviation": "E", + "direction": "east", + "name": "Easting", + "unit": "metre" }, { - "abbreviation":"N", - "direction":"north", - "name":"Northing", - "unit":"metre" + "abbreviation": "N", + "direction": "north", + "name": "Northing", + "unit": "metre" } ], - "subtype":"Cartesian" + "subtype": "Cartesian" }, - "id":{ - "authority":"OGC", - "code":"Auto42001", - "version":"1.3" + "id": { + "authority": "OGC", + "code": "Auto42001", + "version": "1.3" }, - "name":"AUTO 42001 (Universal Transverse Mercator)", - "type":"ProjectedCRS" + "name": "AUTO 42001 (Universal Transverse Mercator)", + "type": "ProjectedCRS" }, - "type":"spatial" + "type": "spatial" }, - "y":{ - "axis":"y", - "extent":[ + "y": { + "axis": "y", + "extent": [ -90, 90 ], - "reference_system":{ - "$schema":"https://proj.org/schemas/v0.2/projjson.schema.json", - "area":"World", - "base_crs":{ - "coordinate_system":{ - "axis":[ + "reference_system": { + "$schema": "https://proj.org/schemas/v0.2/projjson.schema.json", + "area": "World", + "base_crs": { + "coordinate_system": { + "axis": [ { - "abbreviation":"Lat", - "direction":"north", - "name":"Geodetic latitude", - "unit":"degree" + "abbreviation": "Lat", + "direction": "north", + "name": "Geodetic latitude", + "unit": "degree" }, { - "abbreviation":"Lon", - "direction":"east", - "name":"Geodetic longitude", - "unit":"degree" + "abbreviation": "Lon", + "direction": "east", + "name": "Geodetic longitude", + "unit": "degree" } ], - "subtype":"ellipsoidal" + "subtype": "ellipsoidal" }, - "datum":{ - "ellipsoid":{ - "inverse_flattening":298.257223563, - "name":"WGS 84", - "semi_major_axis":6378137 + "datum": { + "ellipsoid": { + "inverse_flattening": 298.257223563, + "name": "WGS 84", + "semi_major_axis": 6378137 }, - "name":"World Geodetic System 1984", - "type":"GeodeticReferenceFrame" + "name": "World Geodetic System 1984", + "type": "GeodeticReferenceFrame" }, - "name":"WGS 84" + "name": "WGS 84" }, - "bbox":{ - "east_longitude":180, - "north_latitude":90, - "south_latitude":-90, - "west_longitude":-180 + "bbox": { + "east_longitude": 180, + "north_latitude": 90, + "south_latitude": -90, + "west_longitude": -180 }, - "coordinate_system":{ - "axis":[ + "coordinate_system": { + "axis": [ { - "abbreviation":"E", - "direction":"east", - "name":"Easting", - "unit":"metre" + "abbreviation": "E", + "direction": "east", + "name": "Easting", + "unit": "metre" }, { - "abbreviation":"N", - "direction":"north", - "name":"Northing", - "unit":"metre" + "abbreviation": "N", + "direction": "north", + "name": "Northing", + "unit": "metre" } ], - "subtype":"Cartesian" + "subtype": "Cartesian" }, - "id":{ - "authority":"OGC", - "code":"Auto42001", - "version":"1.3" + "id": { + "authority": "OGC", + "code": "Auto42001", + "version": "1.3" }, - "name":"AUTO 42001 (Universal Transverse Mercator)", - "type":"ProjectedCRS" + "name": "AUTO 42001 (Universal Transverse Mercator)", + "type": "ProjectedCRS" }, - "type":"spatial" - } - }, - "datasource_type":"byoc-ID", - "description":"SkySat is one of the satellite constellations operated by Planet. SkySat satellite constellation consists of 21 satellites, which were launched between 2013 and 2020. The satellites are based on a CubeSat concept but are a bit bigger comparing to the PlanetScope's satellites. Because of its rapid revisit time, this data is suitable to monitor fast changes on earth's surface. However, note that the data acquisition must be tasked, data is not acquired systematically.", - "extent":{ - "spatial":{ - "bbox":[ - [ - -180, - -90, - 180, - 90 - ] - ] - }, - "temporal":{ - "interval":[ - [ - "2014-01-01T00:00:00Z", - null - ] - ] + "type": "spatial" } }, - "id":"SKYSAT", - "keywords":[ - "sentinel hub", - "SkySat", - "vhr", - "commercial data" - ], - "license":"various", - "links":[ - - ], - "providers":[ - { - "description":"", - "name":"Sentinel Hub", - "roles":[ - "processor" - ], - "url":"https://services.sentinel-hub.com/" - }, - { - "description":"", - "name":"Planet", - "roles":[ - "producer" - ], - "url":"https://www.planet.com/products/planet-imagery/" - } - ], - "sci:citation":"\u00a9 Planet (YYYY), contains SkySat data processed by Sentinel Hub", - "stac_extensions":[ - "datacube" - ], - "stac_version":"0.9.0", - "summaries":{ - "eo:bands":[ + "sci:citation": "\u00a9 Planet (YYYY), contains SkySat data processed by Sentinel Hub", + "summaries": { + "eo:bands": [ { - "center_wavelength":0.4825, - "common_name":"blue", - "description":"Blue", - "full_width_half_max":0.325, - "name":"Blue", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.4825, + "common_name": "blue", + "description": "Blue", + "full_width_half_max": 0.325, + "name": "Blue", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.545, - "common_name":"green", - "description":"Green", - "full_width_half_max":0.4, - "name":"Green", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.545, + "common_name": "green", + "description": "Green", + "full_width_half_max": 0.4, + "name": "Green", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.650, - "common_name":"red", - "description":"Red", - "full_width_half_max":0.45, - "name":"Red", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.650, + "common_name": "red", + "description": "Red", + "full_width_half_max": 0.45, + "name": "Red", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.82, - "common_name":"nir08", - "description":"Near Infrared", - "full_width_half_max":0.8, - "name":"NIR", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.82, + "common_name": "nir08", + "description": "Near Infrared", + "full_width_half_max": 0.8, + "name": "NIR", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Unusable Data Mask", - "name":"UDM", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Unusable Data Mask", + "name": "UDM", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Clear mask", - "name":"UDM2_Clear", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Clear mask", + "name": "UDM2_Clear", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Snow mask", - "name":"UDM2_Snow", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Snow mask", + "name": "UDM2_Snow", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Shadow mask", - "name":"UDM2_Shadow", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Shadow mask", + "name": "UDM2_Shadow", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Light haze mask", - "name":"UDM2_LightHaze", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Light haze mask", + "name": "UDM2_LightHaze", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Heavy haze mask", - "name":"UDM2_HeavyHaze", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Heavy haze mask", + "name": "UDM2_HeavyHaze", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Cloud mask", - "name":"UDM2_Cloud", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Cloud mask", + "name": "UDM2_Cloud", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"Usable Data mask - Confidence map", - "name":"UDM2_Confidence", - "openeo:gsd":{ - "unit":"m", - "value":[ + "description": "Usable Data mask - Confidence map", + "name": "UDM2_Confidence", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "center_wavelength":0.675, - "common_name":"nir08", - "description":"Panchromatic", - "full_width_half_max":0.225, - "name":"PAN", - "openeo:gsd":{ - "unit":"m", - "value":[ + "center_wavelength": 0.675, + "common_name": "nir08", + "description": "Panchromatic", + "full_width_half_max": 0.225, + "name": "PAN", + "openeo:gsd": { + "unit": "m", + "value": [ 0.5, 0.5 ] } }, { - "description":"The mask of data/no data pixels", - "name":"dataMask" + "description": "The mask of data/no data pixels", + "name": "dataMask" } ] }, - "crs":[ + "crs": [ "http://www.opengis.net/def/crs/OGC/1.3/CRS84", "http://www.opengis.net/def/crs/EPSG/0/2154", "http://www.opengis.net/def/crs/EPSG/0/2180", @@ -533,6 +535,5 @@ "http://www.opengis.net/def/crs/EPSG/0/32759", "http://www.opengis.net/def/crs/EPSG/0/32760", "http://www.opengis.net/def/crs/SR-ORG/0/98739" - ], - "title":"SkySat" + ] } \ No newline at end of file