Cannot download Sentinel-1B data

Hi team.

I was trying to download Sentinel-1 data with the code below.

search_bbox = BBox(bbox=state_bbox[state], crs=CRS.WGS84)
search_time_interval_tuple = [['2020-05-01T00:00:00', '2020-07-31T23:59:59'],
                              ['2018-05-01T00:00:00', '2018-07-31T23:59:59'],]

for search_time_interval in search_time_interval_tuple:
    try: 
        year = search_time_interval[0][0:4]
        print(f'========{year}========')

        if not os.path.exists(f"./Sentinel1/{year}"):
            print(f'No Directory for ./Sentinel1/{year}, now making directory...')
            os.makedirs(f"./Sentinel1/{year}")

        print("searching start...")
        wfs_iterator = WebFeatureService(
            search_bbox,
            search_time_interval,
            data_collection=DataCollection.SENTINEL1_IW,
            config=config,
        )

        print("searching end...")
    except:
        with open('cache.txt', 'w', encoding='utf-8') as cache:
            cache.write('SEARCHING')
        sys.exit('SEARCHING') # 

    print('start downloading Files...')
    for num, tile_info in enumerate(wfs_iterator):
        # try: # 
        aws_idx = tile_info['properties']['path']
        download_name = aws_idx.split('/')[-1]
        print(download_name)
        os.system(f"aws s3 sync {aws_idx} ./Sentinel1/{year}/{download_name} --request-payer requester")

        # except Exception as e:
        #     print('Exception Occured in the process of', aws_idx)
        #     print(e)

    print('download complete!')

However, this code gave me only Sentinel-1A data.

Is there any way to solve this problem?

Thanks a lot.

Hi @hyungyun.jeon ,

Would you mind providing the bounding box you’re using which could help me take a closer look on the issue you encountered? Thank you!

Hi @chung.horng
My bounding box is ILLINOIS state.

"ILLINOIS":[-91.513079, 36.970298, -87.494756, 42.508481],

Thanks for you kindly help.

In some parts of the world, there simply are (were) no Sentinel-1B observations.
See observation scenario for more details.

@gmilcinski Thanks a lot. My question is solved. Have a nice 2023!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.