Commit 4345a3e4 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Temporal smoothing (Savitzky Golay) script (pre).

parent 92c21ad7
......@@ -18,6 +18,6 @@ def temporalSmoothing(fld,template='MOD13Q1.006__250m_16_days_NDVI_',date_pos=34
df.write(dt+'\n')
cmd += [fld + '/' + f]
cmd += ['-dates',fld+'/dates','-out',fld+'/SmoothedSeries.tif','uint16','-interp','sg','-interp.sg.deg',str(sgdeg),'-interp.sg.rad',str(sgrad)]
cmd += ['-dates',fld+'/dates.txt','-out',fld+'/SmoothedSeries.tif','uint16','-interp','sg','-interp.sg.deg',str(sgdeg),'-interp.sg.rad',str(sgrad)]
#print cmd
subprocess.call(cmd)
\ No newline at end of file
Markdown is supported
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