ui.Chart.image.doySeriesByYear Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The
ui.Chart.image.doySeriesByYearfunction generates a chart from an ImageCollection.The chart plots the derived value of a specified band within a region for each day-of-year across different years.
The x-axis represents the day of year, the y-axis represents the derived band value, and the series represent the years.
This function returns a
ui.Chartobject.
- 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.
| Usage | Returns |
|---|---|
ui.Chart.image.doySeriesByYear(imageCollection, bandName,region,regionReducer,scale,sameDayReducer,startDay,endDay) | ui.Chart |
| Argument | Type | Details |
|---|---|---|
imageCollection | ImageCollection | The ImageCollection to chart. |
bandName | Number|String | The name of the band to chart. |
region | Feature|FeatureCollection|Geometry, optional | The region to reduce. Defaults to the union of all geometries in the image collection. |
regionReducer | Reducer, optional | Reducer for aggregating band values within the region. Must return a single value. Defaults to ee.Reducer.mean(). |
scale | Number, optional | Scale to use with the region reducer in meters. |
sameDayReducer | Reducer, optional | Reducer for aggregating band values across images with the same (DoY, year) pair. Must return a single value. Defaults to ee.Reducer.mean(). |
startDay | Number, optional | Day of year to start the series. Must be between 1 and 366. |
endDay | Number, optional | Day of year to end the series. Must be between startDay and 366. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.