Advancing Earth Science with Elasticsearch at Terradue11. "_source": {
"platformShortName": "S1A",
...
"modified": "2016-08-29T12:05:55.72414",
"published": "2016-08-29T12:05:55.722029Z",
"startDate": "2016-08-26T07:19:43.426903+02:00",
"endDate": "2016-08-26T07:20:11.341358+02:00",
"geometry": {
"coordinates": [
[
[
12.880328,
40.986172
],
[
9.856127,
41.385281
],
[
10.212059,
43.060333
],
[
13.319739,
42.661736
],
[
12.880328,
40.986172
]
]
],
"type": "Polygon"
},
"identifier": "S1A_IW_SLC__1SDV_20160826T051943_20160826T052011_012767_0141C5_3599",
...
}
13. POST sentinel1/eopfeature/_search
{
"query": { "and": {
"filters": [{
"geo_shape" : {
"geometry" : {
"relation" : "intersects",
"shape" : {
"coordinates": [[
[ 12.880328, 40.986172 ],
[ 9.856127, 41.385281 ],
...
]], "type" : "Polygon" }}},
"range": {
"start": {
"gte": "2016-02-24",
"lte": "2016-08-23"}},
},
"term": {
"track": "128" }
]}
}}
16. {
"platform": "S1A",
"type": "SLC",
"time": "2017-02-06T08:31:48.027691Z",
"frame": "EarthFixed",
"absoluteOrbit": 15160,
"position": [
-5613366.283966,
4302302.834969,
-256349.609754
],
"velocity": [
756.880948,
1415.929115,
7425.469561
]
}
17. OSV 1 (tn)
OSV 2 (tn+10s)
OSV 3 (tn+20s)
OSV 4 (tn+30s)
OSV 5 (tn+40s)
tn + 24.341s
18. POST sentinel1/eoporbit/_search
{
"aggs": {
"OSV": {
"scripted_metric": {
"init_script": {
"_comment" : "Init array of vectors and the timestamp",
"file": "init_osv.py"
},
"map_script" : {
"_comment" : "Load orbit state vectors",
"file": "load_osv.py"
},
"reduce_script" : {
"_comment" : "Robust Cublic Spline interpolation",
"file": "cubic_spline_interpolation.py"
}
}
}
~ 50
orbit state vectors
20. {
"platform": "S1A",
"azimuthTime": "2017-02-06T08:30:45.951147Z",
"slantRangeTime": 0.005821934184880311,
"line": 15174,
"pixel": 12660,
"latitude": -4.903591527542559,
"longitude": 147.6990386159871,
"height": -0.000001518987119197845,
"incidenceAngle": {
"value": 38.98923179289942,
"uom": "deg"
},
"elevationAngle": {
"value": 34.53983660078405,
"uom": "deg"
},
"modified": "2017-02-06T15:11:51.464773Z"
}
32. {
"platform": "S1A",
"dataset_id": "S1A_IW_GRDH_1SDV_20160729T182822_20160729T182847_012367_013456_E8BF",
"num_lines": 25184,
"num_pixels": 16804,
"stat_fn": "norm",
"stat_fn_paramaters": {
“mean": -13.9180515377,
“stddev": 2.52405823515
},
"dB_spread": {
"pctl5th": -18.6049933434,
"pctl95th": -10.1168370247,
"diff": 8,4881563187
},
"modified": "2017-02-06T15:11:51.464773Z"
}
33. POST sentinel1/backscatter_profile/_search
{
"aggs": {
"anomaly": {
"scripted_metric": {
"init_script": {
"_comment" : "Init functions & anomaly indices",
"file": "init_anomaly_idx.py"
},
"map_script" : {
"_comment" : "Load PDF and CDF from stat fn",
"file": "load_stat.py"
},
"reduce_script" : {
"_comment" : “Compute anomaly indices",
"file": "compute_anomaly_idx.py"
}
},
}