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/4703bf9a8a7e315462bcb2c8d18e53a1 to your computer and use it in GitHub Desktop.
Save up42-epicycles/4703bf9a8a7e315462bcb2c8d18e53a1 to your computer and use it in GitHub Desktop.
UP42 API: Created workflow.
{
"error": null,
"data": [
{
"id": "dbaf1a84-d335-44bf-8910-3956c61516e5",
"displayId": "dbaf1a84",
"createdAt": "2019-10-09T17:12:30.238Z",
"updatedAt": "2019-10-09T17:12:30.238Z",
"name": "First task Landsat 8 AOI clipped data block",
"parentsIds": [],
"blockName": "sentinelhub-landsat8-aoiclipped",
"blockVersionTag": "1.1.0",
"block": {
"id": "e0b133ae-7b9c-435c-99ac-c4527cc8d9cf",
"createdAt": "2019-04-18T14:23:16.339Z",
"updatedAt": "2019-10-01T13:05:48.813Z",
"name": "sentinelhub-landsat8-aoiclipped",
"displayName": "Landsat-8 Level 1 (TOA) AOI clipped",
"description": "This block provides Landsat-8 imagery clipped to all webmercator tiles intersecting a given bounding box or AOI on a given zoom level. The part of the image that does not intersect with these tiles will be black. The block outputs a single GeoTIFF file and will store its extent within the output feature geometry.",
"containerUrl": "registry.up42.dev/marketplace/sentinelhub-landsat8-aoiclipped:iC5jLa3Xm2wpuDOi31F6vMu0l8nQ9XnKf3PG5dng",
"inputCapabilities": [],
"outputCapabilities": [
{
"name": "up42.data.aoiclipped"
}
],
"provider": "Sentinel Hub",
"tags": [
"MSI",
"Landsat",
"Imagery"
],
"isPublic": true,
"isPublicVersion": true,
"isValid": true,
"parameters": {
"bbox": {
"type": "array",
"default": null
},
"time": {
"type": "dateRange",
"default": "2018-01-01T00:00:00+00:00/2019-12-31T23:59:59+00:00"
},
"limit": {
"type": "integer",
"default": 1,
"minimum": 1
},
"contains": {
"type": "geometry"
},
"intersects": {
"type": "geometry"
},
"zoom_level": {
"type": "integer",
"default": 12,
"maximum": 20,
"minimum": 3
},
"time_series": {
"type": "array",
"default": null
}
},
"type": "DATA",
"isDryRunSupported": true,
"version": "1.1.0",
"metadata": {
"overview": "Landsat 8 is a multi-spectral imaging mission, capturing visible, infrared bands, and thermal bands since February 2013. A Pan-sharpening band is available for visual spectral bands as well. This block is a L1 (TOA) data block that is AOI-clipped. Only Tier 1 scenes i.e. those with the highest available data quality which are considered suitable for time-series analysis are delivered. \n\n Landsat 8 is a unique resource for those who work in agriculture, geology, forestry, regional planning, education, mapping, and global change research.\n\n All Landsat 8 data are available from the start of imagery capture. All new acquisitions are made available each day, often within hours of production. \n\n  \n  | Name  |  Description               | Resolution | \n  |-------|----------------------------|------------|\n  | B01   | Ultra Blue                 | 30m        | \n  | B02   | Blue                       | 30m        | \n  | B03   | Green                      | 30m        | \n  | B04   | Red                        | 30m        | \n  | B05   | Near Infrared (NIR)        | 30m        | \n  | B06   | Shortwave Infrared (SWIR)  | 30m        | \n  | B07   | Shortwave Infrared (SWIR)  | 30m        |\n  | B08   | Panchromatic               | 15m        | \n  | B09   | Cirrus                     | 30m        | \n  | B10   | Thermal Infrared (TIRS)    | 30m        | \n  | B11   | Thermal Infrared (TIRS)    | 30m        | \n  \n  \n",
"termsAndConditionsUrl": "https://sentinel-hub.com/tos",
"iconUrl": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/Landsat-8-Avatar.png",
"pricingStrategy": {
"id": "86df2b37-d3bb-4124-a8c6-882b8df37286",
"displayId": "86df2b37",
"createdAt": "2019-10-01T13:05:48.806Z",
"updatedAt": "2019-10-01T13:05:48.806Z",
"type": "MEGAPIXEL_OUTPUT",
"credits": 1
},
"blockMarketplaceSampleData": [
{
"id": "04422f67-2871-42f0-8065-06fd4d237a02",
"displayId": "04422f67",
"createdAt": "2019-10-01T13:05:48.808Z",
"updatedAt": "2019-10-01T13:05:48.808Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20True%20color.png",
"type": "IMAGE"
},
{
"id": "e49bc92f-bca3-47d7-b43e-dee8bb8ecaa2",
"displayId": "e49bc92f",
"createdAt": "2019-10-01T13:05:48.809Z",
"updatedAt": "2019-10-01T13:05:48.809Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20True%20color-clipped.png",
"type": "IMAGE"
},
{
"id": "8252db0b-a38e-4761-8a68-0ee7fea615ec",
"displayId": "8252db0b",
"createdAt": "2019-10-01T13:05:48.809Z",
"updatedAt": "2019-10-01T13:05:48.809Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20Thermal.png",
"type": "IMAGE"
},
{
"id": "5c58b7b0-d664-4a1b-86ba-e51e028608e6",
"displayId": "5c58b7b0",
"createdAt": "2019-10-01T13:05:48.810Z",
"updatedAt": "2019-10-01T13:05:48.810Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20Thermal-clipped.png",
"type": "IMAGE"
},
{
"id": "94f8f385-fcf4-4832-9a0c-f23b12260cda",
"displayId": "94f8f385",
"createdAt": "2019-10-01T13:05:48.810Z",
"updatedAt": "2019-10-01T13:05:48.810Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20NDVI.png",
"type": "IMAGE"
},
{
"id": "17dc143d-5248-485e-845b-4dd9a162c4c2",
"displayId": "17dc143d",
"createdAt": "2019-10-01T13:05:48.811Z",
"updatedAt": "2019-10-01T13:05:48.811Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20NDVI-clipped.png",
"type": "IMAGE"
},
{
"id": "647a57a1-6618-42de-9784-df0a2428a11b",
"displayId": "647a57a1",
"createdAt": "2019-10-01T13:05:48.812Z",
"updatedAt": "2019-10-01T13:05:48.812Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20False%20color.png",
"type": "IMAGE"
},
{
"id": "11746e74-dd87-47f9-9947-6cbae4656f67",
"displayId": "11746e74",
"createdAt": "2019-10-01T13:05:48.812Z",
"updatedAt": "2019-10-01T13:05:48.812Z",
"value": "https://storage.googleapis.com/metadata-interstellar-staging/SentinelHub/Landsat8/2018-05-30%2C%20Landsat%208%20USGS%2C%20False%20color-clipped.png",
"type": "IMAGE"
}
]
},
"machineName": "LARGE"
}
},
{
"id": "82ac20d5-c910-400f-a047-6a9ead3b81fc",
"displayId": "82ac20d5",
"createdAt": "2019-10-09T17:12:30.252Z",
"updatedAt": "2019-10-09T17:12:30.252Z",
"name": "land-cover-classification",
"parentsIds": [
"dbaf1a84-d335-44bf-8910-3956c61516e5"
],
"blockName": "land-cover-classification",
"blockVersionTag": "1.0.3",
"block": {
"id": "3f5f4490-9e58-490f-80e0-9a464355d5ce",
"createdAt": "2019-08-09T09:38:14.613Z",
"updatedAt": "2019-08-12T14:53:30.964Z",
"name": "land-cover-classification",
"displayName": "DEMO: Land Cover Classification",
"description": "This block takes an AOI clipped image and runs land cover classification on it.\nThe classification is a simple unsupervised K-means clustering in the color space of the image.\nThe number of clusters and other parameters can be specified for the classification.",
"containerUrl": "registry.up42.dev/marketplace/land-cover-classification:7nyITZbx7smddUx5p8xCvdBtndkIXYNRoTV9DWZz",
"inputCapabilities": [
{
"name": "up42.data.aoiclipped"
}
],
"outputCapabilities": [
{
"name": "custom.processing.land_cover"
}
],
"provider": "UP42",
"tags": [
"imagery",
"processing",
"machine learning"
],
"isPublic": true,
"isPublicVersion": true,
"isValid": true,
"parameters": {
"n_clusters": {
"type": "number",
"default": 6,
"required": false,
"description": "The number of clusters for the K-means clustering"
},
"n_iterations": {
"type": "number",
"default": 10,
"required": false,
"description": "The number of iterations for the K-means clustering"
},
"n_sieve_pixels": {
"type": "number",
"default": 64,
"required": false,
"description": "Minimum number of pixels in each patch for the classification"
}
},
"type": "PROCESSING",
"isDryRunSupported": false,
"version": "1.0.3",
"metadata": {
"overview": "Land Cover is the physical material at the surface of the earth that includes grass, asphalt, trees, bare ground, water along with some other types (not to be confused with land use). Land cover information plays an essential role in many fields including forest and rangeland monitoring, municipal planning, desertification studies, identifying exposed soil for erosion risk and more. \n\n This block is a case study of the ability to integrate the Tensorflow framework on the platform, unleashing the potential to create neural networks for machine-learning. The source code is published as Free Software / Open Source and can be found at https://github.com/up42/land-cover-classification-demo .\n\n| General Information | Description |\n| --------------------- |-----------------------------------------------------------------------------|\n| Block Type | classification (machine learning) |\n| Supported Input Types | all raster data |\n| Resolution | identical to the input |\n| Performance | This is a proof of concept. No quality or accuracy measures were taken. |\n",
"termsAndConditionsUrl": "https://up42.com/legal/privacy-policy",
"iconUrl": "https://metadata.up42.dev/UP42_Blocks/LandCover/LC1_avatar.png",
"pricingStrategy": {
"id": "2319e095-4db3-4da2-8181-7b1caf530071",
"displayId": "2319e095",
"createdAt": "2019-08-12T14:53:30.977Z",
"updatedAt": "2019-08-12T14:53:30.977Z",
"type": "MEGABYTE_INPUT",
"credits": 1
},
"blockMarketplaceSampleData": [
{
"id": "ed05eaf5-1385-4227-8bd1-70f117c47862",
"displayId": "ed05eaf5",
"createdAt": "2019-08-12T14:53:30.984Z",
"updatedAt": "2019-08-12T14:53:30.984Z",
"value": "https://metadata.up42.dev/UP42_Blocks/LandCover/LC2_orig.png",
"type": "IMAGE"
},
{
"id": "4db438fe-7d3a-4392-998f-b7abdf63bc3e",
"displayId": "4db438fe",
"createdAt": "2019-08-12T14:53:30.982Z",
"updatedAt": "2019-08-12T14:53:30.982Z",
"value": "https://metadata.up42.dev/UP42_Blocks/LandCover/LC1_orig.png",
"type": "IMAGE"
},
{
"id": "652122ca-4931-47c4-8561-72cad8f96cdf",
"displayId": "652122ca",
"createdAt": "2019-08-12T14:53:30.983Z",
"updatedAt": "2019-08-12T14:53:30.983Z",
"value": "https://metadata.up42.dev/UP42_Blocks/LandCover/LC1_output.png",
"type": "IMAGE"
},
{
"id": "4f124e0e-56b7-42ab-b168-b8392afe9325",
"displayId": "4f124e0e",
"createdAt": "2019-08-12T14:53:30.985Z",
"updatedAt": "2019-08-12T14:53:30.985Z",
"value": "https://metadata.up42.dev/UP42_Blocks/LandCover/LC2_output.png",
"type": "IMAGE"
}
]
},
"machineName": "LARGE"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment