diff --git a/src/Stars.Data/Model/Metadata/Dimap/DMC/Vision1DimapProfiler.cs b/src/Stars.Data/Model/Metadata/Dimap/DMC/Vision1DimapProfiler.cs index 5cf57a97..efeb120b 100644 --- a/src/Stars.Data/Model/Metadata/Dimap/DMC/Vision1DimapProfiler.cs +++ b/src/Stars.Data/Model/Metadata/Dimap/DMC/Vision1DimapProfiler.cs @@ -112,7 +112,7 @@ public override string GetProductKey(IAsset bandAsset, t_Data_File dataFile) nameParts[3] ); if (nameParts[1] != "PAN") key += string.Format("-{0}", nameParts[1]); - if (nameParts.Length >= 7) key += string.Format("-{0}", nameParts[6]); + if (nameParts.Length >= 7) key += string.Format("-{0}", nameParts[nameParts.Length - 1]); return key; }