get_ccdc_ts | R Documentation |
Provided a CCDC image output from the Google Earth Engine CCDC algorithm and a X-Y coordinate this function returns the surface reflectance time series for the intersected Landsat pixel.
get_ccdc_ts(ccdc_img, x_coord, y_coord, epsg, band, n_seg = 8)
ccdc_img |
(stars, SpatRaster) A multiband raster of the CCDC output from Google Earth Engine with all coefficients for each segment present (i.e., see EE script) |
x_coord |
(float) Value of the X coordinate of interest, must intersect the CCDC image |
y_coord |
(float) Value of the Y coordinate of interest, must intersect the CCDC image |
epsg |
(integer) EPSG code for CRS of the CCDC image |
band |
(character) Band of interest, i.e., 'blue','green','red','nir','swir1','swir2' or 'therm' |
n_seg |
(integer) Default 8. Number of segments to compute time series for, must be less then or equal to maximum number of exported segments (i.e., see EE script) |
A 2-col matrix with the Julian date time series in the first and the predicted CCDC time series in the second.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.