Skip to content

Commit d274627

Browse files
Merge pull request #60 from Terradue/feature/perusat
PeruSAT metadata extractor
2 parents e896fda + ac462f6 commit d274627

File tree

44 files changed

+10980
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+10980
-22
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,298 @@
1+
{
2+
"stac_version": "1.0.0",
3+
"stac_extensions": [
4+
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
5+
"https://stac-extensions.github.io/processing/v1.0.0/schema.json",
6+
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
7+
"https://stac-extensions.github.io/raster/v1.0.0/schema.json",
8+
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
9+
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
10+
],
11+
"type": "Feature",
12+
"id": "ORT_PER1_20170307150657_000",
13+
"geometry": {
14+
"type": "Polygon",
15+
"coordinates": [
16+
[
17+
[
18+
-76.80828263,
19+
-12.34188494
20+
],
21+
[
22+
-76.8621118,
23+
-12.58622352
24+
],
25+
[
26+
-76.65052524,
27+
-12.6261459
28+
],
29+
[
30+
-76.59040614,
31+
-12.38380893
32+
],
33+
[
34+
-76.80828263,
35+
-12.34188494
36+
]
37+
]
38+
]
39+
},
40+
"properties": {
41+
"datetime": "2017-03-07T15:06:57Z",
42+
"created": "2017-03-07T15:36:03.54075Z",
43+
"platform": "perusat-1",
44+
"constellation": "perusat",
45+
"mission": "perusat-1",
46+
"instruments": [
47+
"naomi-1"
48+
],
49+
"sensor_type": "optical",
50+
"spectral_mode": [
51+
"P",
52+
"MS"
53+
],
54+
"gsd": 1.0,
55+
"title": "PERUSAT-1 ORTHO P MS 2017-03-07 15:06:57",
56+
"sat:platform_international_designator": "2016-058A",
57+
"proj:epsg": 32718,
58+
"proj:shape": [
59+
41992,
60+
44768
61+
],
62+
"view:azimuth": 105.5,
63+
"view:sun_azimuth": 81.0,
64+
"view:sun_elevation": 56.9,
65+
"view:incidence_angle": 38.7,
66+
"processing:level": "ORTHO",
67+
"processing:software": {
68+
"M12Processor": "1.2.2"
69+
},
70+
"providers": [
71+
{
72+
"name": "CONIDA, CNOIS, Airbus",
73+
"description": "PerúSAT-1 is a very-high-resolution Earth observation satellite system built for the government and Space Agency of Peru. Launched in 2016, this satellite is the first of its kind operated by Peru.",
74+
"roles": [
75+
"producer",
76+
"processor",
77+
"licensor"
78+
],
79+
"url": "https://www.airbus.com/en/space/earth-observation/earth-observation-portfolio/perusat"
80+
}
81+
]
82+
},
83+
"bbox": [
84+
-76.8621118,
85+
-12.6261459,
86+
-76.59040614,
87+
-12.34188494
88+
],
89+
"assets": {
90+
"PAN": {
91+
"type": "image/tiff",
92+
"roles": [
93+
"data",
94+
"dn"
95+
],
96+
"title": "ORTHO P",
97+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/IMG_PER1_20170307150657_ORT_P_000041.TIF",
98+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/IMG_PER1_20170307150657_ORT_P_000041.TIF",
99+
"file:size": 0,
100+
"eo:bands": [
101+
{
102+
"name": "PAN",
103+
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
104+
"common_name": "pan",
105+
"center_wavelength": 0.6,
106+
"full_width_half_max": 0.15,
107+
"solar_illumination": 1706.514896
108+
}
109+
],
110+
"raster:bands": [
111+
{
112+
"data_type": "uint16",
113+
"bits_per_sample": 12,
114+
"statistics": {
115+
"minimum": 0.0,
116+
"maximum": 4096.0
117+
},
118+
"scale": 0.09607363399968433,
119+
"offset": 0.0
120+
}
121+
],
122+
"product_type": "P",
123+
"proj:shape": [
124+
41992,
125+
44768
126+
]
127+
},
128+
"PAN-wf": {
129+
"type": "image/tiff",
130+
"roles": [
131+
"data",
132+
"world-file"
133+
],
134+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/IMG_PER1_20170307150657_ORT_P_000041.TIF",
135+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/IMG_PER1_20170307150657_ORT_P_000041.TIF",
136+
"file:size": 0
137+
},
138+
"metadata-P": {
139+
"type": "application/xml",
140+
"roles": [
141+
"metadata"
142+
],
143+
"title": "Metadata file",
144+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/DIM_PER1_20170307150657_ORT_P_000041.XML",
145+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/DIM_PER1_20170307150657_ORT_P_000041.XML",
146+
"file:size": 147381
147+
},
148+
"overview-P": {
149+
"type": "image/jpeg",
150+
"roles": [
151+
"overview"
152+
],
153+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/PREVIEW_PER1_20170307150657_ORT_P_000041.JPG",
154+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/PREVIEW_PER1_20170307150657_ORT_P_000041.JPG",
155+
"file:size": 25698
156+
},
157+
"thumbnail-P": {
158+
"type": "image/jpeg",
159+
"roles": [
160+
"thumbnail"
161+
],
162+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/ICON_PER1_20170307150657_ORT_P_000041.JPG",
163+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/ICON_PER1_20170307150657_ORT_P_000041.JPG",
164+
"file:size": 1321
165+
},
166+
"MS": {
167+
"type": "image/tiff",
168+
"roles": [
169+
"data",
170+
"dn"
171+
],
172+
"title": "ORTHO MS",
173+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/IMG_PER1_20170307150657_ORT_MS_000041.TIF",
174+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/IMG_PER1_20170307150657_ORT_MS_000041.TIF",
175+
"file:size": 0,
176+
"eo:bands": [
177+
{
178+
"name": "B2",
179+
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
180+
"common_name": "red",
181+
"center_wavelength": 0.665,
182+
"full_width_half_max": 0.035,
183+
"solar_illumination": 1540.494123
184+
},
185+
{
186+
"name": "B1",
187+
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
188+
"common_name": "green",
189+
"center_wavelength": 0.56,
190+
"full_width_half_max": 0.03,
191+
"solar_illumination": 1826.087443
192+
},
193+
{
194+
"name": "B0",
195+
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
196+
"common_name": "blue",
197+
"center_wavelength": 0.485,
198+
"full_width_half_max": 0.035,
199+
"solar_illumination": 1982.671954
200+
},
201+
{
202+
"name": "B3",
203+
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
204+
"common_name": "nir",
205+
"center_wavelength": 0.8185,
206+
"full_width_half_max": 0.066,
207+
"solar_illumination": 1094.747446
208+
}
209+
],
210+
"raster:bands": [
211+
{
212+
"data_type": "uint16",
213+
"bits_per_sample": 12,
214+
"statistics": {
215+
"minimum": 0.0,
216+
"maximum": 4096.0
217+
},
218+
"scale": 0.1272400928493861,
219+
"offset": 0.0
220+
},
221+
{
222+
"data_type": "uint16",
223+
"bits_per_sample": 12,
224+
"statistics": {
225+
"minimum": 0.0,
226+
"maximum": 4096.0
227+
},
228+
"scale": 0.17416756966252475,
229+
"offset": 0.0
230+
},
231+
{
232+
"data_type": "uint16",
233+
"bits_per_sample": 12,
234+
"statistics": {
235+
"minimum": 0.0,
236+
"maximum": 4096.0
237+
},
238+
"scale": 0.16735834153801327,
239+
"offset": 0.0
240+
},
241+
{
242+
"data_type": "uint16",
243+
"bits_per_sample": 12,
244+
"statistics": {
245+
"minimum": 0.0,
246+
"maximum": 4096.0
247+
},
248+
"scale": 0.09732528756600525,
249+
"offset": 0.0
250+
}
251+
],
252+
"product_type": "MS",
253+
"proj:shape": [
254+
10498,
255+
11192
256+
]
257+
},
258+
"MS-wf": {
259+
"type": "image/tiff",
260+
"roles": [
261+
"data",
262+
"world-file"
263+
],
264+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/IMG_PER1_20170307150657_ORT_MS_000041.TIF",
265+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/IMG_PER1_20170307150657_ORT_MS_000041.TIF",
266+
"file:size": 0
267+
},
268+
"metadata-MS": {
269+
"type": "application/xml",
270+
"roles": [
271+
"metadata"
272+
],
273+
"title": "Metadata file",
274+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/DIM_PER1_20170307150657_ORT_MS_000041.XML",
275+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/DIM_PER1_20170307150657_ORT_MS_000041.XML",
276+
"file:size": 152203
277+
},
278+
"overview-MS": {
279+
"type": "image/jpeg",
280+
"roles": [
281+
"overview"
282+
],
283+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/PREVIEW_PER1_20170307150657_ORT_MS_000041.JPG",
284+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/PREVIEW_PER1_20170307150657_ORT_MS_000041.JPG",
285+
"file:size": 31603
286+
},
287+
"thumbnail-MS": {
288+
"type": "image/jpeg",
289+
"roles": [
290+
"thumbnail"
291+
],
292+
"href": "data/DS_PER1_201703071506576_PS1_W077S12_002239/VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/ICON_PER1_20170307150657_ORT_MS_000041.JPG",
293+
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/ICON_PER1_20170307150657_ORT_MS_000041.JPG",
294+
"file:size": 1781
295+
}
296+
},
297+
"links": []
298+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<html>
2+
<head>
3+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4+
<title>Pucusana_070317</title>
5+
<script type="text/javascript">
6+
7+
function returnObjById( id )
8+
{
9+
if (document.getElementById)
10+
var returnVar = document.getElementById(id);
11+
else if (document.all)
12+
var returnVar = document.all[id];
13+
else if (document.layers)
14+
var returnVar = document.layers[id];
15+
return returnVar;
16+
}
17+
18+
function showHide( id )
19+
{
20+
theObject=returnObjById(id);
21+
if (theObject)
22+
{
23+
if (theObject.className == 'invisible')
24+
{
25+
theObject.className="visible";
26+
}
27+
else
28+
{
29+
theObject.className="invisible";
30+
}
31+
}
32+
}
33+
34+
function loadSpotProdXmlInDiv( id , spotProdXml)
35+
{
36+
var DIVElement = document.getElementById(id);
37+
alert(spotProdXml);
38+
39+
if (DIVElement)
40+
{
41+
showHide( id );
42+
43+
while (DIVElement.getElementsByTagName("DIV")[0])
44+
{
45+
DIVElement.removeChild(DIVElement.getElementsByTagName("DIV")[0]);
46+
}
47+
48+
DIVElement.innerHTML = '<iframe src="+spotProdXml+"></iframe>';
49+
}
50+
51+
}
52+
</script><style type="text/css">
53+
54+
a.open {text-decoration: none;}
55+
a.close {text-decoration: none;}
56+
57+
fieldset.invisible fieldset.infs {display: none;}
58+
fieldset.invisible dl.infs {display: none;}
59+
fieldset.invisible table.infs {display: none;}
60+
fieldset.invisible ul.infs {display: none;}
61+
fieldset.invisible div.infs {display: none;}
62+
fieldset.invisible a.open {display: inline;}
63+
fieldset.invisible a.close {display: none;}
64+
65+
fieldset.visible fieldset.infs {display: block;}
66+
fieldset.visible dl.infs {display: block;}
67+
fieldset.visible table.infs {display: table;}
68+
fieldset.visible ul.infs {display: block;}
69+
fieldset.visible div.infs {display: block;}
70+
fieldset.visible a.open {display: none;}
71+
fieldset.visible a.close {display: inline;}
72+
73+
74+
</style>
75+
</head>
76+
<body>
77+
<h1>Product Description </h1>
78+
<h1>Order Number : Pucusana_070317</h1>
79+
<h2>Production Date : 2017-03-07T15:36:03.5407Z</h2>
80+
<dt><a href="VOL_PER1_ORT_001_000041/PER_VOL.XML" target="_self">VOL_PER1_ORT_001_000041</a></dt>
81+
</body>
82+
</html>

0 commit comments

Comments
 (0)