Jira: https://asfdaac.atlassian.net/browse/TOOL-2900
Note: The above link is accessible only to members of ASF.
Is your feature request related to a problem? Please describe.
With burst processing, a common approach is to submit a batch of jobs in one go with jobs = hyp3.submit_prepared_jobs(jobs) where a single job might look like this:
{'name': '115_245676_IW2_20190108_20190120_5rlks',
'job_type': 'INSAR_ISCE_BURST',
'job_parameters': {'granules': ['S1_245676_IW2_20190108T141423_VV_D96D-BURST',
'S1_245676_IW2_20190120T141423_VV_D8A3-BURST'],
'apply_water_mask': False,
'looks': '5x1'}}
Describe the solution you'd like
I think it would be nice to have a group or batch or project name in the metadata for such a group of jobs to make locating these logically-grouped sets of jobs easier in the future. For example the unique burst ID from the example above group:'115_245676_IW2'. This could then be an easy way to revisit groups of jobs in the future:
batch_jobs = hyp3.find_jobs(group='115_245676_IW2')
Describe alternatives you've considered
I realize I could instead just use a generic job name 115_245677_IW2 and each job gets automatically assigned a unique ID but I prefer job names that are unique and human-readable
I currently find myself doing custom filtering on job names to extract the jobs I want to work with:
batch_jobs = [j for j in jobs if j.name != None and j.name.startswith('115_245677_IW2')]
Jira: https://asfdaac.atlassian.net/browse/TOOL-2900
Note: The above link is accessible only to members of ASF.
Is your feature request related to a problem? Please describe.
With burst processing, a common approach is to submit a batch of jobs in one go with
jobs = hyp3.submit_prepared_jobs(jobs)where a single job might look like this:Describe the solution you'd like
I think it would be nice to have a
grouporbatchorprojectname in the metadata for such a group of jobs to make locating these logically-grouped sets of jobs easier in the future. For example the unique burst ID from the example abovegroup:'115_245676_IW2'. This could then be an easy way to revisit groups of jobs in the future:Describe alternatives you've considered
I realize I could instead just use a generic job name
115_245677_IW2and each job gets automatically assigned a unique ID but I prefer job names that are unique and human-readableI currently find myself doing custom filtering on job names to extract the jobs I want to work with: