Skip to content

Commit 66b448a

Browse files
committed
fix: add CRID attribute
1 parent d8e0753 commit 66b448a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,12 +408,18 @@
408408
{{ scene.metadata.stackSize }}
409409
</li>
410410
}
411-
@if (hasValue(scene.metadata.pgeVersion)) {
411+
@if (hasValue(scene.metadata.pgeVersion) && dataset?.id !== 'NISAR') {
412412
<li class="detail-item-margin">
413413
<b> {{ 'PGE_VERSION' | translate }} </b>
414414
{{ scene.metadata.pgeVersion }}
415415
</li>
416416
}
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+
}
417423
@if (
418424
!!scene.metadata.opera && scene.metadata.productType !== 'TROPO-ZENITH'
419425
) {

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
}

0 commit comments

Comments
 (0)