ui.Chart.image.doySeriesByYear

  • ui.Chart.image.doySeriesByYear generates a chart that displays the derived value of a specific band within a region over time, plotted by day-of-year across multiple years.

  • The chart's x-axis represents the day of year, the y-axis represents the derived band value (after regional reduction), and different series represent different years in the dataset.

  • Users can customize the chart by specifying the image collection, band name, region of interest, reducers for regional and same-day aggregation, and the start and end days of the year for the analysis.

  • Default values are provided for region, reducers, and start/end days, offering flexibility and convenience for generating the chart with minimal required input.

Generates a Chart from an ImageCollection. Plots the derived value of the given band in a region for each day-of-year across different years.

  - X-axis: Day of year (startDay to endDay, defaults to 1 to 366).

  - Y-axis: Derived band value (reduced within the region).

  - Series: Years.

Returns a chart.

UsageReturns
ui.Chart.image.doySeriesByYear(imageCollection, bandName, region, regionReducer, scale, sameDayReducer, startDay, endDay)ui.Chart
ArgumentTypeDetails
imageCollectionImageCollectionThe ImageCollection to chart.
bandNameNumber|StringThe name of the band to chart.
regionFeature|FeatureCollection|Geometry, optionalThe region to reduce. Defaults to the union of all geometries in the image collection.
regionReducerReducer, optionalReducer for aggregating band values within the region. Must return a single value. Defaults to ee.Reducer.mean().
scaleNumber, optionalScale to use with the region reducer in meters.
sameDayReducerReducer, optionalReducer for aggregating band values across images with the same (DoY, year) pair. Must return a single value. Defaults to ee.Reducer.mean().
startDayNumber, optionalDay of year to start the series. Must be between 1 and 366.
endDayNumber, optionalDay of year to end the series. Must be between startDay and 366.