NISAR_CV jobs fail when `subset` parameter is not provided
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start by tracing how the API populates omitted job parameters with defaults and how those parameters are passed to AWS Batch's submitJob API; the issue points to the v6.1.0 changelog and identifies an empty default subset as the likely trigger. Reproduce the NISAR_CV submission with subset omitted, then verify it succeeds while the explicitly provided subset case still works.
Written by the indexing model from the issue text.
Description
The default job in the API Spec succeeds:
{
"job_type": "NISAR_CV",
"job_parameters": {
"granules": [
"NISAR_L2_PR_GCOV_023_148_A_024_2005_DHDH_M_20260624T105804_20260624T105843_P05023_N_F_J_001",
"NISAR_L2_PR_GCOV_024_148_A_024_2005_DHDH_M_20260706T105804_20260706T105842_P05023_N_F_J_001",
"NISAR_L2_PR_GCOV_025_148_A_024_2005_DHDH_M_20260718T105803_20260718T105841_P05023_N_F_J_001",
"NISAR_L2_PR_GCOV_027_148_A_024_2005_DHDH_M_20260811T105802_20260811T105840_P05023_N_F_J_001"
],
"pol": "HHHH",
"subset": "POLYGON((-91.2399 45.1589,-90.7532 45.1589,-90.7532 45.4609,-91.2399 45.4609,-91.2399 45.1589))",
"crop_area": false,
"cv_threshold": 0.4,
"water_threshold_db": -16.5,
"water_fraction": 0.75
}
But the same job fails if the subset parameter is not specified:
{
"job_type": "NISAR_CV",
"job_parameters": {
"granules": [
"NISAR_L2_PR_GCOV_023_148_A_024_2005_DHDH_M_20260624T105804_20260624T105843_P05023_N_F_J_001",
"NISAR_L2_PR_GCOV_024_148_A_024_2005_DHDH_M_20260706T105804_20260706T105842_P05023_N_F_J_001",
"NISAR_L2_PR_GCOV_025_148_A_024_2005_DHDH_M_20260718T105803_20260718T105841_P05023_N_F_J_001",
"NISAR_L2_PR_GCOV_027_148_A_024_2005_DHDH_M_20260811T105802_20260811T105840_P05023_N_F_J_001"
],
"pol": "HHHH",
"crop_area": false,
"cv_threshold": 0.4,
"water_threshold_db": -16.5,
"water_fraction": 0.75
}
The underlying error is when attempting to submit the job to AWS Batch:
{
"resourceType": "batch",
"resource": "submitJob.sync",
"error": "Batch.ClientException",
"cause": "Error executing request, Exception : Parameter values must be provided, RequestId: 87385bd1-560f-4c83-9d37-51e738e3e044 (Service: AWSBatch; Status Code: 400; Error Code: ClientException; Request ID: 87385bd1-560f-4c83-9d37-51e738e3e044; Proxy: null)"
}
This is likely tied to the changed made in v6.1.0 to populate job_parameters with the default values of any parameter the user excludes. The default subset is "", which may not be a valid value to pass to the Batch submitJob API.
- Dominant language
- Python
- Stars
- 53
- Forks
- 13
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 20
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ASFHyP3/hyp3
-
Most static tests fail when a date-like string is provided as an example value in a job spec YAMLOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Jira Bug
Difficulty 1/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Jira Bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
comp/desktop P3 type/feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#154285 ·
Maintainers usually reply within 1 day
-
docs: qualify copied and custom kubectl debug policy notesPossibly taken @nym01 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kubescape/cel-admission-library#166 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SACGF/variantgrid#2804 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG] HTTP lifecycle dispatch treats a NO_PROXY-only environment as corporate egress and skips the resolve-and-pinned sessionPossibly taken @bodapatisaikrishna claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day