ui.Chart.image.doySeriesByYear
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 trong một khu vực cho mỗi ngày trong năm trên nhiều 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 phái sinh (giảm trong khu vực).
– Loạt phim: Năm.
Trả về một biểu đồ.
Cách sử dụng | Giá trị trả về |
---|
ui.Chart.image.doySeriesByYear(imageCollection, bandName, region, regionReducer, scale, sameDayReducer, 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 đồ. |
region | Feature|FeatureCollection|Geometry, không bắt buộc | Khu vực cần giảm. Theo mặc định, giá trị này là hợp của tất cả các hình học trong bộ sưu tập hình ảnh. |
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). |
sameDayReducer | Tấm dốc, không bắt buộc | Trình giảm để tổng hợp các giá trị dải tần trên các hình ảnh có cùng cặp (DoY, năm). Phải trả về một giá trị duy nhất. Giá trị mặc định là ee.Reducer.mean(). |
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-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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. |"]]