Always make a tiny example before trying something on 325 layers of a zillion pixels:
> r1 = raster(matrix(seq(32,212,len=12),3,4))
> r2 = raster(matrix(sample(seq(32,212,len=12)),3,4))
> r3 = raster(matrix(sample(seq(32,212,len=12)),3,4))
> s = stack(r1,r2,r3)
Then you can do arithmetic on raster stacks and it works on a pixel-by-...
Try this code. It creates a sorted csv (csv_sorted) and appends two new columns: 'time_seconds' and 'trip_id'.
import pandas as pd
import numpy as np
return sum(x * int(t) for x, t in zip([1, 60, 3600], reversed(time.split(":"))))
# Read in csv
my_file = r"C:\Users\Jon\Desktop\output2019_05_25-11.csv"
csv = pd.read_csv(my_file, ...
NDVI Time Series can be done with LandViewer via built in interface.
1.You would need to locate an area of your interest and mark it with AOI tool
Hit “time series” analysis icon on the left and set parameters needed
Once done you will be able to export the data wherever needed as multiple formats are support such as KML, geoJSON, CSV, SHP, WMS and more