View source: R/get_ccdc_current_seg.R
gen_ccdc_at_jdoy | R Documentation |
For pixel locations where change has occurred (number of segments >1) this function returns the CCDC model coefficients associated with the segment that corresponds in time with the specified Julian date, as well as the start and end date of the segment as a Julian date. If there is only one segment (no change), returns coefficients for the that segment. !!Assumes that up to 8 segments may exist (see Earth Engine script)!!
gen_ccdc_at_jdoy( ccdc_img, date, band_vect = c("blue", "green", "red", "nir", "swir1", "swir2", "therm") )
ccdc_img |
(SpatRaster, stars) The CCDC image for which to extract coefficients. |
date |
(Date) Date for which to extract CCDC coefficients (must be later then March 1 1984, and earlier than present date). |
band_vect |
(charachter) Character vector of band names to return CCDC coefficients for. |
(SpatRaster) A SpatRaster with all CCDC coefficients (and tStart,tEnd) associated with the segment corresponding with the specified Julian date. If the date is very recent, some data may be missing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.