gee_subset icon indicating copy to clipboard operation
gee_subset copied to clipboard

How to download S1_GRD, my code reported an error

Open Hisschao opened this issue 11 months ago • 0 comments

sat_name = 's1' path = "D:/" + sat_name if not os.path.exists(path): os.makedirs(path)

for index, row in tqdm(gdf.iterrows(), total=gdf.shape[0]): df1 = gee_subset.gee_subset(product="COPERNICUS/S1_GRD", bands=["VV", "VH"], # instrument="IW", orbit="ASCENDING", start_date="2023-05-01", end_date="2023-06-30", latitude=row['Latitude'], longitude=row['Longitude'], scale=20 )

sid = str(row['fid'])
df1["SiteID"] = sid

df1.to_csv(os.path.join(path, "site_" + str(sid) + ".csv"))   

报错提示 --> 203 region = col.getRegion(geometry, int(scale)).getInfo() 204 except: ... 402 return call.execute(num_retries=num_retries) 403 except googleapiclient.errors.HttpError as e: --> 404 raise _translate_cloud_exception(e)

EEException: Image.load: Asset 'COPERNICUS/S1_GRD' is not an Image. Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

Hisschao avatar Mar 29 '24 00:03 Hisschao