-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from Terradue/feature/perusat
PeruSAT metadata extractor
- Loading branch information
Showing
44 changed files
with
10,980 additions
and
22 deletions.
There are no files selected for viewing
298 changes: 298 additions & 0 deletions
298
...sts/Resources/AIRBUS/PERUSAT/ORT/MetadataExtractorsTests_ORT_PER1_20170307150657_000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,298 @@ | ||
{ | ||
"stac_version": "1.0.0", | ||
"stac_extensions": [ | ||
"https://stac-extensions.github.io/eo/v1.0.0/schema.json", | ||
"https://stac-extensions.github.io/processing/v1.0.0/schema.json", | ||
"https://stac-extensions.github.io/projection/v1.0.0/schema.json", | ||
"https://stac-extensions.github.io/raster/v1.0.0/schema.json", | ||
"https://stac-extensions.github.io/sat/v1.0.0/schema.json", | ||
"https://stac-extensions.github.io/view/v1.0.0/schema.json" | ||
], | ||
"type": "Feature", | ||
"id": "ORT_PER1_20170307150657_000", | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
-76.80828263, | ||
-12.34188494 | ||
], | ||
[ | ||
-76.8621118, | ||
-12.58622352 | ||
], | ||
[ | ||
-76.65052524, | ||
-12.6261459 | ||
], | ||
[ | ||
-76.59040614, | ||
-12.38380893 | ||
], | ||
[ | ||
-76.80828263, | ||
-12.34188494 | ||
] | ||
] | ||
] | ||
}, | ||
"properties": { | ||
"datetime": "2017-03-07T15:06:57Z", | ||
"created": "2017-03-07T15:36:03.54075Z", | ||
"platform": "perusat-1", | ||
"constellation": "perusat", | ||
"mission": "perusat-1", | ||
"instruments": [ | ||
"naomi-1" | ||
], | ||
"sensor_type": "optical", | ||
"spectral_mode": [ | ||
"P", | ||
"MS" | ||
], | ||
"gsd": 1.0, | ||
"title": "PERUSAT-1 ORTHO P MS 2017-03-07 15:06:57", | ||
"sat:platform_international_designator": "2016-058A", | ||
"proj:epsg": 32718, | ||
"proj:shape": [ | ||
41992, | ||
44768 | ||
], | ||
"view:azimuth": 105.5, | ||
"view:sun_azimuth": 81.0, | ||
"view:sun_elevation": 56.9, | ||
"view:incidence_angle": 38.7, | ||
"processing:level": "ORTHO", | ||
"processing:software": { | ||
"M12Processor": "1.2.2" | ||
}, | ||
"providers": [ | ||
{ | ||
"name": "CONIDA, CNOIS, Airbus", | ||
"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.", | ||
"roles": [ | ||
"producer", | ||
"processor", | ||
"licensor" | ||
], | ||
"url": "https://www.airbus.com/en/space/earth-observation/earth-observation-portfolio/perusat" | ||
} | ||
] | ||
}, | ||
"bbox": [ | ||
-76.8621118, | ||
-12.6261459, | ||
-76.59040614, | ||
-12.34188494 | ||
], | ||
"assets": { | ||
"PAN": { | ||
"type": "image/tiff", | ||
"roles": [ | ||
"data", | ||
"dn" | ||
], | ||
"title": "ORTHO P", | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/IMG_PER1_20170307150657_ORT_P_000041.TIF", | ||
"file:size": 0, | ||
"eo:bands": [ | ||
{ | ||
"name": "PAN", | ||
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS", | ||
"common_name": "pan", | ||
"center_wavelength": 0.6, | ||
"full_width_half_max": 0.15, | ||
"solar_illumination": 1706.514896 | ||
} | ||
], | ||
"raster:bands": [ | ||
{ | ||
"data_type": "uint16", | ||
"bits_per_sample": 12, | ||
"statistics": { | ||
"minimum": 0.0, | ||
"maximum": 4096.0 | ||
}, | ||
"scale": 0.09607363399968433, | ||
"offset": 0.0 | ||
} | ||
], | ||
"product_type": "P", | ||
"proj:shape": [ | ||
41992, | ||
44768 | ||
] | ||
}, | ||
"PAN-wf": { | ||
"type": "image/tiff", | ||
"roles": [ | ||
"data", | ||
"world-file" | ||
], | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/IMG_PER1_20170307150657_ORT_P_000041.TIF", | ||
"file:size": 0 | ||
}, | ||
"metadata-P": { | ||
"type": "application/xml", | ||
"roles": [ | ||
"metadata" | ||
], | ||
"title": "Metadata file", | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/DIM_PER1_20170307150657_ORT_P_000041.XML", | ||
"file:size": 147381 | ||
}, | ||
"overview-P": { | ||
"type": "image/jpeg", | ||
"roles": [ | ||
"overview" | ||
], | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/PREVIEW_PER1_20170307150657_ORT_P_000041.JPG", | ||
"file:size": 25698 | ||
}, | ||
"thumbnail-P": { | ||
"type": "image/jpeg", | ||
"roles": [ | ||
"thumbnail" | ||
], | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_P_000041/ICON_PER1_20170307150657_ORT_P_000041.JPG", | ||
"file:size": 1321 | ||
}, | ||
"MS": { | ||
"type": "image/tiff", | ||
"roles": [ | ||
"data", | ||
"dn" | ||
], | ||
"title": "ORTHO MS", | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/IMG_PER1_20170307150657_ORT_MS_000041.TIF", | ||
"file:size": 0, | ||
"eo:bands": [ | ||
{ | ||
"name": "B2", | ||
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS", | ||
"common_name": "red", | ||
"center_wavelength": 0.665, | ||
"full_width_half_max": 0.035, | ||
"solar_illumination": 1540.494123 | ||
}, | ||
{ | ||
"name": "B1", | ||
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS", | ||
"common_name": "green", | ||
"center_wavelength": 0.56, | ||
"full_width_half_max": 0.03, | ||
"solar_illumination": 1826.087443 | ||
}, | ||
{ | ||
"name": "B0", | ||
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS", | ||
"common_name": "blue", | ||
"center_wavelength": 0.485, | ||
"full_width_half_max": 0.035, | ||
"solar_illumination": 1982.671954 | ||
}, | ||
{ | ||
"name": "B3", | ||
"description": "Raw radiometric counts (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS", | ||
"common_name": "nir", | ||
"center_wavelength": 0.8185, | ||
"full_width_half_max": 0.066, | ||
"solar_illumination": 1094.747446 | ||
} | ||
], | ||
"raster:bands": [ | ||
{ | ||
"data_type": "uint16", | ||
"bits_per_sample": 12, | ||
"statistics": { | ||
"minimum": 0.0, | ||
"maximum": 4096.0 | ||
}, | ||
"scale": 0.1272400928493861, | ||
"offset": 0.0 | ||
}, | ||
{ | ||
"data_type": "uint16", | ||
"bits_per_sample": 12, | ||
"statistics": { | ||
"minimum": 0.0, | ||
"maximum": 4096.0 | ||
}, | ||
"scale": 0.17416756966252475, | ||
"offset": 0.0 | ||
}, | ||
{ | ||
"data_type": "uint16", | ||
"bits_per_sample": 12, | ||
"statistics": { | ||
"minimum": 0.0, | ||
"maximum": 4096.0 | ||
}, | ||
"scale": 0.16735834153801327, | ||
"offset": 0.0 | ||
}, | ||
{ | ||
"data_type": "uint16", | ||
"bits_per_sample": 12, | ||
"statistics": { | ||
"minimum": 0.0, | ||
"maximum": 4096.0 | ||
}, | ||
"scale": 0.09732528756600525, | ||
"offset": 0.0 | ||
} | ||
], | ||
"product_type": "MS", | ||
"proj:shape": [ | ||
10498, | ||
11192 | ||
] | ||
}, | ||
"MS-wf": { | ||
"type": "image/tiff", | ||
"roles": [ | ||
"data", | ||
"world-file" | ||
], | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/IMG_PER1_20170307150657_ORT_MS_000041.TIF", | ||
"file:size": 0 | ||
}, | ||
"metadata-MS": { | ||
"type": "application/xml", | ||
"roles": [ | ||
"metadata" | ||
], | ||
"title": "Metadata file", | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/DIM_PER1_20170307150657_ORT_MS_000041.XML", | ||
"file:size": 152203 | ||
}, | ||
"overview-MS": { | ||
"type": "image/jpeg", | ||
"roles": [ | ||
"overview" | ||
], | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/PREVIEW_PER1_20170307150657_ORT_MS_000041.JPG", | ||
"file:size": 31603 | ||
}, | ||
"thumbnail-MS": { | ||
"type": "image/jpeg", | ||
"roles": [ | ||
"thumbnail" | ||
], | ||
"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", | ||
"filename": "VOL_PER1_ORT_001_000041/IMG_PER1_ORT_MS_000041/ICON_PER1_20170307150657_ORT_MS_000041.JPG", | ||
"file:size": 1781 | ||
} | ||
}, | ||
"links": [] | ||
} |
Binary file added
BIN
+133 KB
...Resources/AIRBUS/PERUSAT/ORT/data/DS_PER1_201703071506576_PS1_W077S12_002239/DELIVERY.PDF
Binary file not shown.
82 changes: 82 additions & 0 deletions
82
...ts/Resources/AIRBUS/PERUSAT/ORT/data/DS_PER1_201703071506576_PS1_W077S12_002239/INDEX.HTM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | ||
<title>Pucusana_070317</title> | ||
<script type="text/javascript"> | ||
|
||
function returnObjById( id ) | ||
{ | ||
if (document.getElementById) | ||
var returnVar = document.getElementById(id); | ||
else if (document.all) | ||
var returnVar = document.all[id]; | ||
else if (document.layers) | ||
var returnVar = document.layers[id]; | ||
return returnVar; | ||
} | ||
|
||
function showHide( id ) | ||
{ | ||
theObject=returnObjById(id); | ||
if (theObject) | ||
{ | ||
if (theObject.className == 'invisible') | ||
{ | ||
theObject.className="visible"; | ||
} | ||
else | ||
{ | ||
theObject.className="invisible"; | ||
} | ||
} | ||
} | ||
|
||
function loadSpotProdXmlInDiv( id , spotProdXml) | ||
{ | ||
var DIVElement = document.getElementById(id); | ||
alert(spotProdXml); | ||
|
||
if (DIVElement) | ||
{ | ||
showHide( id ); | ||
|
||
while (DIVElement.getElementsByTagName("DIV")[0]) | ||
{ | ||
DIVElement.removeChild(DIVElement.getElementsByTagName("DIV")[0]); | ||
} | ||
|
||
DIVElement.innerHTML = '<iframe src="+spotProdXml+"></iframe>'; | ||
} | ||
|
||
} | ||
</script><style type="text/css"> | ||
|
||
a.open {text-decoration: none;} | ||
a.close {text-decoration: none;} | ||
|
||
fieldset.invisible fieldset.infs {display: none;} | ||
fieldset.invisible dl.infs {display: none;} | ||
fieldset.invisible table.infs {display: none;} | ||
fieldset.invisible ul.infs {display: none;} | ||
fieldset.invisible div.infs {display: none;} | ||
fieldset.invisible a.open {display: inline;} | ||
fieldset.invisible a.close {display: none;} | ||
|
||
fieldset.visible fieldset.infs {display: block;} | ||
fieldset.visible dl.infs {display: block;} | ||
fieldset.visible table.infs {display: table;} | ||
fieldset.visible ul.infs {display: block;} | ||
fieldset.visible div.infs {display: block;} | ||
fieldset.visible a.open {display: none;} | ||
fieldset.visible a.close {display: inline;} | ||
|
||
|
||
</style> | ||
</head> | ||
<body> | ||
<h1>Product Description </h1> | ||
<h1>Order Number : Pucusana_070317</h1> | ||
<h2>Production Date : 2017-03-07T15:36:03.5407Z</h2> | ||
<dt><a href="VOL_PER1_ORT_001_000041/PER_VOL.XML" target="_self">VOL_PER1_ORT_001_000041</a></dt> | ||
</body> | ||
</html> |
Binary file added
BIN
+3.29 KB
...PERUSAT/ORT/data/DS_PER1_201703071506576_PS1_W077S12_002239/LIBRARY/DS_LOGO.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.