PhenoPY
PhenoPY copied to clipboard
Input data format
Hi Javier,
I am trying to work with PhenoPY, but I am not sure how must the input data be. It should be a raster stack with a band for each date? Do they rasters should have an specif name to get the dates from them?
Thank you so much, Regards
It seems as though the bands just need to be in sequential order. Then the dates are added separately. See the third code block of ExampleData.ipynb
# load time data corresponding to the time series data
days = 'data/dates.txt'
dates = pd.read_csv(days, header=None)[0]
dates = pd.to_datetime(dates)
doy = dates.dt.dayofyear