{
  "accept_datetime": "2018-05-30 17:56:34.036314",
  "accept_timestamp": 1527702994.0363128,
  "api_info": {
    "endpoint": "asyncephemeralsentinel2processingresource",
    "method": "POST",
    "path": "/api/v1/sentinel2_process/ndvi/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009",
    "request_url": "http://actinia.mundialis.de/api/v1/sentinel2_process/ndvi/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009"
  },
  "datetime": "2018-05-30 17:59:16.928670",
  "http_code": 200,
  "message": "Processing successfully finished",
  "process_chain_list": [
    {
      "1": {
        "flags": "g",
        "inputs": {
          "map": "ndvi"
        },
        "module": "r.univar",
        "outputs": {
          "output": {
            "name": "/actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/.tmp/tmpii_n7q_c.univar"
          }
        }
      }
    },
    {
      "1": {
        "inputs": {
          "map": "ndvi"
        },
        "module": "d.rast"
      },
      "2": {
        "flags": "n",
        "inputs": {
          "at": "8,92,0,7",
          "raster": "ndvi"
        },
        "module": "d.legend"
      },
      "3": {
        "inputs": {
          "at": "20,4",
          "style": "line"
        },
        "module": "d.barscale"
      }
    }
  ],
  "process_log": [
    {
      "executable": "/usr/bin/wget",
      "parameter": [
        "-t5",
        "-c",
        "-q",
        "https://storage.googleapis.com/gcp-public-data-sentinel-2/tiles/48/U/XU/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009.SAFE/GRANULE/L1C_T48UXU_A005893_20180423T035951/IMG_DATA/T48UXU_20180423T035539_B08.jp2"
      ],
      "return_code": 0,
      "run_time": 1.8076550960540771,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "/usr/bin/wget",
      "parameter": [
        "-t5",
        "-c",
        "-q",
        "https://storage.googleapis.com/gcp-public-data-sentinel-2/tiles/48/U/XU/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009.SAFE/GRANULE/L1C_T48UXU_A005893_20180423T035951/IMG_DATA/T48UXU_20180423T035539_B04.jp2"
      ],
      "return_code": 0,
      "run_time": 2.5123090744018555,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "/bin/mv",
      "parameter": [
        "/actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/.tmp/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009.gml",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009.gml"
      ],
      "return_code": 0,
      "run_time": 0.05031132698059082,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "/bin/mv",
      "parameter": [
        "/actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/.tmp/T48UXU_20180423T035539_B08.jp2",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08"
      ],
      "return_code": 0,
      "run_time": 0.10045957565307617,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "/bin/mv",
      "parameter": [
        "/actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/.tmp/T48UXU_20180423T035539_B04.jp2",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04"
      ],
      "return_code": 0,
      "run_time": 0.10039401054382324,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "python",
      "parameter": [
        "/usr/local/bin/grass",
        "-e",
        "-c",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08",
        "/actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/sentinel2"
      ],
      "return_code": 0,
      "run_time": 0.20068836212158203,
      "stderr": [
        "Default locale settings are missing. GRASS running with C locale.WARNING: Searched for a web browser, but none found",
        "Creating new GRASS GIS location/mapset...",
        "Cleaning up temporary files...",
        ""
      ],
      "stdout": "Default locale not found, using UTF-8\n"
    },
    {
      "executable": "v.import",
      "parameter": [
        "input=/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009.gml",
        "output=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009",
        "--q"
      ],
      "return_code": 0,
      "run_time": 0.40126729011535645,
      "stderr": [
        "WARNING: Projection of dataset does not appear to match current location.",
        "",
        "Location PROJ_INFO is:",
        "name: WGS 84 / UTM zone 48N",
        "datum: wgs84",
        "ellps: wgs84",
        "proj: utm",
        "zone: 48",
        "no_defs: defined",
        "",
        "Dataset PROJ_INFO is:",
        "name: WGS 84",
        "datum: wgs84",
        "ellps: wgs84",
        "proj: ll",
        "no_defs: defined",
        "",
        "ERROR: proj",
        "",
        "WARNING: Width for column fid set to 255 (was not specified by OGR), some strings may be truncated!",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "v.timestamp",
      "parameter": [
        "map=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009",
        "date=23 apr 2018 03:59:51"
      ],
      "return_code": 0,
      "run_time": 0.05044722557067871,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "/usr/bin/gdal_translate",
      "parameter": [
        "-projwin",
        "106.334331",
        "48.744984",
        "107.852439",
        "47.731044",
        "-of",
        "vrt",
        "-projwin_srs",
        "EPSG:4326",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08.vrt"
      ],
      "return_code": 0,
      "run_time": 0.05033278465270996,
      "stderr": [
        "Warning 1: Computed -srcwin -191 3 11578 10962 falls partially outside raster extent. Going on however.",
        ""
      ],
      "stdout": "Input file size is 10980, 10980\n"
    },
    {
      "executable": "r.import",
      "parameter": [
        "input=/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08.vrt",
        "output=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08_uncropped",
        "--q"
      ],
      "return_code": 0,
      "run_time": 39.701863050460815,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "g.region",
      "parameter": [
        "align=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08_uncropped",
        "vector=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009",
        "-g"
      ],
      "return_code": 0,
      "run_time": 0.05021047592163086,
      "stderr": [
        ""
      ],
      "stdout": "projection=1\nzone=48\nn=5400010\ns=5289940\nw=599990\ne=709830\nnsres=10\newres=10\nrows=11007\ncols=10984\ncells=120900888\n"
    },
    {
      "executable": "r.mask",
      "parameter": [
        "vector=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009"
      ],
      "return_code": 0,
      "run_time": 4.911208152770996,
      "stderr": [
        "Reading areas...",
        "0..100",
        "Writing raster map...",
        "0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100",
        "Reading areas...",
        "0..100",
        "Writing raster map...",
        "0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100",
        "All subsequent raster operations will be limited to the MASK area. Removing or renaming raster map named 'MASK' will restore raster operations to normal.",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.mapcalc",
      "parameter": [
        "expression=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08 = float(S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08_uncropped)"
      ],
      "return_code": 0,
      "run_time": 9.524506330490112,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.timestamp",
      "parameter": [
        "map=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08",
        "date=23 apr 2018 03:59:51"
      ],
      "return_code": 0,
      "run_time": 0.05036807060241699,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "g.remove",
      "parameter": [
        "type=raster",
        "name=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08_uncropped",
        "-f"
      ],
      "return_code": 0,
      "run_time": 0.050286054611206055,
      "stderr": [
        "Removing raster <S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08_uncropped>",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.mask",
      "parameter": [
        "-r"
      ],
      "return_code": 0,
      "run_time": 0.10034012794494629,
      "stderr": [
        "Raster MASK removed",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "/usr/bin/gdal_translate",
      "parameter": [
        "-projwin",
        "106.334331",
        "48.744984",
        "107.852439",
        "47.731044",
        "-of",
        "vrt",
        "-projwin_srs",
        "EPSG:4326",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04",
        "/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04.vrt"
      ],
      "return_code": 0,
      "run_time": 0.050231218338012695,
      "stderr": [
        "Warning 1: Computed -srcwin -191 3 11578 10962 falls partially outside raster extent. Going on however.",
        ""
      ],
      "stdout": "Input file size is 10980, 10980\n"
    },
    {
      "executable": "r.import",
      "parameter": [
        "input=/actinia/workspace/download_cache/demouser/S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04.vrt",
        "output=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04_uncropped",
        "--q"
      ],
      "return_code": 0,
      "run_time": 39.23846101760864,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "g.region",
      "parameter": [
        "align=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04_uncropped",
        "vector=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009",
        "-g"
      ],
      "return_code": 0,
      "run_time": 0.05029606819152832,
      "stderr": [
        ""
      ],
      "stdout": "projection=1\nzone=48\nn=5400010\ns=5289940\nw=599990\ne=709830\nnsres=10\newres=10\nrows=11007\ncols=10984\ncells=120900888\n"
    },
    {
      "executable": "r.mask",
      "parameter": [
        "vector=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009"
      ],
      "return_code": 0,
      "run_time": 4.911312580108643,
      "stderr": [
        "Reading areas...",
        "0..100",
        "Writing raster map...",
        "0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100",
        "Reading areas...",
        "0..100",
        "Writing raster map...",
        "0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100",
        "All subsequent raster operations will be limited to the MASK area. Removing or renaming raster map named 'MASK' will restore raster operations to normal.",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.mapcalc",
      "parameter": [
        "expression=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04 = float(S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04_uncropped)"
      ],
      "return_code": 0,
      "run_time": 9.322596549987793,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.timestamp",
      "parameter": [
        "map=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04",
        "date=23 apr 2018 03:59:51"
      ],
      "return_code": 0,
      "run_time": 0.050379276275634766,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "g.remove",
      "parameter": [
        "type=raster",
        "name=S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04_uncropped",
        "-f"
      ],
      "return_code": 0,
      "run_time": 0.05032968521118164,
      "stderr": [
        "Removing raster <S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04_uncropped>",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.mask",
      "parameter": [
        "-r"
      ],
      "return_code": 0,
      "run_time": 0.10035395622253418,
      "stderr": [
        "Raster MASK removed",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.mapcalc",
      "parameter": [
        "expression=ndvi = (float(S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08) - float(S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04))/(float(S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B08) + float(S2B_MSIL1C_20180423T035539_N0206_R004_T48UXU_20180423T071009_B04))"
      ],
      "return_code": 0,
      "run_time": 16.589876174926758,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.colors",
      "parameter": [
        "color=ndvi",
        "map=ndvi"
      ],
      "return_code": 0,
      "run_time": 0.050316572189331055,
      "stderr": [
        "Color table for raster map <ndvi> set to 'ndvi'",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "r.univar",
      "parameter": [
        "map=ndvi",
        "output=/actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/.tmp/tmpii_n7q_c.univar",
        "-g"
      ],
      "return_code": 0,
      "run_time": 4.009390354156494,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "d.rast",
      "parameter": [
        "map=ndvi"
      ],
      "return_code": 0,
      "run_time": 1.7041704654693604,
      "stderr": [
        "0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100",
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "d.legend",
      "parameter": [
        "raster=ndvi",
        "at=8,92,0,7",
        "-n"
      ],
      "return_code": 0,
      "run_time": 0.4010012149810791,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "d.barscale",
      "parameter": [
        "style=line",
        "at=20,4"
      ],
      "return_code": 0,
      "run_time": 0.40097856521606445,
      "stderr": [
        ""
      ],
      "stdout": ""
    },
    {
      "executable": "g.region",
      "parameter": [
        "raster=ndvi",
        "-g"
      ],
      "return_code": 0,
      "run_time": 0.05024313926696777,
      "stderr": [
        ""
      ],
      "stdout": "projection=1\nzone=48\nn=5400010\ns=5289940\nw=599990\ne=709830\nnsres=10\newres=10\nrows=11007\ncols=10984\ncells=120900888\n"
    },
    {
      "executable": "r.out.gdal",
      "parameter": [
        "-fm",
        "input=ndvi",
        "format=GTiff",
        "createopt=COMPRESS=LZW",
        "output=/actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/.tmp/ndvi.tiff"
      ],
      "return_code": 0,
      "run_time": 11.329921960830688,
      "stderr": [
        "Checking GDAL data type and nodata value...",
        "2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100",
        "Using GDAL data type <Float32>",
        "Input raster map contains cells with NULL-value (no-data). The value -nan will be used to represent no-data values in the input map. You can specify a nodata value with the nodata option.",
        "Exporting raster data to GTiff format...",
        "ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF format.",
        "2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100",
        "r.out.gdal complete. File </actinia/workspace/temp_db/gisdbase_ebee558d397a4158b4f391125e63e903/.tmp/ndvi.tiff> created.",
        ""
      ],
      "stdout": ""
    }
  ],
  "process_results": [
    {
      "cells": 120900888.0,
      "coeff_var": 44.8857169907856,
      "max": 0.71156895160675,
      "mean": 0.214685931299146,
      "mean_of_abs": 0.215134492278408,
      "min": -0.561938941478729,
      "n": 120190632.0,
      "name": "ndvi",
      "null_cells": 710256.0,
      "range": 1.27350789308548,
      "stddev": 0.0963633195419669,
      "sum": 25803237.7643529,
      "variance": 0.00928588935314722
    }
  ],
  "progress": {
    "num_of_steps": 33,
    "step": 32
  },
  "resource_id": "resource_id-87c6ddf2-0911-4e16-95eb-a4ea466f18ac",
  "status": "finished",
  "time_delta": 162.89236998558044,
  "timestamp": 1527703156.928668,
  "urls": {
    "resources": [
      "https://actinia.mundialis.de/api/v1/resource/demouser/resource_id-87c6ddf2-0911-4e16-95eb-a4ea466f18ac/tmpuvndd_n7.png",
      "https://actinia.mundialis.de/api/v1/resource/demouser/resource_id-87c6ddf2-0911-4e16-95eb-a4ea466f18ac/ndvi.tiff"
    ],
    "status": "https://actinia.mundialis.de/api/v1/resources/demouser/resource_id-87c6ddf2-0911-4e16-95eb-a4ea466f18ac"
  },
  "user_id": "demouser"
}
