Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate that secondary_granules exist in CMR for INSAR_ISCE jobs #1430

Open
asjohnston-asf opened this issue Jan 18, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@asjohnston-asf
Copy link
Member

The current check that requested scenes exist in CMR is only applied to the granules job parameter. INSAR_ISCE jobs also have a secondary_granules parameter; there is currently no check whether those scenes exist in CMR before a job is accepted.

{
  "job_type": "INSAR_ISCE",
  "job_parameters": {
    "granules": ["S1A_IW_SLC__1SSV_20160105T121812_20160105T121839_009359_00D897_CCC2"],
    "secondary_granules": ["S1A_IW_SLC__1SSV_20150627T121809_20150627T121837_006559_008BA2_79C1"]
  }
}

https://github.com/ASFHyP3/hyp3/blob/develop/apps/api/src/hyp3_api/validation.py#L105
https://github.com/ASFHyP3/hyp3/blob/develop/apps/api/src/hyp3_api/util.py#L11

@asjohnston-asf asjohnston-asf added the enhancement New feature or request label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant