Skip to content

Commit

Permalink
Merge pull request #33 from Terradue/feature/ESACPE-1694
Browse files Browse the repository at this point in the history
ESACPE-1694 Pleiades NEO order fix
  • Loading branch information
floeschau authored Sep 27, 2023
2 parents b7c79a1 + 9ddaa17 commit 56b8015
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -605,12 +605,12 @@
"file:size": 0,
"eo:bands": [
{
"name": "NED-B3 Coastal",
"name": "NED-B1 Nir",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
},
{
"name": "NED-B2 Rededge",
Expand All @@ -621,12 +621,12 @@
"full_width_half_max": 0.053
},
{
"name": "NED-B1 Nir",
"name": "NED-B3 Coastal",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
}
],
"raster:bands": [
Expand All @@ -637,7 +637,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.11668611435239207,
"scale": 0.08476012883539583,
"offset": 0.0
},
{
Expand All @@ -657,7 +657,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.08476012883539583,
"scale": 0.11668611435239207,
"offset": 0.0
}
],
Expand Down Expand Up @@ -689,12 +689,12 @@
"file:size": 0,
"eo:bands": [
{
"name": "NED-B3 Coastal",
"name": "NED-B1 Nir",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
},
{
"name": "NED-B2 Rededge",
Expand All @@ -705,12 +705,12 @@
"full_width_half_max": 0.053
},
{
"name": "NED-B1 Nir",
"name": "NED-B3 Coastal",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
}
],
"raster:bands": [
Expand All @@ -721,7 +721,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.11668611435239207,
"scale": 0.08476012883539583,
"offset": 0.0
},
{
Expand All @@ -741,7 +741,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.08476012883539583,
"scale": 0.11668611435239207,
"offset": 0.0
}
],
Expand Down Expand Up @@ -773,12 +773,12 @@
"file:size": 0,
"eo:bands": [
{
"name": "NED-B3 Coastal",
"name": "NED-B1 Nir",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
},
{
"name": "NED-B2 Rededge",
Expand All @@ -789,12 +789,12 @@
"full_width_half_max": 0.053
},
{
"name": "NED-B1 Nir",
"name": "NED-B3 Coastal",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
}
],
"raster:bands": [
Expand All @@ -805,7 +805,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.11668611435239207,
"scale": 0.08476012883539583,
"offset": 0.0
},
{
Expand All @@ -825,7 +825,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.08476012883539583,
"scale": 0.11668611435239207,
"offset": 0.0
}
],
Expand Down Expand Up @@ -857,12 +857,12 @@
"file:size": 0,
"eo:bands": [
{
"name": "NED-B3 Coastal",
"name": "NED-B1 Nir",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
},
{
"name": "NED-B2 Rededge",
Expand All @@ -873,12 +873,12 @@
"full_width_half_max": 0.053
},
{
"name": "NED-B1 Nir",
"name": "NED-B3 Coastal",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
}
],
"raster:bands": [
Expand All @@ -889,7 +889,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.11668611435239207,
"scale": 0.08476012883539583,
"offset": 0.0
},
{
Expand All @@ -909,7 +909,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.08476012883539583,
"scale": 0.11668611435239207,
"offset": 0.0
}
],
Expand Down Expand Up @@ -941,12 +941,12 @@
"file:size": 0,
"eo:bands": [
{
"name": "NED-B3 Coastal",
"name": "NED-B1 Nir",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
},
{
"name": "NED-B2 Rededge",
Expand All @@ -957,12 +957,12 @@
"full_width_half_max": 0.053
},
{
"name": "NED-B1 Nir",
"name": "NED-B3 Coastal",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
}
],
"raster:bands": [
Expand All @@ -973,7 +973,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.11668611435239207,
"scale": 0.08476012883539583,
"offset": 0.0
},
{
Expand All @@ -993,7 +993,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.08476012883539583,
"scale": 0.11668611435239207,
"offset": 0.0
}
],
Expand Down Expand Up @@ -1025,12 +1025,12 @@
"file:size": 0,
"eo:bands": [
{
"name": "NED-B3 Coastal",
"name": "NED-B1 Nir",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
},
{
"name": "NED-B2 Rededge",
Expand All @@ -1041,12 +1041,12 @@
"full_width_half_max": 0.053
},
{
"name": "NED-B1 Nir",
"name": "NED-B3 Coastal",
"description": "Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS",
"common_name": "nir",
"center_wavelength": 0.828,
"solar_illumination": 1060.1,
"full_width_half_max": 0.12
"common_name": "coastal",
"center_wavelength": 0.4365,
"solar_illumination": 1797.1,
"full_width_half_max": 0.041
}
],
"raster:bands": [
Expand All @@ -1057,7 +1057,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.11668611435239207,
"scale": 0.08476012883539583,
"offset": 0.0
},
{
Expand All @@ -1077,7 +1077,7 @@
"minimum": 0.0,
"maximum": 4096.0
},
"scale": 0.08476012883539583,
"scale": 0.11668611435239207,
"offset": 0.0
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ internal override string GetMission()
bandOrders.Add(EoBandCommonName.red, 0);
bandOrders.Add(EoBandCommonName.green, 1);
bandOrders.Add(EoBandCommonName.blue, 2);
bandOrders.Add(EoBandCommonName.coastal, 3);
bandOrders.Add(EoBandCommonName.nir, 3);
bandOrders.Add(EoBandCommonName.rededge, 4);
bandOrders.Add(EoBandCommonName.nir, 5);
bandOrders.Add(EoBandCommonName.coastal, 5);
bandOrders.Add(EoBandCommonName.pan, 6);
}

Expand Down

0 comments on commit 56b8015

Please sign in to comment.