Skip to content

Instantly share code, notes, and snippets.

@maximlamare
Created September 14, 2020 14:24
Show Gist options
  • Save maximlamare/995a33645a937c12bc8bb2a002804377 to your computer and use it in GitHub Desktop.
Save maximlamare/995a33645a937c12bc8bb2a002804377 to your computer and use it in GitHub Desktop.
The Batch Processing payload for eo-learn
order = {
"processRequest": {
"input": {
"bounds": {
"geometry": {
"type": "Polygon",
"coordinates": AOI_bounds
},
"properties": {
"crs": "http://www.opengis.net/def/crs/EPSG/0/32632"
}
},
"data": [
{
"type": "S2L1C",
"dataFilter": {
"timeRange": {
"from": "2019-01-01T00:00:00Z",
"to": "2019-12-31T23:59:59Z"
}
}
}
]
},
"output": {
"responses": [
{
"identifier": "B02",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "B03",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "B04",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "B08",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "B11",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "B12",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "NDVI",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "NDWI",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "NDBI",
"format": {
"type": "image/tiff"
}
},
{
"identifier": "data_mask",
"format": {
"type": "image/tiff"
}
}
]
},
"evalscript": evalscript
},
"tilingGridId": 1,
"resolution": 10,
"bucketName": aws_bucket_name,
"description": "Slovenia LULC data example"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment