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

Temporal smoothing (Savitzky Golay) script (pre).

parent b0d5a970
......@@ -30,7 +30,7 @@ def temporalSmoothing(fld,template='MOD13Q1.006__250m_16_days_NDVI_',date_pos=34
with open(fld + '/dates.txt','rb') as df:
dts = df.readlines()
expr = []
for n in range(clip_valid,clip_end+1):
for n in range(clip_valid,clip_end):
expr.append('im1b'+str(n+1))
cdf.write(dts[n])
cmd += ['{' + ';'.join(expr) + '}']
......
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