Open jeremy-cesbio opened 1 year ago
Change the dataset ID to the L2 according to the table.
# Search for Landsat TM scenes
scenes = api.search(
dataset='landsat_ot_c2_l2', <-- CHANGE THIS
Dataset Name | Dataset ID |
---|---|
Landsat 5 TM Collection 1 Level 1 | landsat_tm_c1 |
Landsat 5 TM Collection 2 Level 1 | landsat_tm_c2_l1 |
Landsat 5 TM Collection 2 Level 2 | landsat_tm_c2_l2 |
Landsat 7 ETM+ Collection 1 Level 1 | landsat_etm_c1 |
Landsat 7 ETM+ Collection 2 Level 1 | landsat_etm_c2_l1 |
Landsat 7 ETM+ Collection 2 Level 2 | landsat_etm_c2_l2 |
Landsat 8 Collection 1 Level 1 | landsat_8_c1 |
Landsat 8 Collection 2 Level 1 | landsat_ot_c2_l1 |
Landsat 8 Collection 2 Level 2 | landsat_ot_c2_l2 |
Sentinel 2A | sentinel_2a |
But I precisely want the Landsat 8 Collection 2 Level 2 products (i.e. landsat_ot_c2_l2
), but the search function returns the Level 1 products...
This looks like an old thread, but is there any solution to this? I am facing same issue. With "scenes = api.search( dataset='landsat_ot_c2_l2'", the files downloaded are all Level 1 (L1) only! How can I only download L2 data? Thanks.
I ended up adapting the script from this link to my usage (USGS Machine-to-Machine (M2M) API), didn't take too much time.
This package is very simple and intuitive to use, thank you !
I have an issue that probably has a simple answer that I can't find: the search function only returns level 1 products for landsat 7, 8 and landsat 9 Collection 2. Here is an example of my script :
And here is the return (identical to the return where
dataset='landsat_ot_c2_l1'
):The dates and tiles are correct but I'm looking for the LC08L2SP... products.
Thanks in advance