Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save up42-epicycles/f44f85a67628a4a72e90d5977e526754 to your computer and use it in GitHub Desktop.
Save up42-epicycles/f44f85a67628a4a72e90d5977e526754 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
2019-12-18 14:14:26,386 - blockutils.common - DEBUG - Raw task parameters from UP42_TASK_PARAMETERS are: {"ids":null,"time":null,"limit":1,"order_ids":["44c5c936-4738-448e-94b3-65cb9d175afc"],"intersects":null,"time_series":null}
2019-12-18 14:14:26,387 - apiutils.oneatlas - DEBUG - GET, https://data.api.oneatlas.airbus.com/api/v1/orders/44c5c936-4738-448e-94b3-65cb9d175afc
2019-12-18 14:14:26,635 - apiutils.oneatlas - DEBUG - POST, https://search.oneatlas.geoapi-airbusds.com/api/v1/opensearch
{'id': '51000727-a4ba-4185-ada9-81b33db52eb2', 'constellation': 'PHR'}
2019-12-18 14:14:26,790 - apiutils.oneatlas - DEBUG - {"type": "FeatureCollection", "features": [{"_links": {"download": [{"href": "gs://airbus-format-public/PDWPHR_20180924093000_21_SO18025494-21-01_DS_PHR1A_201809212229505_FR1_PX_E172S44_0811_06547.zip", "name": "Download Nearline", "type": "GS"}, {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/download", "name": "Download", "type": "HTTP"}], "quicklook": {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/quicklook", "name": "QuickLook", "type": "HTTP"}, "thumbnail": {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/thumbnail", "name": "Thumbnail", "type": "HTTP"}, "imagesMetadata": [{"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/eeec6f8c-5ec2-46a1-aa08-64defd9a2faf/metadata", "name": "panchromatic", "type": "application/geo+json", "resourceId": "eeec6f8c-5ec2-46a1-aa08-64defd9a2faf"}, {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/e540e76c-bcdf-48a5-a963-3bc332ff5534/metadata", "name": "multispectral", "type": "application/geo+json", "resourceId": "e540e76c-bcdf-48a5-a963-3bc332ff5534"}], "imagesWmts": [{"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/eeec6f8c-5ec2-46a1-aa08-64defd9a2faf/wmts", "name": "panchromatic", "type": "WMTS", "resourceId": "eeec6f8c-5ec2-46a1-aa08-64defd9a2faf"}, {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/e540e76c-bcdf-48a5-a963-3bc332ff5534/wmts", "name": "multispectral", "type": "WMTS", "resourceId": "e540e76c-bcdf-48a5-a963-3bc332ff5534"}], "imagesWms": [{"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/eeec6f8c-5ec2-46a1-aa08-64defd9a2faf/wms", "name": "panchromatic", "type": "WMS", "resourceId": "eeec6f8c-5ec2-46a1-aa08-64defd9a2faf"}, {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/e540e76c-bcdf-48a5-a963-3bc332ff5534/wms", "name": "multispectral", "type": "WMS", "resourceId": "e540e76c-bcdf-48a5-a963-3bc332ff5534"}], "imagesGetBuffer": [{"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/eeec6f8c-5ec2-46a1-aa08-64defd9a2faf/buffer", "name": "panchromatic", "type": "getBuffer", "resourceId": "eeec6f8c-5ec2-46a1-aa08-64defd9a2faf"}, {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/e540e76c-bcdf-48a5-a963-3bc332ff5534/buffer", "name": "multispectral", "type": "getBuffer", "resourceId": "e540e76c-bcdf-48a5-a963-3bc332ff5534"}], "delete": {"href": "https://workspaces.foundation.api.oneatlas.airbus.com/api/v1/workspaces/0e33eb50-3404-48ad-b835-b0b4b72a5625/items/51000727-a4ba-4185-ada9-81b33db52eb2", "name": "Delete", "type": "HTTP"}, "wmts": {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/wmts", "name": "WMTS", "type": "WMTS"}, "wms": {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/wms", "name": "WMS", "type": "WMS"}, "imagesWcs": [{"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/eeec6f8c-5ec2-46a1-aa08-64defd9a2faf/wcs", "name": "panchromatic", "type": "WCS", "resourceId": "eeec6f8c-5ec2-46a1-aa08-64defd9a2faf"}, {"href": "https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/images/e540e76c-bcdf-48a5-a963-3bc332ff5534/wcs", "name": "multispectral", "type": "WCS", "resourceId": "e540e76c-bcdf-48a5-a963-3bc332ff5534"}]}, "geometry": {"coordinates": [[[172.5373508512363, -43.21122452763633], [172.7878390933893, -43.21084403431821], [172.7893252273228, -43.87728294281114], [172.5356194865542, -43.87699350774908], [172.5373508512363, -43.21122452763633]]], "type": "Polygon"}, "properties": {"acquisitionDate": "2018-09-21T22:29:50.555Z", "acquisitionIdentifier": "DS_PHR1A_201809212229505_FR1_PX_E172S44_0811_06547", "acquisitionStation": "SV1", "archivingCenter": "FR1", "azimuthAngle": 179.9669939717338, "cloudCover": 0, "commercialReference": "SO18025494-021", "constellation": "PHR", "correlationId": "0f7030ad-fc56-40b1-8dec-512a7deb7b72", "expirationDate": "2019-09-25T21:27:18.867537601Z", "format": "image/jp2", "id": "51000727-a4ba-4185-ada9-81b33db52eb2", "illuminationAzimuthAngle": 37.86308255337158, "illuminationElevationAngle": 39.40105845724834, "incidenceAngle": 2.424942035324725, "incidenceAngleAcrossTrack": -1.625074816288399, "incidenceAngleAlongTrack": 1.800819567367269, "organisationName": "AIRBUS DS GEO", "parentIdentifier": "DS_PHR1A_201809212229505_FR1_PX_E172S44_0811_06547", "platform": "PHR1A", "processingCenter": "FCMUGC", "processingDate": "2018-09-25T14:20:16.609", "processingLevel": "SENSOR", "processorName": "IPU V_05_03vV_05_03", "productCategory": "image", "productType": "bundle", "productionStatus": "IN_CLOUD", "publicationDate": "2018-09-25T21:27:18.867537601Z", "qualified": false, "resolution": 0.5, "sensorType": "OPTICAL", "snowCover": 0, "sourceIdentifier": "DS_PHR1A_201809212229135_FR1_PX_E172S44_0811_06543", "spectralRange": "VISIBLE", "title": "DS_PHR1A_201809212229135_FR1_PX_E172S44_0811_06543", "workspaceId": "0e33eb50-3404-48ad-b835-b0b4b72a5625", "workspaceName": "public", "workspaceTitle": "Public"}, "rights": {"browse": {}, "download": {}, "wms": {}, "wmts": {}}, "type": "Feature"}], "error": false, "totalResults": 1, "startIndex": 0, "itemsPerPage": 50}
2019-12-18 14:14:26,791 - pleiades - DEBUG - Identified 1 results
2019-12-18 14:14:26,791 - apiutils.oneatlas - DEBUG - Now downloading quicklook
2019-12-18 14:14:26,791 - apiutils.oneatlas - DEBUG - GET, https://access.foundation.api.oneatlas.airbus.com/api/v1/items/51000727-a4ba-4185-ada9-81b33db52eb2/quicklook
2019-12-18 14:14:28,062 - pleiades - INFO - Downloading data for existing order 44c5c936-4738-448e-94b3-65cb9d175afc
2019-12-18 14:14:28,062 - apiutils.oneatlas - DEBUG - GET, https://data.api.oneatlas.airbus.com/api/v1/orders/44c5c936-4738-448e-94b3-65cb9d175afc
2019-12-18 14:14:28,266 - pleiades - INFO - Download for order 44c5c936-4738-448e-94b3-65cb9d175afc is ready
2019-12-18 14:14:28,267 - apiutils.oneatlas - DEBUG - GET, https://view.oneatlas.geoapi-airbusds.com/api/v1/items/ba898e13-4d30-4fdd-9bda-77043991173b/download
2019-12-18 14:14:28,855 - apiutils.oneatlas - INFO - Now downloading OneAtlas order 44c5c936-4738-448e-94b3-65cb9d175afc...
2019-12-18 14:14:34,526 - apiutils.oneatlas - INFO - Finished downloading order 44c5c936-4738-448e-94b3-65cb9d175afc.
2019-12-18 14:14:35,774 - pleiades - DEBUG - Clipping feature geometries with query geometries
2019-12-18 14:14:35,775 - pleiades - DEBUG - {"bbox": [172.61705, -43.836509, 172.728202, -43.798937], "geometry": {"coordinates": [[[172.728202, -43.836509], [172.61705, -43.836509], [172.61705, -43.798937], [172.728202, -43.798937], [172.728202, -43.836509]]], "type": "Polygon"}, "id": "51000727-a4ba-4185-ada9-81b33db52eb2", "orderID": "44c5c936-4738-448e-94b3-65cb9d175afc", "properties": {"acquisitionDate": "2018-09-21T22:29:50.555Z", "acquisitionIdentifier": "DS_PHR1A_201809212229505_FR1_PX_E172S44_0811_06547", "acquisitionStation": "SV1", "archivingCenter": "FR1", "azimuthAngle": 179.9669939717338, "cloudCover": 0, "commercialReference": "SO18025494-021", "constellation": "PHR", "correlationId": "0f7030ad-fc56-40b1-8dec-512a7deb7b72", "expirationDate": "2019-09-25T21:27:18.867537601Z", "format": "image/jp2", "id": "51000727-a4ba-4185-ada9-81b33db52eb2", "illuminationAzimuthAngle": 37.86308255337158, "illuminationElevationAngle": 39.40105845724834, "incidenceAngle": 2.424942035324725, "incidenceAngleAcrossTrack": -1.625074816288399, "incidenceAngleAlongTrack": 1.800819567367269, "organisationName": "AIRBUS DS GEO", "parentIdentifier": "DS_PHR1A_201809212229505_FR1_PX_E172S44_0811_06547", "platform": "PHR1A", "processingCenter": "FCMUGC", "processingDate": "2018-09-25T14:20:16.609", "processingLevel": "SENSOR", "processorName": "IPU V_05_03vV_05_03", "productCategory": "image", "productType": "bundle", "productionStatus": "IN_CLOUD", "publicationDate": "2018-09-25T21:27:18.867537601Z", "qualified": false, "resolution": 0.5, "sensorType": "OPTICAL", "snowCover": 0, "sourceIdentifier": "DS_PHR1A_201809212229135_FR1_PX_E172S44_0811_06543", "spectralRange": "VISIBLE", "title": "DS_PHR1A_201809212229135_FR1_PX_E172S44_0811_06543", "up42.data.scene.dimap": "DS_PHR1A_201809212229505_FR1_PX_E172S44_0811_06547/44c5c936-4738-448e-94b3-65cb9d175afc", "workspaceId": "0e33eb50-3404-48ad-b835-b0b4b72a5625", "workspaceName": "public", "workspaceTitle": "Public"}, "type": "Feature"}
2019-12-18 14:14:35,775 - pleiades - DEBUG - Saving 1 result features to data.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment