resolver cursor appearance
Browse files- asim/curated/CLP/2024-04-21/field_ff/masked.geojson +0 -0
- asim/curated/NDVI/2024-01-17/field_ff/masked.geojson +0 -0
- asim/curated/NDVI/2024-01-27/field_ff/masked.geojson +0 -0
- asim/curated/NDVI/2024-04-21/field_ff/masked.geojson +0 -0
- asim/processed/CLP/2024-04-21/field_ff/masked.tiff +0 -0
- asim/processed/NDVI/2024-01-17/field_ff/masked.tiff +0 -0
- asim/processed/NDVI/2024-01-27/field_ff/masked.tiff +0 -0
- asim/processed/NDVI/2024-04-21/field_ff/masked.tiff +0 -0
- asim/raw/CLP/2024-01-27/field_ff/032d1377f2fa6d1202a48e16a92520a9/request.json +65 -0
- asim/raw/CLP/2024-01-27/field_ff/032d1377f2fa6d1202a48e16a92520a9/response.tiff +0 -0
- asim/raw/CLP/2024-04-21/field_ff/531d598c745c611b00066c8ef45bd470/request.json +65 -0
- asim/raw/CLP/2024-04-21/field_ff/531d598c745c611b00066c8ef45bd470/response.tiff +0 -0
- asim/raw/NDVI/2024-01-17/field_ff/ee56ad56e173dfa1c5c07bfac4c7eb53/request.json +65 -0
- asim/raw/NDVI/2024-01-17/field_ff/ee56ad56e173dfa1c5c07bfac4c7eb53/response.tiff +0 -0
- asim/raw/NDVI/2024-01-27/field_ff/9910373190a2a58172d3bbbd76a84e3e/request.json +65 -0
- asim/raw/NDVI/2024-01-27/field_ff/9910373190a2a58172d3bbbd76a84e3e/response.tiff +0 -0
- asim/raw/NDVI/2024-04-21/field_ff/949ebfab4bb451073b8380e1fc1eb69b/request.json +65 -0
- asim/raw/NDVI/2024-04-21/field_ff/949ebfab4bb451073b8380e1fc1eb69b/response.tiff +0 -0
- fields_asim.parquet +0 -0
- pag/edit.py +5 -0
- pag/monitor.py +10 -0
asim/curated/CLP/2024-04-21/field_ff/masked.geojson
ADDED
The diff for this file is too large to render.
See raw diff
|
|
asim/curated/NDVI/2024-01-17/field_ff/masked.geojson
ADDED
The diff for this file is too large to render.
See raw diff
|
|
asim/curated/NDVI/2024-01-27/field_ff/masked.geojson
ADDED
The diff for this file is too large to render.
See raw diff
|
|
asim/curated/NDVI/2024-04-21/field_ff/masked.geojson
ADDED
The diff for this file is too large to render.
See raw diff
|
|
asim/processed/CLP/2024-04-21/field_ff/masked.tiff
ADDED
asim/processed/NDVI/2024-01-17/field_ff/masked.tiff
ADDED
asim/processed/NDVI/2024-01-27/field_ff/masked.tiff
ADDED
asim/processed/NDVI/2024-04-21/field_ff/masked.tiff
ADDED
asim/raw/CLP/2024-01-27/field_ff/032d1377f2fa6d1202a48e16a92520a9/request.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"request": {
|
3 |
+
"headers": {
|
4 |
+
"accept": "image/tiff",
|
5 |
+
"content-type": "application/json"
|
6 |
+
},
|
7 |
+
"payload": {
|
8 |
+
"evalscript": " //VERSION=3\n function setup(){\n return{\n input: [\"CLP\"],\n output: [\n {\n sampleType: \"FLOAT32\",\n bands: 1\n }\n ]\n }\n }\n \n function evaluatePixel(sample){\n return [sample.CLP/255];\n }",
|
9 |
+
"input": {
|
10 |
+
"bounds": {
|
11 |
+
"bbox": [
|
12 |
+
32.673923,
|
13 |
+
15.57317,
|
14 |
+
32.686146,
|
15 |
+
15.586796
|
16 |
+
],
|
17 |
+
"properties": {
|
18 |
+
"crs": "http://www.opengis.net/def/crs/EPSG/0/4326"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"data": [
|
22 |
+
{
|
23 |
+
"dataFilter": {
|
24 |
+
"timeRange": {
|
25 |
+
"from": "2024-01-27T00:00:00Z",
|
26 |
+
"to": "2024-01-27T23:59:59Z"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"type": "sentinel-2-l1c"
|
30 |
+
}
|
31 |
+
]
|
32 |
+
},
|
33 |
+
"output": {
|
34 |
+
"height": 151,
|
35 |
+
"responses": [
|
36 |
+
{
|
37 |
+
"format": {
|
38 |
+
"type": "image/tiff"
|
39 |
+
},
|
40 |
+
"identifier": "default"
|
41 |
+
}
|
42 |
+
],
|
43 |
+
"width": 131
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"timestamp": "2024-04-24T14:46:40.508929",
|
47 |
+
"url": "https://services.sentinel-hub.com/api/v1/process"
|
48 |
+
},
|
49 |
+
"response": {
|
50 |
+
"elapsed": 0.91394,
|
51 |
+
"headers": {
|
52 |
+
"Connection": "keep-alive",
|
53 |
+
"Content-Length": "2739",
|
54 |
+
"Content-Type": "image/tiff",
|
55 |
+
"Date": "Wed, 24 Apr 2024 12:46:40 GMT",
|
56 |
+
"access-control-allow-credentials": "true",
|
57 |
+
"access-control-allow-headers": "origin,content-type,accept,accept-crs,authorization,cache-control",
|
58 |
+
"access-control-allow-methods": "GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH",
|
59 |
+
"access-control-allow-origin": "*",
|
60 |
+
"access-control-max-age": "3600",
|
61 |
+
"x-processingunits-spent": "0.05030568590677831"
|
62 |
+
},
|
63 |
+
"status_code": 200
|
64 |
+
}
|
65 |
+
}
|
asim/raw/CLP/2024-01-27/field_ff/032d1377f2fa6d1202a48e16a92520a9/response.tiff
ADDED
asim/raw/CLP/2024-04-21/field_ff/531d598c745c611b00066c8ef45bd470/request.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"request": {
|
3 |
+
"headers": {
|
4 |
+
"accept": "image/tiff",
|
5 |
+
"content-type": "application/json"
|
6 |
+
},
|
7 |
+
"payload": {
|
8 |
+
"evalscript": " //VERSION=3\n function setup(){\n return{\n input: [\"CLP\"],\n output: [\n {\n sampleType: \"FLOAT32\",\n bands: 1\n }\n ]\n }\n }\n \n function evaluatePixel(sample){\n return [sample.CLP/255];\n }",
|
9 |
+
"input": {
|
10 |
+
"bounds": {
|
11 |
+
"bbox": [
|
12 |
+
32.673923,
|
13 |
+
15.57317,
|
14 |
+
32.686146,
|
15 |
+
15.586796
|
16 |
+
],
|
17 |
+
"properties": {
|
18 |
+
"crs": "http://www.opengis.net/def/crs/EPSG/0/4326"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"data": [
|
22 |
+
{
|
23 |
+
"dataFilter": {
|
24 |
+
"timeRange": {
|
25 |
+
"from": "2024-04-21T00:00:00Z",
|
26 |
+
"to": "2024-04-21T23:59:59Z"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"type": "sentinel-2-l1c"
|
30 |
+
}
|
31 |
+
]
|
32 |
+
},
|
33 |
+
"output": {
|
34 |
+
"height": 151,
|
35 |
+
"responses": [
|
36 |
+
{
|
37 |
+
"format": {
|
38 |
+
"type": "image/tiff"
|
39 |
+
},
|
40 |
+
"identifier": "default"
|
41 |
+
}
|
42 |
+
],
|
43 |
+
"width": 131
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"timestamp": "2024-04-24T14:44:30.134052",
|
47 |
+
"url": "https://services.sentinel-hub.com/api/v1/process"
|
48 |
+
},
|
49 |
+
"response": {
|
50 |
+
"elapsed": 0.947234,
|
51 |
+
"headers": {
|
52 |
+
"Connection": "keep-alive",
|
53 |
+
"Content-Length": "2392",
|
54 |
+
"Content-Type": "image/tiff",
|
55 |
+
"Date": "Wed, 24 Apr 2024 12:44:30 GMT",
|
56 |
+
"access-control-allow-credentials": "true",
|
57 |
+
"access-control-allow-headers": "origin,content-type,accept,accept-crs,authorization,cache-control",
|
58 |
+
"access-control-allow-methods": "GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH",
|
59 |
+
"access-control-allow-origin": "*",
|
60 |
+
"access-control-max-age": "3600",
|
61 |
+
"x-processingunits-spent": "0.05030568590677831"
|
62 |
+
},
|
63 |
+
"status_code": 200
|
64 |
+
}
|
65 |
+
}
|
asim/raw/CLP/2024-04-21/field_ff/531d598c745c611b00066c8ef45bd470/response.tiff
ADDED
asim/raw/NDVI/2024-01-17/field_ff/ee56ad56e173dfa1c5c07bfac4c7eb53/request.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"request": {
|
3 |
+
"headers": {
|
4 |
+
"accept": "image/tiff",
|
5 |
+
"content-type": "application/json"
|
6 |
+
},
|
7 |
+
"payload": {
|
8 |
+
"evalscript": "//VERSION=3\n\nvar degToRad = Math.PI / 180;\n\nfunction evaluatePixelOrig(samples) {\n var sample = samples[0];\n var b03_norm = normalize(sample.B03, 0, 0.253061520471542);\n var b04_norm = normalize(sample.B04, 0, 0.290393577911328);\n var b05_norm = normalize(sample.B05, 0, 0.305398915248555);\n var b06_norm = normalize(sample.B06, 0.006637972542253, 0.608900395797889);\n var b07_norm = normalize(sample.B07, 0.013972727018939, 0.753827384322927);\n var b8a_norm = normalize(sample.B8A, 0.026690138082061, 0.782011770669178);\n var b11_norm = normalize(sample.B11, 0.016388074192258, 0.493761397883092);\n var b12_norm = normalize(sample.B12, 0, 0.493025984460231);\n var viewZen_norm = normalize(Math.cos(sample.viewZenithMean * degToRad), 0.918595400582046, 1);\n var sunZen_norm = normalize(Math.cos(sample.sunZenithAngles * degToRad), 0.342022871159208, 0.936206429175402);\n var relAzim_norm = Math.cos((sample.sunAzimuthAngles - sample.viewAzimuthMean) * degToRad)\n \n var n1 = neuron1(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n2 = neuron2(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n3 = neuron3(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n4 = neuron4(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n5 = neuron5(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n \n var l2 = layer2(n1, n2, n3, n4, n5);\n \n var lai = denormalize(l2, 0.000319182538301, 14.4675094548151);\n return {\n default: [lai]\n }\n}\n\nfunction neuron1(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 4.96238030555279\n - 0.023406878966470 * b03_norm\n + 0.921655164636366 * b04_norm\n + 0.135576544080099 * b05_norm\n - 1.938331472397950 * b06_norm\n - 3.342495816122680 * b07_norm\n + 0.902277648009576 * b8a_norm\n + 0.205363538258614 * b11_norm\n - 0.040607844721716 * b12_norm\n - 0.083196409727092 * viewZen_norm\n + 0.260029270773809 * sunZen_norm\n + 0.284761567218845 * relAzim_norm;\n\n return tansig(sum);\n}\n\nfunction neuron2(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.416008443981500\n - 0.132555480856684 * b03_norm\n - 0.139574837333540 * b04_norm\n - 1.014606016898920 * b05_norm\n - 1.330890038649270 * b06_norm\n + 0.031730624503341 * b07_norm\n - 1.433583541317050 * b8a_norm\n - 0.959637898574699 * b11_norm\n + 1.133115706551000 * b12_norm\n + 0.216603876541632 * viewZen_norm\n + 0.410652303762839 * sunZen_norm\n + 0.064760155543506 * relAzim_norm;\n \n return tansig(sum);\n}\n\nfunction neuron3(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.075897047213310\n + 0.086015977724868 * b03_norm\n + 0.616648776881434 * b04_norm\n + 0.678003876446556 * b05_norm\n + 0.141102398644968 * b06_norm\n - 0.096682206883546 * b07_norm\n - 1.128832638862200 * b8a_norm\n + 0.302189102741375 * b11_norm\n + 0.434494937299725 * b12_norm\n - 0.021903699490589 * viewZen_norm\n - 0.228492476802263 * sunZen_norm\n - 0.039460537589826 * relAzim_norm;\n\n return tansig(sum);\n}\n \nfunction neuron4(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.533988264655420\n - 0.109366593670404 * b03_norm\n - 0.071046262972729 * b04_norm\n + 0.064582411478320 * b05_norm\n + 2.906325236823160 * b06_norm\n - 0.673873108979163 * b07_norm\n - 3.838051868280840 * b8a_norm\n + 1.695979344531530 * b11_norm\n + 0.046950296081713 * b12_norm\n - 0.049709652688365 * viewZen_norm\n + 0.021829545430994 * sunZen_norm\n + 0.057483827104091 * relAzim_norm;\n \n return tansig(sum);\n}\n \nfunction neuron5(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 3.024115930757230\n - 0.089939416159969 * b03_norm\n + 0.175395483106147 * b04_norm\n - 0.081847329172620 * b05_norm\n + 2.219895367487790 * b06_norm\n + 1.713873975136850 * b07_norm\n + 0.713069186099534 * b8a_norm\n + 0.138970813499201 * b11_norm\n - 0.060771761518025 * b12_norm\n + 0.124263341255473 * viewZen_norm\n + 0.210086140404351 * sunZen_norm\n - 0.183878138700341 * relAzim_norm;\n \n return tansig(sum);\n}\n \nfunction layer2(neuron1, neuron2, neuron3, neuron4, neuron5) {\n var sum =\n + 1.096963107077220\n - 1.500135489728730 * neuron1\n - 0.096283269121503 * neuron2\n - 0.194935930577094 * neuron3\n - 0.352305895755591 * neuron4\n + 0.075107415847473 * neuron5;\n \n return sum;\n}\n \nfunction normalize(unnormalized, min, max) {\n return 2 * (unnormalized - min) / (max - min) - 1;\n}\n\nfunction denormalize(normalized, min, max) {\n return 0.5 * (normalized + 1) * (max - min) + min;\n}\n \nfunction tansig(input) {\n return 2 / (1 + Math.exp(-2 * input)) - 1; \n}\n \nfunction setup() {\n return {\n input: [{\n bands: [\n \"B03\",\n \"B04\",\n \"B05\",\n \"B06\",\n \"B07\",\n \"B8A\",\n \"B11\",\n \"B12\",\n \"viewZenithMean\",\n \"viewAzimuthMean\",\n \"sunZenithAngles\",\n \"sunAzimuthAngles\"\n ],\n units: [\"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"DEGREES\", \"DEGREES\", \"DEGREES\", \"DEGREES\"]\n }],\n output: [\n {\n id: \"default\",\n sampleType: \"FLOAT32\",\n bands: 1\n }\n ]\n }\n}\n\nfunction evaluatePixel(sample, scene, metadata, customData, outputMetadata) {\n const result = evaluatePixelOrig([sample], [scene], metadata, customData, outputMetadata);\n return result[Object.keys(result)[0]];\n}",
|
9 |
+
"input": {
|
10 |
+
"bounds": {
|
11 |
+
"bbox": [
|
12 |
+
32.673923,
|
13 |
+
15.57317,
|
14 |
+
32.686146,
|
15 |
+
15.586796
|
16 |
+
],
|
17 |
+
"properties": {
|
18 |
+
"crs": "http://www.opengis.net/def/crs/EPSG/0/4326"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"data": [
|
22 |
+
{
|
23 |
+
"dataFilter": {
|
24 |
+
"timeRange": {
|
25 |
+
"from": "2024-01-17T00:00:00Z",
|
26 |
+
"to": "2024-01-17T23:59:59Z"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"type": "sentinel-2-l1c"
|
30 |
+
}
|
31 |
+
]
|
32 |
+
},
|
33 |
+
"output": {
|
34 |
+
"height": 151,
|
35 |
+
"responses": [
|
36 |
+
{
|
37 |
+
"format": {
|
38 |
+
"type": "image/tiff"
|
39 |
+
},
|
40 |
+
"identifier": "default"
|
41 |
+
}
|
42 |
+
],
|
43 |
+
"width": 131
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"timestamp": "2024-04-24T14:46:33.541986",
|
47 |
+
"url": "https://services.sentinel-hub.com/api/v1/process"
|
48 |
+
},
|
49 |
+
"response": {
|
50 |
+
"elapsed": 1.732008,
|
51 |
+
"headers": {
|
52 |
+
"Connection": "keep-alive",
|
53 |
+
"Content-Type": "image/tiff",
|
54 |
+
"Date": "Wed, 24 Apr 2024 12:46:32 GMT",
|
55 |
+
"Transfer-Encoding": "chunked",
|
56 |
+
"access-control-allow-credentials": "true",
|
57 |
+
"access-control-allow-headers": "origin,content-type,accept,accept-crs,authorization,cache-control",
|
58 |
+
"access-control-allow-methods": "GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH",
|
59 |
+
"access-control-allow-origin": "*",
|
60 |
+
"access-control-max-age": "3600",
|
61 |
+
"x-processingunits-spent": "0.603668212890625"
|
62 |
+
},
|
63 |
+
"status_code": 200
|
64 |
+
}
|
65 |
+
}
|
asim/raw/NDVI/2024-01-17/field_ff/ee56ad56e173dfa1c5c07bfac4c7eb53/response.tiff
ADDED
asim/raw/NDVI/2024-01-27/field_ff/9910373190a2a58172d3bbbd76a84e3e/request.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"request": {
|
3 |
+
"headers": {
|
4 |
+
"accept": "image/tiff",
|
5 |
+
"content-type": "application/json"
|
6 |
+
},
|
7 |
+
"payload": {
|
8 |
+
"evalscript": "//VERSION=3\n\nvar degToRad = Math.PI / 180;\n\nfunction evaluatePixelOrig(samples) {\n var sample = samples[0];\n var b03_norm = normalize(sample.B03, 0, 0.253061520471542);\n var b04_norm = normalize(sample.B04, 0, 0.290393577911328);\n var b05_norm = normalize(sample.B05, 0, 0.305398915248555);\n var b06_norm = normalize(sample.B06, 0.006637972542253, 0.608900395797889);\n var b07_norm = normalize(sample.B07, 0.013972727018939, 0.753827384322927);\n var b8a_norm = normalize(sample.B8A, 0.026690138082061, 0.782011770669178);\n var b11_norm = normalize(sample.B11, 0.016388074192258, 0.493761397883092);\n var b12_norm = normalize(sample.B12, 0, 0.493025984460231);\n var viewZen_norm = normalize(Math.cos(sample.viewZenithMean * degToRad), 0.918595400582046, 1);\n var sunZen_norm = normalize(Math.cos(sample.sunZenithAngles * degToRad), 0.342022871159208, 0.936206429175402);\n var relAzim_norm = Math.cos((sample.sunAzimuthAngles - sample.viewAzimuthMean) * degToRad)\n \n var n1 = neuron1(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n2 = neuron2(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n3 = neuron3(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n4 = neuron4(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n5 = neuron5(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n \n var l2 = layer2(n1, n2, n3, n4, n5);\n \n var lai = denormalize(l2, 0.000319182538301, 14.4675094548151);\n return {\n default: [lai]\n }\n}\n\nfunction neuron1(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 4.96238030555279\n - 0.023406878966470 * b03_norm\n + 0.921655164636366 * b04_norm\n + 0.135576544080099 * b05_norm\n - 1.938331472397950 * b06_norm\n - 3.342495816122680 * b07_norm\n + 0.902277648009576 * b8a_norm\n + 0.205363538258614 * b11_norm\n - 0.040607844721716 * b12_norm\n - 0.083196409727092 * viewZen_norm\n + 0.260029270773809 * sunZen_norm\n + 0.284761567218845 * relAzim_norm;\n\n return tansig(sum);\n}\n\nfunction neuron2(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.416008443981500\n - 0.132555480856684 * b03_norm\n - 0.139574837333540 * b04_norm\n - 1.014606016898920 * b05_norm\n - 1.330890038649270 * b06_norm\n + 0.031730624503341 * b07_norm\n - 1.433583541317050 * b8a_norm\n - 0.959637898574699 * b11_norm\n + 1.133115706551000 * b12_norm\n + 0.216603876541632 * viewZen_norm\n + 0.410652303762839 * sunZen_norm\n + 0.064760155543506 * relAzim_norm;\n \n return tansig(sum);\n}\n\nfunction neuron3(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.075897047213310\n + 0.086015977724868 * b03_norm\n + 0.616648776881434 * b04_norm\n + 0.678003876446556 * b05_norm\n + 0.141102398644968 * b06_norm\n - 0.096682206883546 * b07_norm\n - 1.128832638862200 * b8a_norm\n + 0.302189102741375 * b11_norm\n + 0.434494937299725 * b12_norm\n - 0.021903699490589 * viewZen_norm\n - 0.228492476802263 * sunZen_norm\n - 0.039460537589826 * relAzim_norm;\n\n return tansig(sum);\n}\n \nfunction neuron4(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.533988264655420\n - 0.109366593670404 * b03_norm\n - 0.071046262972729 * b04_norm\n + 0.064582411478320 * b05_norm\n + 2.906325236823160 * b06_norm\n - 0.673873108979163 * b07_norm\n - 3.838051868280840 * b8a_norm\n + 1.695979344531530 * b11_norm\n + 0.046950296081713 * b12_norm\n - 0.049709652688365 * viewZen_norm\n + 0.021829545430994 * sunZen_norm\n + 0.057483827104091 * relAzim_norm;\n \n return tansig(sum);\n}\n \nfunction neuron5(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 3.024115930757230\n - 0.089939416159969 * b03_norm\n + 0.175395483106147 * b04_norm\n - 0.081847329172620 * b05_norm\n + 2.219895367487790 * b06_norm\n + 1.713873975136850 * b07_norm\n + 0.713069186099534 * b8a_norm\n + 0.138970813499201 * b11_norm\n - 0.060771761518025 * b12_norm\n + 0.124263341255473 * viewZen_norm\n + 0.210086140404351 * sunZen_norm\n - 0.183878138700341 * relAzim_norm;\n \n return tansig(sum);\n}\n \nfunction layer2(neuron1, neuron2, neuron3, neuron4, neuron5) {\n var sum =\n + 1.096963107077220\n - 1.500135489728730 * neuron1\n - 0.096283269121503 * neuron2\n - 0.194935930577094 * neuron3\n - 0.352305895755591 * neuron4\n + 0.075107415847473 * neuron5;\n \n return sum;\n}\n \nfunction normalize(unnormalized, min, max) {\n return 2 * (unnormalized - min) / (max - min) - 1;\n}\n\nfunction denormalize(normalized, min, max) {\n return 0.5 * (normalized + 1) * (max - min) + min;\n}\n \nfunction tansig(input) {\n return 2 / (1 + Math.exp(-2 * input)) - 1; \n}\n \nfunction setup() {\n return {\n input: [{\n bands: [\n \"B03\",\n \"B04\",\n \"B05\",\n \"B06\",\n \"B07\",\n \"B8A\",\n \"B11\",\n \"B12\",\n \"viewZenithMean\",\n \"viewAzimuthMean\",\n \"sunZenithAngles\",\n \"sunAzimuthAngles\"\n ],\n units: [\"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"DEGREES\", \"DEGREES\", \"DEGREES\", \"DEGREES\"]\n }],\n output: [\n {\n id: \"default\",\n sampleType: \"FLOAT32\",\n bands: 1\n }\n ]\n }\n}\n\nfunction evaluatePixel(sample, scene, metadata, customData, outputMetadata) {\n const result = evaluatePixelOrig([sample], [scene], metadata, customData, outputMetadata);\n return result[Object.keys(result)[0]];\n}",
|
9 |
+
"input": {
|
10 |
+
"bounds": {
|
11 |
+
"bbox": [
|
12 |
+
32.673923,
|
13 |
+
15.57317,
|
14 |
+
32.686146,
|
15 |
+
15.586796
|
16 |
+
],
|
17 |
+
"properties": {
|
18 |
+
"crs": "http://www.opengis.net/def/crs/EPSG/0/4326"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"data": [
|
22 |
+
{
|
23 |
+
"dataFilter": {
|
24 |
+
"timeRange": {
|
25 |
+
"from": "2024-01-27T00:00:00Z",
|
26 |
+
"to": "2024-01-27T23:59:59Z"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"type": "sentinel-2-l1c"
|
30 |
+
}
|
31 |
+
]
|
32 |
+
},
|
33 |
+
"output": {
|
34 |
+
"height": 151,
|
35 |
+
"responses": [
|
36 |
+
{
|
37 |
+
"format": {
|
38 |
+
"type": "image/tiff"
|
39 |
+
},
|
40 |
+
"identifier": "default"
|
41 |
+
}
|
42 |
+
],
|
43 |
+
"width": 131
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"timestamp": "2024-04-24T14:46:33.300550",
|
47 |
+
"url": "https://services.sentinel-hub.com/api/v1/process"
|
48 |
+
},
|
49 |
+
"response": {
|
50 |
+
"elapsed": 1.732532,
|
51 |
+
"headers": {
|
52 |
+
"Connection": "keep-alive",
|
53 |
+
"Content-Type": "image/tiff",
|
54 |
+
"Date": "Wed, 24 Apr 2024 12:46:32 GMT",
|
55 |
+
"Transfer-Encoding": "chunked",
|
56 |
+
"access-control-allow-credentials": "true",
|
57 |
+
"access-control-allow-headers": "origin,content-type,accept,accept-crs,authorization,cache-control",
|
58 |
+
"access-control-allow-methods": "GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH",
|
59 |
+
"access-control-allow-origin": "*",
|
60 |
+
"access-control-max-age": "3600",
|
61 |
+
"x-processingunits-spent": "0.603668212890625"
|
62 |
+
},
|
63 |
+
"status_code": 200
|
64 |
+
}
|
65 |
+
}
|
asim/raw/NDVI/2024-01-27/field_ff/9910373190a2a58172d3bbbd76a84e3e/response.tiff
ADDED
asim/raw/NDVI/2024-04-21/field_ff/949ebfab4bb451073b8380e1fc1eb69b/request.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"request": {
|
3 |
+
"headers": {
|
4 |
+
"accept": "image/tiff",
|
5 |
+
"content-type": "application/json"
|
6 |
+
},
|
7 |
+
"payload": {
|
8 |
+
"evalscript": "//VERSION=3\n\nvar degToRad = Math.PI / 180;\n\nfunction evaluatePixelOrig(samples) {\n var sample = samples[0];\n var b03_norm = normalize(sample.B03, 0, 0.253061520471542);\n var b04_norm = normalize(sample.B04, 0, 0.290393577911328);\n var b05_norm = normalize(sample.B05, 0, 0.305398915248555);\n var b06_norm = normalize(sample.B06, 0.006637972542253, 0.608900395797889);\n var b07_norm = normalize(sample.B07, 0.013972727018939, 0.753827384322927);\n var b8a_norm = normalize(sample.B8A, 0.026690138082061, 0.782011770669178);\n var b11_norm = normalize(sample.B11, 0.016388074192258, 0.493761397883092);\n var b12_norm = normalize(sample.B12, 0, 0.493025984460231);\n var viewZen_norm = normalize(Math.cos(sample.viewZenithMean * degToRad), 0.918595400582046, 1);\n var sunZen_norm = normalize(Math.cos(sample.sunZenithAngles * degToRad), 0.342022871159208, 0.936206429175402);\n var relAzim_norm = Math.cos((sample.sunAzimuthAngles - sample.viewAzimuthMean) * degToRad)\n \n var n1 = neuron1(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n2 = neuron2(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n3 = neuron3(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n4 = neuron4(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n var n5 = neuron5(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm);\n \n var l2 = layer2(n1, n2, n3, n4, n5);\n \n var lai = denormalize(l2, 0.000319182538301, 14.4675094548151);\n return {\n default: [lai]\n }\n}\n\nfunction neuron1(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 4.96238030555279\n - 0.023406878966470 * b03_norm\n + 0.921655164636366 * b04_norm\n + 0.135576544080099 * b05_norm\n - 1.938331472397950 * b06_norm\n - 3.342495816122680 * b07_norm\n + 0.902277648009576 * b8a_norm\n + 0.205363538258614 * b11_norm\n - 0.040607844721716 * b12_norm\n - 0.083196409727092 * viewZen_norm\n + 0.260029270773809 * sunZen_norm\n + 0.284761567218845 * relAzim_norm;\n\n return tansig(sum);\n}\n\nfunction neuron2(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.416008443981500\n - 0.132555480856684 * b03_norm\n - 0.139574837333540 * b04_norm\n - 1.014606016898920 * b05_norm\n - 1.330890038649270 * b06_norm\n + 0.031730624503341 * b07_norm\n - 1.433583541317050 * b8a_norm\n - 0.959637898574699 * b11_norm\n + 1.133115706551000 * b12_norm\n + 0.216603876541632 * viewZen_norm\n + 0.410652303762839 * sunZen_norm\n + 0.064760155543506 * relAzim_norm;\n \n return tansig(sum);\n}\n\nfunction neuron3(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.075897047213310\n + 0.086015977724868 * b03_norm\n + 0.616648776881434 * b04_norm\n + 0.678003876446556 * b05_norm\n + 0.141102398644968 * b06_norm\n - 0.096682206883546 * b07_norm\n - 1.128832638862200 * b8a_norm\n + 0.302189102741375 * b11_norm\n + 0.434494937299725 * b12_norm\n - 0.021903699490589 * viewZen_norm\n - 0.228492476802263 * sunZen_norm\n - 0.039460537589826 * relAzim_norm;\n\n return tansig(sum);\n}\n \nfunction neuron4(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 1.533988264655420\n - 0.109366593670404 * b03_norm\n - 0.071046262972729 * b04_norm\n + 0.064582411478320 * b05_norm\n + 2.906325236823160 * b06_norm\n - 0.673873108979163 * b07_norm\n - 3.838051868280840 * b8a_norm\n + 1.695979344531530 * b11_norm\n + 0.046950296081713 * b12_norm\n - 0.049709652688365 * viewZen_norm\n + 0.021829545430994 * sunZen_norm\n + 0.057483827104091 * relAzim_norm;\n \n return tansig(sum);\n}\n \nfunction neuron5(b03_norm,b04_norm,b05_norm,b06_norm,b07_norm,b8a_norm,b11_norm,b12_norm, viewZen_norm,sunZen_norm,relAzim_norm) {\n var sum =\n + 3.024115930757230\n - 0.089939416159969 * b03_norm\n + 0.175395483106147 * b04_norm\n - 0.081847329172620 * b05_norm\n + 2.219895367487790 * b06_norm\n + 1.713873975136850 * b07_norm\n + 0.713069186099534 * b8a_norm\n + 0.138970813499201 * b11_norm\n - 0.060771761518025 * b12_norm\n + 0.124263341255473 * viewZen_norm\n + 0.210086140404351 * sunZen_norm\n - 0.183878138700341 * relAzim_norm;\n \n return tansig(sum);\n}\n \nfunction layer2(neuron1, neuron2, neuron3, neuron4, neuron5) {\n var sum =\n + 1.096963107077220\n - 1.500135489728730 * neuron1\n - 0.096283269121503 * neuron2\n - 0.194935930577094 * neuron3\n - 0.352305895755591 * neuron4\n + 0.075107415847473 * neuron5;\n \n return sum;\n}\n \nfunction normalize(unnormalized, min, max) {\n return 2 * (unnormalized - min) / (max - min) - 1;\n}\n\nfunction denormalize(normalized, min, max) {\n return 0.5 * (normalized + 1) * (max - min) + min;\n}\n \nfunction tansig(input) {\n return 2 / (1 + Math.exp(-2 * input)) - 1; \n}\n \nfunction setup() {\n return {\n input: [{\n bands: [\n \"B03\",\n \"B04\",\n \"B05\",\n \"B06\",\n \"B07\",\n \"B8A\",\n \"B11\",\n \"B12\",\n \"viewZenithMean\",\n \"viewAzimuthMean\",\n \"sunZenithAngles\",\n \"sunAzimuthAngles\"\n ],\n units: [\"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"REFLECTANCE\", \"DEGREES\", \"DEGREES\", \"DEGREES\", \"DEGREES\"]\n }],\n output: [\n {\n id: \"default\",\n sampleType: \"FLOAT32\",\n bands: 1\n }\n ]\n }\n}\n\nfunction evaluatePixel(sample, scene, metadata, customData, outputMetadata) {\n const result = evaluatePixelOrig([sample], [scene], metadata, customData, outputMetadata);\n return result[Object.keys(result)[0]];\n}",
|
9 |
+
"input": {
|
10 |
+
"bounds": {
|
11 |
+
"bbox": [
|
12 |
+
32.673923,
|
13 |
+
15.57317,
|
14 |
+
32.686146,
|
15 |
+
15.586796
|
16 |
+
],
|
17 |
+
"properties": {
|
18 |
+
"crs": "http://www.opengis.net/def/crs/EPSG/0/4326"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"data": [
|
22 |
+
{
|
23 |
+
"dataFilter": {
|
24 |
+
"timeRange": {
|
25 |
+
"from": "2024-04-21T00:00:00Z",
|
26 |
+
"to": "2024-04-21T23:59:59Z"
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"type": "sentinel-2-l1c"
|
30 |
+
}
|
31 |
+
]
|
32 |
+
},
|
33 |
+
"output": {
|
34 |
+
"height": 151,
|
35 |
+
"responses": [
|
36 |
+
{
|
37 |
+
"format": {
|
38 |
+
"type": "image/tiff"
|
39 |
+
},
|
40 |
+
"identifier": "default"
|
41 |
+
}
|
42 |
+
],
|
43 |
+
"width": 131
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"timestamp": "2024-04-24T14:44:25.961359",
|
47 |
+
"url": "https://services.sentinel-hub.com/api/v1/process"
|
48 |
+
},
|
49 |
+
"response": {
|
50 |
+
"elapsed": 1.736811,
|
51 |
+
"headers": {
|
52 |
+
"Connection": "keep-alive",
|
53 |
+
"Content-Type": "image/tiff",
|
54 |
+
"Date": "Wed, 24 Apr 2024 12:44:25 GMT",
|
55 |
+
"Transfer-Encoding": "chunked",
|
56 |
+
"access-control-allow-credentials": "true",
|
57 |
+
"access-control-allow-headers": "origin,content-type,accept,accept-crs,authorization,cache-control",
|
58 |
+
"access-control-allow-methods": "GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH",
|
59 |
+
"access-control-allow-origin": "*",
|
60 |
+
"access-control-max-age": "3600",
|
61 |
+
"x-processingunits-spent": "0.603668212890625"
|
62 |
+
},
|
63 |
+
"status_code": 200
|
64 |
+
}
|
65 |
+
}
|
asim/raw/NDVI/2024-04-21/field_ff/949ebfab4bb451073b8380e1fc1eb69b/response.tiff
ADDED
fields_asim.parquet
ADDED
Binary file (6.01 kB). View file
|
|
pag/edit.py
CHANGED
@@ -17,6 +17,11 @@ def add_properties(df, col_name, value, field_name):
|
|
17 |
return df
|
18 |
|
19 |
def select_field(gdf):
|
|
|
|
|
|
|
|
|
|
|
20 |
names = gdf['name'].tolist()
|
21 |
names.append("Select Field")
|
22 |
field_name = st.selectbox("Select Field", options=names, key="field_name_edit", help="Select the field to edit", index=len(names)-1)
|
|
|
17 |
return df
|
18 |
|
19 |
def select_field(gdf):
|
20 |
+
st.markdown("""
|
21 |
+
<style>
|
22 |
+
.stSelectbox > div > div {cursor: pointer;}
|
23 |
+
</style>
|
24 |
+
""", unsafe_allow_html=True)
|
25 |
names = gdf['name'].tolist()
|
26 |
names.append("Select Field")
|
27 |
field_name = st.selectbox("Select Field", options=names, key="field_name_edit", help="Select the field to edit", index=len(names)-1)
|
pag/monitor.py
CHANGED
@@ -29,6 +29,11 @@ config.sh_client_secret = 'KvbQMKZB85ZWEgWuxqiWIVEvTAQEfoF9'
|
|
29 |
|
30 |
|
31 |
def select_field(gdf):
|
|
|
|
|
|
|
|
|
|
|
32 |
names = gdf['name'].tolist()
|
33 |
names.append("Select Field")
|
34 |
field_name = st.selectbox("Select Field", options=names, key="field_name_monitor", help="Select the field to edit", index=len(names)-1)
|
@@ -119,6 +124,11 @@ def track(metric, field_name, src_df, client_name):
|
|
119 |
|
120 |
# Display the dropdown menu
|
121 |
if len(dates) > 0:
|
|
|
|
|
|
|
|
|
|
|
122 |
date = st.selectbox('Select Observation Date: ', dates, index=len(dates)-1, key=f'Select Date Dropdown Menu - {metric}')
|
123 |
if date != -1:
|
124 |
st.write('You selected:', date)
|
|
|
29 |
|
30 |
|
31 |
def select_field(gdf):
|
32 |
+
st.markdown("""
|
33 |
+
<style>
|
34 |
+
.stSelectbox > div > div {cursor: pointer;}
|
35 |
+
</style>
|
36 |
+
""", unsafe_allow_html=True)
|
37 |
names = gdf['name'].tolist()
|
38 |
names.append("Select Field")
|
39 |
field_name = st.selectbox("Select Field", options=names, key="field_name_monitor", help="Select the field to edit", index=len(names)-1)
|
|
|
124 |
|
125 |
# Display the dropdown menu
|
126 |
if len(dates) > 0:
|
127 |
+
st.markdown("""
|
128 |
+
<style>
|
129 |
+
.stSelectbox > div > div {cursor: pointer;}
|
130 |
+
</style>
|
131 |
+
""", unsafe_allow_html=True)
|
132 |
date = st.selectbox('Select Observation Date: ', dates, index=len(dates)-1, key=f'Select Date Dropdown Menu - {metric}')
|
133 |
if date != -1:
|
134 |
st.write('You selected:', date)
|