You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was checking the feasibility to use Planetary stac for fetching S1 metadata for a bbox and for certain time period. Below is the code to replicate my concerns.
This prints 3456 from PyStac. Which includes dates 2021-01-01 and 2024-03-20
Similarly I did a quick search using asf_search python module by alsaka search facility.
importasf_searchasasfimportgeopandasasgpdfromshapely.geometryimportboxfromdatetimeimportdatetimestart="2021-01-01"end="2024-03-21"start_date=datetime.strptime(start, "%Y-%m-%d")
end_date=datetime.strptime(end, "%Y-%m-%d")
wkt_str=box(*[73.035264, 8.795702, 79.567607, 23.077675]).wktdownLoadCandidates=asf.search(
platform= [asf.PLATFORM.SENTINEL1A,asf.PLATFORM.SENTINEL1B],
processingLevel=[asf.PRODUCT_TYPE.GRD_HD],
start=start_date,
end=end_date,
intersectsWith=wkt_str,
beamMode=asf.BEAMMODE.IW,
)
print(len(downLoadCandidates)) #3667# To get a dataframefrm_asf=pd.DataFrame()
frm_asf['polygon']=Nonefori,hinenumerate(downLoadCandidates):
pid=h.properties['sceneName']
s1_date=h.properties['startTime'].split("T")[0]
frm_asf.at[i,'Product'] =pid[:-5]
frm_asf.at[i,'S1Date'] =s1_datefrm_asf.at[i,'polygon'] =h.geometry
Here almost 211 products go missing in the Planetary Stac sentinel 1 grd products.
For the missing 211 products I did the following.
Check if they were falling only on start and end date.
they are falling all across the date range.
Check if these are only at the edges of the bbox being used.
They are all falling inside the bbox as well intersecting with the bbox.
I also checked if these Sentinel 1 products are available in the following AWS s3 bucket
which is s3://sentinel-s1-l1c/GRD and it happens to be present in the AWS S3 bucket.
Is there any reason that these Sentinel 1 Images were dropped when the PyStac for sentinel-1-grd was created?
Hi,
I was checking the feasibility to use Planetary stac for fetching S1 metadata for a bbox and for certain time period. Below is the code to replicate my concerns.
This prints 3456 from PyStac. Which includes dates 2021-01-01 and 2024-03-20
Similarly I did a quick search using
asf_search
python module by alsaka search facility.Here almost 211 products go missing in the Planetary Stac sentinel 1 grd products.
For the missing 211 products I did the following.
which is
s3://sentinel-s1-l1c/GRD
and it happens to be present in the AWS S3 bucket.Is there any reason that these Sentinel 1 Images were dropped when the PyStac for sentinel-1-grd was created?
Atacching the list of missing 211 products.
missed_from_mp.csv
The text was updated successfully, but these errors were encountered: