-
Notifications
You must be signed in to change notification settings - Fork 0
ts_conv
Stack multi-time image list to stacked NumPy array.
imglist : list of image files. image file paths with directory and name.
replace_nodata : True/False, optional convert nodata value to nan if present in the image metadata. The default is True.
ilist : stacked numpy array of images. Where 3rd dim represent different time.
meta : Updated metadata with new bands.
Convert time series image array to time series frame. Where band represents Day, Month or Year.
imgarray : image as numpy ndarray.
startD : Stating data of the image. In format of 'YYYY-MM-DD','YYYY' or 'DD'. The default is None.
endD : End data of the image. In format of 'YYYY-MM-DD','YYYY' or 'DD'. The default is None.
freq : time frequency. same as pandas timedate, Visit https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#timeseries-offset-aliases. The default is "D".
iframe : Dataframe where index represent time and column represent pixels.
Convert time series image frame to image array
imgframe : Stuctured image data. Time series image frame.
width : Width of the image array.
height : Height of the image array.
imgr : Image as numpy array. bands represent time.