Skip to content

Commit

Permalink
ESACPE-1690 satelite number fix in the title
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrauzzi committed Sep 27, 2023
1 parent b7c79a1 commit 307d4f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 307d4f5

Please sign in to comment.