Skip to content

Commit

Permalink
Minor correction for BKA (title/mission etc.)
Browse files Browse the repository at this point in the history
  • Loading branch information
floeschau committed Dec 6, 2023
1 parent 1632287 commit 1492309
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"properties": {
"datetime": "2015-09-24T04:43:01.0000000Z",
"created": "2021-06-11T15:35:42.0000000Z",
"platform": "bka/kanopus-v",
"platform": "bka",
"constellation": "bka",
"mission": "bka",
"mission": "bka/kanopus-v",
"instruments": [
"mss"
],
Expand All @@ -56,7 +56,7 @@
],
"view:azimuth": 84.08,
"processing:level": "L1B",
"title": "BKA/KANOPUS-V MSS L1B 2015-09-24 04:43:01",
"title": "BKA MSS L1B 2015-09-24 04:43:01",
"providers": [
{
"name": "NAS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"properties": {
"datetime": "2015-09-24T04:43:02.0000000Z",
"created": "2021-06-11T15:35:50.0000000Z",
"platform": "bka/kanopus-v",
"platform": "bka",
"constellation": "bka",
"mission": "bka",
"mission": "bka/kanopus-v",
"instruments": [
"mss"
],
Expand All @@ -54,7 +54,7 @@
],
"view:azimuth": 84.08,
"processing:level": "L1B",
"title": "BKA/KANOPUS-V MSS L1B 2015-09-24 04:43:02",
"title": "BKA MSS L1B 2015-09-24 04:43:02",
"providers": [
{
"name": "NAS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"properties": {
"datetime": "2015-09-24T04:43:01.0000000Z",
"created": "2021-06-11T16:38:46.0000000Z",
"platform": "bka/kanopus-v",
"platform": "bka",
"constellation": "bka",
"mission": "bka",
"mission": "bka/kanopus-v",
"instruments": [
"mss"
],
Expand All @@ -56,7 +56,7 @@
],
"view:azimuth": 84.08,
"processing:level": "L1C",
"title": "BKA/KANOPUS-V MSS L1C 2015-09-24 04:43:01",
"title": "BKA MSS L1C 2015-09-24 04:43:01",
"providers": [
{
"name": "NAS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"properties": {
"datetime": "2015-09-24T04:43:02.0000000Z",
"created": "2021-06-11T16:38:54.0000000Z",
"platform": "bka/kanopus-v",
"platform": "bka",
"constellation": "bka",
"mission": "bka",
"mission": "bka/kanopus-v",
"instruments": [
"mss"
],
Expand All @@ -54,7 +54,7 @@
],
"view:azimuth": 84.08,
"processing:level": "L1C",
"title": "BKA/KANOPUS-V MSS L1C 2015-09-24 04:43:02",
"title": "BKA MSS L1C 2015-09-24 04:43:02",
"providers": [
{
"name": "NAS",
Expand Down
4 changes: 2 additions & 2 deletions src/Stars.Data/Model/Metadata/Bka/BkaMetadataExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ private void FillPlatformDefinition(BkaMetadata metadata, Dictionary<string, obj
string platform = "bka";
if (metadata.Processing?.Satellite != null) platform = metadata.Processing.Satellite.ToLower();
string mission = "bka";
if (metadata.Processing?.Mission != null) platform = metadata.Processing.Mission.ToLower();
if (metadata.Processing?.Mission != null) mission = metadata.Processing.Mission.ToLower();
properties["platform"] = platform;
properties["constellation"] = mission;
properties["constellation"] = platform;
properties["mission"] = mission;
properties["instruments"] = new string[] { GetInstrument(metadata).ToLower() };
properties["sensor_type"] = "optical";
Expand Down

0 comments on commit 1492309

Please sign in to comment.