Skip to content

Commit a17c426

Browse files
Merge pull request #2414 from asfadmin/tyler/nisar-fixes
Nisar fixes
2 parents f976bdb + 66b448a commit a17c426

4 files changed

Lines changed: 10 additions & 8 deletions

File tree

src/app/components/shared/scene-metadata/scene-metadata.component.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@
237237
<b>{{ 'FRAME_COVERAGE' | translate }} </b>
238238
{{ scene.metadata.nisar?.frameCoverage }}
239239
</span>
240-
</li>
241-
<li>
242240
@if (isGeoSearch()) {
243241
<mat-icon
244242
[matMenuTriggerFor]="setFrameCoverageMenu"
@@ -410,12 +408,18 @@
410408
{{ scene.metadata.stackSize }}
411409
</li>
412410
}
413-
@if (hasValue(scene.metadata.pgeVersion)) {
411+
@if (hasValue(scene.metadata.pgeVersion) && dataset?.id !== 'NISAR') {
414412
<li class="detail-item-margin">
415413
<b> {{ 'PGE_VERSION' | translate }} </b>
416414
{{ scene.metadata.pgeVersion }}
417415
</li>
418416
}
417+
@if (hasValue(scene.metadata.nisar?.crid)) {
418+
<li class="detail-item-margin">
419+
<b> {{ 'CRID' | translate }} </b>
420+
{{ scene.metadata.nisar?.crid }}
421+
</li>
422+
}
419423
@if (
420424
!!scene.metadata.opera && scene.metadata.productType !== 'TROPO-ZENITH'
421425
) {

src/app/models/cmr-product.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ export interface NISARMetadata {
110110
jointObservation: string;
111111
sideBandPolarization: string;
112112
mainBandPolarization: string;
113+
crid: string | null;
113114
rangeBandwidth: string;
114115
sizeMB?: Record<string, { bytes: number; format: string }>;
115116
}

src/app/services/browse-overlay.service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export class BrowseOverlayService {
6161
datasetID === 'SENTINEL-1' ||
6262
datasetID === 'SENTINEL-1 INTERFEROGRAM (BETA)' ||
6363
datasetID === 'UAVSAR' ||
64-
datasetID === 'NISAR' ||
6564
datasetID === 'OPERA-S1'
6665
);
6766
case models.SearchType.SARVIEWS_EVENTS:
@@ -73,8 +72,7 @@ export class BrowseOverlayService {
7372
selectedScene?.dataset === 'Sentinel-1B' ||
7473
selectedScene?.dataset === 'Sentinel-1C' ||
7574
selectedScene?.dataset === 'Sentinel-1 Interferogram (BETA)' ||
76-
selectedScene?.dataset === 'UAVSAR' ||
77-
selectedScene?.dataset === 'NISAR'
75+
selectedScene?.dataset === 'UAVSAR'
7876
);
7977
case models.SearchType.CUSTOM_PRODUCTS:
8078
return true;

src/app/store/map/map.effect.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ export class MapEffects {
149149
dataset?.id === 'SENTINEL-1' ||
150150
dataset?.id === 'SENTINEL-1 INTERFEROGRAM (BETA)' ||
151151
dataset?.id === 'UAVSAR' ||
152-
dataset?.id === 'OPERA-S1' ||
153-
dataset?.id === 'NISAR'
152+
dataset?.id === 'OPERA-S1'
154153
);
155154
}
156155
return (

0 commit comments

Comments
 (0)