Skip to content

Commit

Permalink
Merge pull request #35 from Terradue/feature/ESACPE-1690
Browse files Browse the repository at this point in the history
ESACPE-1690 satelite number fix in the title
  • Loading branch information
floeschau authored Sep 27, 2023
2 parents aca3d08 + fd47ecd commit a7e5956
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
"start_datetime": "2023-02-14T08:31:25Z",
"end_datetime": "2023-02-14T08:33:13Z",
"datetime": "2023-02-14T08:32:19Z",
"constellation": "cbers-4",
"platform": "cbers-4",
"mission": "cbers-4",
"constellation": "cbers-4a",
"platform": "cbers-4a",
"mission": "cbers-4a",
"instruments": [
"wfi"
],
"sensor_type": "optical",
"gsd": 55.0,
"title": "CBERS-4 WFI L2 2023-02-14 08:32:19",
"title": "CBERS-4A WFI L2 2023-02-14 08:32:19",
"eo:bands": [
{
"name": "band-13",
Expand Down Expand Up @@ -174,7 +174,7 @@
"title": "Metadata file",
"href": "data/CBERS-4A-urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose/urn_ogc_def_eop_inpe_cbers_4a_wfi_20230214_109_060_l2_compose-metadata.csv",
"filename": "urn_ogc_def_eop_inpe_cbers_4a_wfi_20230214_109_060_l2_compose-metadata.csv",
"file:size": 551
"file:size": 552
},
"overview": {
"type": "image/png",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
AGENCY,SATELLITE,INSTRUMENT,MODE,IDENTIFIER,START_DATE,COMPLETE_DATE,FOOTPRINT,PRODUCT_URL,AOI,FORMAT,PROCESSING_LEVEL,PROCESSING_LEVEL_DESCRIPTION,PROJECTION,EPSG,PATH,ROW,OFF_NADIR,SUN_AZIMUTH,SUN_ELEVATION,ABSOLUTE_CALIBRATION_COEFFICIENTS
INPE,CBERS4,WFI,,urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose,2023-02-14T08:31:25+0000,2023-02-14T08:33:13+0000," 42.936 43.164 42.944 43.824 42.584 43.83 42.576 43.174 42.936 43.164",,,GeoTiff,L1B,,Geocoded,32638,109,060,0,165.439,32.9467,band0:1.4351 band1:1.4351 band2:1.6559 band3:1.6559
INPE,CBERS4A,WFI,,urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose,2023-02-14T08:31:25+0000,2023-02-14T08:33:13+0000," 42.936 43.164 42.944 43.824 42.584 43.83 42.576 43.174 42.936 43.164",,,GeoTiff,L1B,,Geocoded,32638,109,060,0,165.439,32.9467,band0:1.4351 band1:1.4351 band2:1.6559 band3:1.6559
2 changes: 1 addition & 1 deletion src/Stars.Data/Model/Metadata/Cbers/Schemas/MetadataCsv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Metadata getMetadata() {
metadata.satellite = new prdfSatellite();
metadata.satellite.name = "CBERS";

string pattern = @"CBERS(\d+)";
string pattern = @"CBERS(.*)";
Match match = Regex.Match(SATELLITE, pattern);
if (match.Success) {
string numberString = match.Groups[1].Value;
Expand Down

0 comments on commit a7e5956

Please sign in to comment.