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 | หมายเลข|สตริง | ชื่อวงที่จะจัดอันดับ |
region | Feature|FeatureCollection|Geometry, ไม่บังคับ | ภูมิภาคที่จะลด ค่าเริ่มต้นคือการรวมรูปทรงเรขาคณิตทั้งหมดในคอลเล็กชันรูปภาพ |
regionReducer | แผ่นปิดพื้น (ไม่บังคับ) | ตัวลดสำหรับการรวบรวมค่าแถบความถี่ภายในภูมิภาค ต้องแสดงค่าเดียว ค่าเริ่มต้นคือ ee.Reducer.mean() |
scale | หมายเลข (ไม่บังคับ) | มาตราส่วนที่จะใช้กับตัวลดภูมิภาคในหน่วยเมตร |
sameDayReducer | แผ่นปิดพื้น (ไม่บังคับ) | ตัวลดสำหรับการรวบรวมค่าแบนด์ในรูปภาพที่มีคู่ (DoY, ปี) เดียวกัน ต้องแสดงค่าเดียว ค่าเริ่มต้นคือ ee.Reducer.mean() |
startDay | หมายเลข (ไม่บังคับ) | วันของปีที่จะเริ่มซีรีส์ ต้องอยู่ระหว่าง 1 ถึง 366 |
endDay | หมายเลข (ไม่บังคับ) | วันของปีที่จะสิ้นสุดชุด ต้องอยู่ระหว่าง startDay และ 366 |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]