Skip to content

Commit

Permalink
Fix for Vision-1 metadata extractor with additional asset name parts …
Browse files Browse the repository at this point in the history
…(ESACPE-2101)
  • Loading branch information
floeschau committed Oct 15, 2024
1 parent a6d446c commit 5729d23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5729d23

Please sign in to comment.