ui.Chart.image.doySeriesByRegion
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tạo Biểu đồ từ ImageCollection. Vẽ giá trị phái sinh của dải tần số đã cho ở các khu vực khác nhau vào mỗi ngày trong năm.
– Trục X: Ngày trong năm (startDay đến endDay, mặc định là 1 đến 366).
– Trục y: Giá trị băng tần được tính toán (giảm trong khu vực và qua các năm).
– Chuỗi: Khu vực.
Trả về một biểu đồ.
Cách sử dụng | Giá trị trả về |
---|
ui.Chart.image.doySeriesByRegion(imageCollection, bandName, regions, regionReducer, scale, yearReducer, seriesProperty, startDay, endDay) | ui.Chart |
Đối số | Loại | Thông tin chi tiết |
---|
imageCollection | ImageCollection | ImageCollection để lập biểu đồ. |
bandName | Số|Chuỗi | Tên của ban nhạc cần lập biểu đồ. |
regions | Feature|FeatureCollection|Geometry|List<Feature>|List<Geometry> | Các khu vực cần giảm. |
regionReducer | Tấm dốc, không bắt buộc | Hàm giảm để tổng hợp các giá trị dải tần trong khu vực. Phải trả về một giá trị duy nhất. Giá trị mặc định là ee.Reducer.mean(). |
scale | Số, không bắt buộc | Tỷ lệ sử dụng với bộ giảm khu vực (tính bằng mét). |
yearReducer | Tấm dốc, không bắt buộc | Hàm giảm để tổng hợp các giá trị dải trên các năm (cho một ngày nhất định trong năm). Phải trả về một giá trị duy nhất. Giá trị mặc định là ee.Reducer.mean(). |
seriesProperty | Chuỗi, không bắt buộc | Thuộc tính của các đối tượng trong opt_regions sẽ được dùng cho nhãn của chuỗi. Mặc định là "system:index". |
startDay | Số, không bắt buộc | Ngày trong năm để bắt đầu chuỗi. Phải nằm trong khoảng từ 1 đến 366. |
endDay | Số, không bắt buộc | Ngày trong năm để kết thúc chuỗi. Phải nằm trong khoảng từ startDay đến 366. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eGenerates a chart that visualizes the temporal variation of a specific band's value within different regions throughout a year, derived from an ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eThe chart displays the day of year on the x-axis, the derived band value on the y-axis, and uses separate series to represent different regions.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the chart by specifying the band, regions, aggregation methods (reducers) for both region and year, scale, series labels, and the start and end days of the year to be included.\u003c/p\u003e\n"]]],["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,["# ui.Chart.image.doySeriesByRegion\n\n\u003cbr /\u003e\n\nGenerates a Chart from an ImageCollection. Plots the derived value of the given band in different regions at each day-of-year.\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 and across years).\n\n- Series: Regions.\n\nReturns a chart.\n\n| Usage | Returns |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| `ui.Chart.image.doySeriesByRegion(imageCollection, bandName, regions, `*regionReducer* `, `*scale* `, `*yearReducer* `, `*seriesProperty* `, `*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| `regions` | Feature\\|FeatureCollection\\|Geometry\\|List\\\u003cFeature\\\u003e\\|List\\\u003cGeometry\\\u003e | The regions to reduce. |\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| `yearReducer` | Reducer, optional | Reducer for aggregating band values across years (for a given day of year). Must return a single value. Defaults to ee.Reducer.mean(). |\n| `seriesProperty` | String, optional | Property of features in opt_regions to be used for series labels. Defaults to 'system:index'. |\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. |"]]