Skip to content

Commit af35dd9

Browse files
committed
added samples support to utility script
1 parent 45c6cad commit af35dd9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def initialize_client(args):
7878
"maxi": 1,
7979
"atl03_geo_fields": [],
8080
"atl03_ph_fields": [],
81+
"samples": [],
8182
"profile": True,
8283
"verbose": True,
8384
"timeout": 0,
@@ -119,6 +120,10 @@ def initialize_client(args):
119120
if len(cfg['atl03_ph_fields']) > 0:
120121
parms['atl03_ph_fields'] = cfg['atl03_ph_fields']
121122

123+
# Add Rasters to Sample
124+
if len(cfg['samples']) > 0:
125+
parms['samples'] = cfg['samples']
126+
122127
# Add ATL08 Classification
123128
if len(cfg['atl08_class']) > 0:
124129
parms['atl08_class'] = cfg['atl08_class']

0 commit comments

Comments
 (0)