PhenoPY icon indicating copy to clipboard operation
PhenoPY copied to clipboard

Input data format

Open Digdgeo opened this issue 3 years ago • 1 comments

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

Digdgeo avatar Mar 03 '21 09:03 Digdgeo

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

SFrav avatar Apr 07 '21 10:04 SFrav