Commit c53d8d76 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Merge remote-tracking branch 'origin/develop' into develop

Showing with 2 additions and 1 deletion
+2 -1
......@@ -136,7 +136,8 @@ def prepare(argv):
out_fn = od + '/' + os.path.splitext(os.path.basename(fn))[0] + '_' + ext + '.tif'
subprocess.call(clip_cmd + '\"' + fn + '\" \"' + out_fn + '\"', shell=True)
clip_cmd = 'gdalwarp -q -of GTiff -ot UInt16 -dstnodata 0 -srcnodata 0 -cutline \"' + clip_shp_val + '\" -crop_to_cutline '
# clip_cmd = 'gdalwarp -q -of GTiff -ot UInt16 -dstnodata 0 -srcnodata 0 -cutline \"' + clip_shp_val + '\" -crop_to_cutline '
clip_cmd = 'gdalwarp -q -of GTiff -ot UInt16 -cutline \"' + clip_shp_val + '\" -crop_to_cutline '
if srs != None :
clip_cmd += '-t_srs {} '.format(srs)
fns = ['CLM_R1', 'CLM_R2']
......
  • Vincent Delbar @vincent.delbar

    mentioned in commit 437a5f96934444a7654bf8ba6a29f8b44e5ffd0b

    ·

    mentioned in commit 437a5f96934444a7654bf8ba6a29f8b44e5ffd0b

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment