公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ui.Chart.image.doySeriesByYear
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從 ImageCollection 產生圖表。繪製區域中指定波段的衍生值,以顯示不同年份的每日變化。
- X 軸:一年中的第幾天 (startDay 到 endDay,預設為 1 到 366)。
- Y 軸:衍生頻帶值 (區域內減少)。
- 序列:年份。
傳回圖表。
用量 | 傳回 |
---|
ui.Chart.image.doySeriesByYear(imageCollection, bandName, region, regionReducer, scale, sameDayReducer, startDay, endDay) | ui.Chart |
引數 | 類型 | 詳細資料 |
---|
imageCollection | ImageCollection | 要繪製圖表的 ImageCollection。 |
bandName | Number|String | 要繪製圖表的樂團名稱。 |
region | Feature|FeatureCollection|Geometry,選填 | 要縮減的區域。預設為圖像集合中所有幾何圖形的聯集。 |
regionReducer | 縮減函式 (選用) | Reducer,用於匯總區域內的頻帶值。必須傳回單一值。預設為 ee.Reducer.mean()。 |
scale | 號碼 (選填) | 以公尺為單位,縮放至與區域縮減器搭配使用。 |
sameDayReducer | 縮減函式 (選用) | Reducer,用於匯總具有相同 (DoY、年份) 配對的影像中的波段值。必須傳回單一值。預設為 ee.Reducer.mean()。 |
startDay | 號碼 (選填) | 系列開始的年份日期。必須介於 1 至 366 之間。 |
endDay | 號碼 (選填) | 系列活動的結束日期 (以一年中的第幾天表示)。必須介於 startDay 和 366 之間。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eui.Chart.image.doySeriesByYear\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eUsers 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.\u003c/p\u003e\n"],["\u003cp\u003eDefault values are provided for region, reducers, and start/end days, offering flexibility and convenience for generating the chart with minimal required input.\u003c/p\u003e\n"]]],[],null,["\u003cbr /\u003e\n\nGenerates a Chart from an ImageCollection. Plots the derived value of the given band in a region for each day-of-year across different years.\n\n\u003cbr /\u003e\n\n- X-axis: Day of year (startDay to endDay, defaults to 1 to 366).\n\n- Y-axis: Derived band value (reduced within the region).\n\n- Series: Years.\n\nReturns a chart.\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| `ui.Chart.image.doySeriesByYear(imageCollection, bandName, `*region* `, `*regionReducer* `, `*scale* `, `*sameDayReducer* `, `*startDay* `, `*endDay*`)` | ui.Chart |\n\n| Argument | Type | Details |\n|-------------------|------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `imageCollection` | ImageCollection | The ImageCollection to chart. |\n| `bandName` | Number\\|String | The name of the band to chart. |\n| `region` | Feature\\|FeatureCollection\\|Geometry, optional | The region to reduce. Defaults to the union of all geometries in the image collection. |\n| `regionReducer` | Reducer, optional | Reducer for aggregating band values within the region. Must return a single value. Defaults to ee.Reducer.mean(). |\n| `scale` | Number, optional | Scale to use with the region reducer in meters. |\n| `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(). |\n| `startDay` | Number, optional | Day of year to start the series. Must be between 1 and 366. |\n| `endDay` | Number, optional | Day of year to end the series. Must be between startDay and 366. |"]]