Skip to content

Commit 3654460

Browse files
committed
Minor mods to make config and header similar to evaluate script
1 parent 668b032 commit 3654460

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

proc_parallel.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FEATURES
1111
- Process data for relevant Landsat scenes from multiple missions (Landsat 4 to 8)
1212
- Merge scenes taken at the same date that are covered by the glacier's outline
1313
- Mask pixels with insufficient illumination
14-
- Calculate multiple metrics and statistics
14+
- Calculate metrics and statistics
1515
- Write the results to a CSV in Google Drive
1616
- Do all this in parallel for (very) many glaciers and Landsat scenes.
1717
@@ -52,7 +52,10 @@ var start = ee.Date('2020-01-01'); // First date to include in the
5252
var finish = ee.Date('2021-12-31'); // Last date to include in the search for Landsat scenes
5353

5454
// Path to RGI shapefile containing the glacier to investigate
55-
var glaciers = ee.FeatureCollection("users/_YOUR-USER_/_YOUR-RGI-SHAPEFILE_");
55+
var glaciers = ee.FeatureCollection("users/___your_GEE_account___/_YOUR-RGI-SHAPEFILE_");
56+
57+
// Path to MATNRA core library
58+
var core = require('users/___your_GEE_account___/tsl-retrieval:core');
5659

5760
/* USER CONFIGURATION END */
5861

@@ -110,10 +113,6 @@ var temporalResolution = 1; // days
110113
var range = ee.List.sequence(0, diff.subtract(1), temporalResolution).map(function(day){return start.advance(day,'day')});
111114

112115

113-
/* IMPORT FUNCTIONS */
114-
var core = require('users/davidloibl/tsl-retrieval:core');
115-
116-
117116
/* LOCAL FUNCTIONS */
118117

119118
var obtain_DEM_stats = function(vector_outline) {

0 commit comments

Comments
 (0)