Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

describe regex

Mike McGann6b38da572ee6
diff --git a/web/js/data/results.js b/web/js/data/results.js
index 81108ea6c..ba3434e00 100644
--- a/web/js/data/results.js
+++ b/web/js/data/results.js
@@ -708,6 +708,8 @@ export function dataResultsTagVersion() {
};
var versionRegex = {
+ // Form of MOD04_L2.A2016137.2105.061.2017326151115.hdf
+ // Using periods as delimiters, version is the 4th field
'MODISProducerGranuleID': '[^\\.]+\\.[^\\.]+\\.[^\\.]+\\.([^\\.]+)\\.'
};