ee.Algorithms.Landsat.pathRowLimit
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ogranicza żądania do kolekcji obrazów scen Landsat, aby zwracać kontrolowaną liczbę najlepszych scen dla każdego żądania. Jest to przeznaczone do używania z algorytmami statystycznymi, takimi jak kompozyty medianowe, które do prawidłowego działania potrzebują określonej ilości dobrych danych, ale nie przynoszą znaczących korzyści z dodatkowych danych, a przy tym stają się niepotrzebnie drogie. Domyślne argumenty wybierają dane o dobrej jakości z okresu około roku.
Pamiętaj, że w rzadkich przypadkach, gdy granica kafelka pokrywa się z granicą komórki WRS Landsat, zapytania dotyczące sąsiednich kafelków mogą dawać sprzeczne wyniki. Dlatego ważne jest, aby ten algorytm był używany tylko w przypadku metod statystycznych, które mogą tolerować te niespójności.
Wykorzystanie | Zwroty |
---|
ee.Algorithms.Landsat.pathRowLimit(collection, maxScenesPerPathRow, maxScenesTotal) | ImageCollection |
Argument | Typ | Szczegóły |
---|
collection | ImageCollection | Kolekcja obrazów Landsat, którą chcesz ograniczyć. |
maxScenesPerPathRow | Liczba całkowita, domyślnie: 25 | Maksymalna liczba scen do zwrócenia na ścieżkę lub wiersz. |
maxScenesTotal | Liczba całkowita, domyślnie: 100 | Maksymalna łączna liczba scen do zwrócenia w odpowiedzi na żądanie. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\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. |"]]