Commit 8fac8177 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

ENH: clip both sides with different parameters.

parent 295e55de
......@@ -101,6 +101,13 @@ def getCoherentReferencePeriod(dates_fn,start_date=(1,1),end_date=(12,31),dates_
warnings.warn('Time series does not cover last period entirely!')
d1 = datetime.datetime(2000,min_start[0],min_start[1])
d2 = datetime.datetime(2000, max_end[0], max_end[1])
print min_start[0]
print min_start[1]
print (d2-d1).days + 1
return min_start,max_end,idx_delay+1
def computeNDVITrend(series_fn,dates_fn,start_date=(1,1),end_date=(12,31),dates_per_year=23):
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