bopen / xarray-sentinel

Xarray backend to Copernicus Sentinel-1 satellite data products
Apache License 2.0
221 stars 22 forks source link

Identify bursts groups also using the burst number #36

Closed aurghs closed 2 years ago

aurghs commented 3 years ago

Scheme proposed by @alexamici:

scottyhq commented 3 years ago

@aurghs @alexamici this is a neat project! I was just starting to get familiar with the structure and am wondering what the current burst_id naming scheme is? I don't think it's obvious from the example in the readme:

sentinel1.open_dataset(product_path, group="IW1/R168-N459-E0115")

I think a global burst index would be useful for S1 SLC workflows, but I'm not aware of such a thing. For example SAR processing software like ISCE2. opens a SLC and uses relative burst numbers (0-9).

scottyhq commented 3 years ago

pinging @piyushrpt thinking back to your Sentinel-1 ARD presentation I think the approach was to use a labeling scheme like burstid = {track}-{ascending_node_time}-{swath}-{polarization} ? Would be really great to have a standard label for various software projects to use !

alexamici commented 3 years ago

@scottyhq you are right, the burst labelling is based on the internal scheme that we used at @bopen, it has the advantage that interferometric bursts have the same label across satellites (which I think it is not the case if you use ascending_node_time in the name), but it has the bigger disadvantage that it is a new convention, not anything used by ESA.

At the moment we are refactoring the labels used throughout the backend to be as close as possible to the original naming scheme.

We plan to provide functions to query the products and transform the datasets in a way that are more useful, but their use will be optional.

piyushrpt commented 3 years ago

Pretty much all groups use a ascending node based scheme since you don't need to read a lot of metadata or do geometry based computations to do the labeling. Lot of them are in public literature, e.g - https://www.mdpi.com/2072-4292/12/18/2960/htm . Exact implementation doesnt matter as long as the labeling is consistent.

piyushrpt commented 3 years ago

Looks like standard labels are being released - https://forum.step.esa.int/t/sentinel-1-ipf3-4-product-specification-released/30510

aurghs commented 3 years ago

That's great news!

alexamici commented 2 years ago

@scottyhq & @piyushrpt current main is a big refactor and there is a defined way to access burst data via the burst index in the swath.

See: https://github.com/bopen/xarray-sentinel#crop-single-slc-burst-dataset

I plan to make a release soon, then we will try to add more ways to identify and access a burst.

alexamici commented 2 years ago

We added the crop-by-burst_id in #100 and I think this is good enough to close this issue as well 🎊