公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ui.Chart.image.doySeriesByRegion
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從 ImageCollection 產生圖表。繪製指定頻帶在不同區域的衍生值,以每年為單位。
- X 軸:一年中的第幾天 (startDay 到 endDay,預設為 1 到 366)。
- Y 軸:衍生頻帶值 (在區域內和跨年度減少)。
- 系列:區域。
傳回圖表。
用量 | 傳回 |
---|
ui.Chart.image.doySeriesByRegion(imageCollection, bandName, regions, regionReducer, scale, yearReducer, seriesProperty, startDay, endDay) | ui.Chart |
引數 | 類型 | 詳細資料 |
---|
imageCollection | ImageCollection | 要繪製圖表的 ImageCollection。 |
bandName | Number|String | 要繪製圖表的樂團名稱。 |
regions | Feature|FeatureCollection|Geometry|List<Feature>|List<Geometry> | 要縮減的區域。 |
regionReducer | 縮減函式 (選用) | Reducer,用於匯總區域內的頻帶值。必須傳回單一值。預設為 ee.Reducer.mean()。 |
scale | 號碼 (選填) | 以公尺為單位,縮放至與區域縮減器搭配使用。 |
yearReducer | 縮減函式 (選用) | Reducer,用於匯總各年度的頻帶值 (針對特定一年中的某一天)。必須傳回單一值。預設為 ee.Reducer.mean()。 |
seriesProperty | 字串 (選用) | opt_regions 中特徵的屬性,用於系列標籤。預設值為「system:index」。 |
startDay | 號碼 (選填) | 系列開始的年份日期。必須介於 1 至 366 之間。 |
endDay | 號碼 (選填) | 系列活動的結束日期 (以一年中的第幾天表示)。必須介於 startDay 和 366 之間。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["This function generates a chart from an ImageCollection, plotting band values across different regions and days of the year. It requires an `imageCollection`, `bandName`, and `regions`. It aggregates band values within regions using `regionReducer` and across years using `yearReducer`. The x-axis represents the day of the year (`startDay` to `endDay`), and the y-axis displays the reduced band value. Regions are represented as separate series, identified by `seriesProperty`. The function returns a `ui.Chart`.\n"],null,[]]