Skip to content

Commit

Permalink
Merge pull request #1858 from asfadmin/missing-first-hyp3-prod
Browse files Browse the repository at this point in the history
Missing first hyp3 prod
  • Loading branch information
williamh890 authored Feb 3, 2024
2 parents 231cb5e + f25fcf4 commit 08fdc11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ $config: mat.define-typography-config();
white-space: nowrap;
text-align: center;
font-size: 12px;
margin-left: 0px;
margin-left: 0;
line-height: 15px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/models/datasets/opera_s1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const opera_s1 = {
'VH'
],
subtypes: [],
calibrationDatasets: ['OPERA-S1-CALIBRATION'],
calibrationDatasets: ['OPERA-S1-CALVAL'],
calibrationProductTypes: [{
apiValue: 'RTC',
displayName: 'L2 Radiometric Terrain Corrected (RTC)',
Expand Down
14 changes: 6 additions & 8 deletions src/app/store/search/search.effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,20 +374,18 @@ export class SearchEffects {
const jobs = jobsRes.hyp3Jobs;

const granuleNames = this.getAllGranulesFromJobs(jobs);

const asfApiListQuery = this.dummyProducts$(granuleNames);

return asfApiListQuery.pipe(
map(products => {
return products
.reduce((prods, p) => {
prods[p.name] = p;
return products;
}, {})
}
),
.reduce((prodsByName, p) => {
prodsByName[p.name] = p;
return prodsByName;
}, {});
}),
map(products => {
return this.hyp3JobToProducts(jobs, products)
return this.hyp3JobToProducts(jobs, products);
}),
withLatestFrom(this.store$.select(getIsCanceled)),
map(([products, isCanceled]) =>
Expand Down

0 comments on commit 08fdc11

Please sign in to comment.