Validating multi-burst groups shouldn't require locally downloaded SLCs #252
Replies: 1 comment 3 replies
|
I raised similar concerns about needing to download data before deciding things in #250, so I def. agree it's worth re-thinking how this package is structured. In this case, I believe you can check burst validity without downloading; you just need In the burst2safe workflow, this line does a search and returns a list of Then, this line gets all the Notably, It isn't until the Nicely, the static And for some reason, it is also checked again when the Safe class is actually initialized, after download: So it should be totally possible to do your search and get your list of |
Uh oh!
There was an error while loading. Please reload this page.
I am working on adding multi-burst support to the new asf_search.SBASNetwork class. I would like to verify multi-burst groups during
SBASNetworkinitialization so that HyP3 users don't order huge stacks of invalid multi-burst jobs that fail and burn through their monthly quotas. I'd like to avoid writing my own validation (like this), which would duplicate code elsewhere and could diverge over time. It would be great to stick to a single source of truth.S1 multi-burst validation occurs in burst2safe, specifically with the Safe.check_group_validity method, which calls the Swath.check_burst_group_validity method. To create a
Safeobject, you must include a list of BurstInfo objects. To create aBurstInfoobject, you must have local burst data on hand. If I understand correctly, you can only check multi-burst group validity if you have downloaded SLCs.This doesn't work for a tool that simply performs a search and doesn't download data. Given this current flow,
hyp3-isce2needs to download SLCs before it is able to recognize that a multi-burst job is invalid, which seems like a waste of resources. If we separate multi-burst validation from burst2safe or handle it in functions that don't requireSafeobjects, we could open up multi-burst validation to more tools. It would work forSBASNetworkand when Vertex adds multi-burst ordering support, it could flag or disallow invalid multi-burst groups.All reactions