ee.Algorithms.Landsat.pathRowLimit
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
درخواست ها را به ImageCollection از صحنه های Landsat محدود می کند تا تعداد قابل کنترلی از بهترین صحنه ها را برای هر درخواست بازگرداند. این برای استفاده با الگوریتمهای آماری مانند کامپوزیتهای میانه در نظر گرفته شده است که برای عملکرد خوب به مقدار مشخصی از دادههای خوب نیاز دارند، اما از دادههای اضافی فراتر از آن بهرهمند نمیشوند و در عین حال گرانتر میشوند. آرگومانهای پیشفرض دادههای خوب تقریباً یک ساله را انتخاب میکنند.
توجه داشته باشید که در شرایط نادر، زمانی که مرز کاشی با مرز سلول لندست WRS همسو می شود، پرس و جو برای کاشی های مجاور ممکن است نتایج متناقضی به همراه داشته باشد. به همین دلیل مهم است که این الگوریتم فقط با روش های آماری که می توانند این ناسازگاری ها را تحمل کنند، استفاده شود.
استفاده | برمی گرداند | ee.Algorithms.Landsat.pathRowLimit(collection, maxScenesPerPathRow , maxScenesTotal ) | ImageCollection |
استدلال | تایپ کنید | جزئیات | collection | ImageCollection | مجموعه تصاویر لندست را محدود کنید. |
maxScenesPerPathRow | عدد صحیح، پیش فرض: 25 | حداکثر تعداد صحنه برای بازگشت در هر مسیر/ردیف. |
maxScenesTotal | عدد صحیح، پیش فرض: 100 | حداکثر تعداد صحنه برای بازگشت به ازای هر درخواست کل. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eLimits the number of Landsat images returned from a query to ensure efficient processing for statistical analysis.\u003c/p\u003e\n"],["\u003cp\u003ePrioritizes the selection of high-quality scenes within a specified timeframe, typically around one year.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of the maximum number of scenes per path/row and the total number of scenes returned.\u003c/p\u003e\n"],["\u003cp\u003eIs designed for statistical algorithms that require a sufficient amount of data but are not significantly improved by excessive data.\u003c/p\u003e\n"],["\u003cp\u003eMay produce slightly inconsistent results for adjacent tiles in rare cases due to Landsat WRS cell boundaries.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.Landsat.pathRowLimit\n\nLimits requests to an ImageCollection of Landsat scenes to return a controllable number of the best scenes for each request. This is intended for use with statistical algorithms like median composites that need a certain amount of good data to perform well, but that do not benefit substantially from additional data beyond that while becoming needlessly expensive. The default arguments select approximately one year's worth of good data.\n\n\u003cbr /\u003e\n\nNote that in rare circumstances, when the tile boundary aligns with a Landsat WRS cell boundary, queries for adjacent tiles may yield conflicting results. This is why it is important that this algorithm only be used with statistical methods that can tolerate these inconsistencies.\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------------|-----------------|\n| `ee.Algorithms.Landsat.pathRowLimit(collection, `*maxScenesPerPathRow* `, `*maxScenesTotal*`)` | ImageCollection |\n\n| Argument | Type | Details |\n|-----------------------|-----------------------|-------------------------------------------------------|\n| `collection` | ImageCollection | The Landsat ImageCollection to limit. |\n| `maxScenesPerPathRow` | Integer, default: 25 | The max number of scenes to return per path/row. |\n| `maxScenesTotal` | Integer, default: 100 | The max number of scenes to return per request total. |"]]