Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</mat-menu>
</li>

<li *ngIf="prop.isRelevant(p.BEAM_MODE, dataset)">
<li *ngIf="prop.isRelevant(p.BEAM_MODE, dataset) && scene.metadata.beamMode">
<span class="v-mid"><b>{{ 'BEAM_MODE' |translate }} </b> • {{ scene.metadata.beamMode }}</span>
<mat-icon *ngIf="isGeoSearch() && dataset.id !== 'OPERA-S1'"
[matMenuTriggerFor]="addBeamModeMenu"
Expand Down Expand Up @@ -165,7 +165,7 @@
<b>{{ 'FLIGHT_LINE' | translate }} </b> • {{ scene.metadata.flightLine }}
</li>

<li *ngIf="prop.isRelevant(p.ABSOLUTE_ORBIT, dataset)"
<li *ngIf="prop.isRelevant(p.ABSOLUTE_ORBIT, dataset) && scene.metadata.absoluteOrbit.length > 0"
class="detail-item-margin">
<b>{{'ABSOLUTE_ORBIT' | translate}} </b> • {{ scene.metadata.absoluteOrbit | join: ', ' }}
</li>
Expand Down
2 changes: 0 additions & 2 deletions src/app/models/dataset.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export type DatasetSubtypes = DatasetSubtype[];
export const sentinel_1 = fromDatasets.sentinel_1;
export const sentinel_1_bursts = fromDatasets.sentinel_1_bursts;
export const opera_s1 = fromDatasets.opera_s1;
export const opera_disp = fromDatasets.opera_disp;
export const alos = fromDatasets.alos;
export const alos_2 = fromDatasets.alos_2;
export const avnir = fromDatasets.avnir;
Expand All @@ -72,7 +71,6 @@ export const seasat = fromDatasets.seasat;

export const datasetList: Dataset[] = [
fromDatasets.alos_2,
fromDatasets.opera_disp,
fromDatasets.sentinel_1,
fromDatasets.sentinel_1_bursts,
fromDatasets.opera_s1,
Expand Down
2 changes: 1 addition & 1 deletion src/app/models/datasets/alos_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Props } from '../filters.model';

export const alos_2 = {
id: 'ALOS-2',
name: 'ALOS_2',
name: 'ALOS-2',
subName: '',
beta: false,
properties: [
Expand Down
3 changes: 1 addition & 2 deletions src/app/models/datasets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ export * from './sirc';
export * from './avnir';
export * from './sentinel-1-burst';
export * from './opera_s1';
export * from './alos_2';
export * from './opera_disp';
export * from './alos_2';
41 changes: 0 additions & 41 deletions src/app/models/datasets/opera_disp.ts

This file was deleted.

4 changes: 4 additions & 0 deletions src/app/models/datasets/opera_s1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export const opera_s1 = {
}, {
apiValue: 'CSLC-STATIC',
displayName: 'L2 Co-registered Single Look Complex Static Layer (CSLC-STATIC)'
},
{
apiValue: 'DISP-S1',
displayName: 'Opera Displacement (DISP-S1)',
}
],
beamModes: [
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/dataset-for-product.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class DatasetForProductService {
}
if(scene.id.startsWith('OPERA')) {
if(scene.id.startsWith('OPERA_L3_DISP')) {
return models.opera_disp;
// return models.opera_disp;
}
return models.opera_s1;
}
Expand Down
5 changes: 4 additions & 1 deletion src/app/services/product.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export class ProductService {
browses = ['/assets/no-browse.png'];
}
}
if(g.pt == 'DISP-S1') {
browses = [browses[0]]; // only show the first browse for displacement for now
}

const thumbnail = (g.t ? g.t.replace('{gn}', g.gn) : g.t) || (!browses[0].includes('no-browse') ? browses[0].replace('{gn}', g.gn) : '/assets/no-thumb.png');
let filename = g.fn.replace('{gn}', g.gn);
Expand Down Expand Up @@ -73,7 +76,7 @@ export class ProductService {

path: +g.p,
frame: +g.f,
absoluteOrbit: Array.isArray(g.o) ? g.o.map(val => +val) : [+g.o],
absoluteOrbit: Array.isArray(g.o) ? g.o.map(val => +val) : g.o !== null ? [+g.o] : [],

faradayRotation: +g.fr,
offNadirAngle: +g.on,
Expand Down
2 changes: 1 addition & 1 deletion src/app/store/scenes/scenes.reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export function scenesReducer(state = initState, action: ScenesActions): ScenesS
...jobProduct.metadata.job?.job_parameters,
}
};
const jobFile = !!job.files ?
const jobFile = job.files?.length > 0 ?
job.files[0] :
{ size: -1, url: '', filename: product.name };

Expand Down
3 changes: 2 additions & 1 deletion src/app/store/search/search.effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,11 @@ export class SearchEffects {

private hyp3JobToProducts(jobs, products) {
const virtualProducts = jobs
.filter(job => job.job_type in models.hyp3JobTypes)
.filter(job => products[job.job_parameters.granules[0]])
.map(job => {
const product = products[job.job_parameters.granules[0]];
const jobFile = !!job.files ?
const jobFile = job.files?.length > 0 ?
job.files[0] :
{ size: -1, url: '', filename: product.name };

Expand Down
5 changes: 4 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"AT_THE_BOTTOM_OF_THE_LIST_OF_FILES_IS_A_FOOTER_BAR_THAT_SHOWS_SEVERAL_BUTTONS": "At the bottom of the list of files is a footer bar that shows several buttons.",
"AUTO_RIFT_PAIR": "AutoRIFT pair",
"AUTORIFT_DESC": "autoRIFT is a highly accurate and efficient algorithm for finding the pixel displacement between two radar images. ",
"AZIMUTH_ANGLE": "Azimuth Angle",
"AZIMUTH_ANX_TIME": "Azimuth Anx Time",
"AZIMUTH_TIME": "Azimuth Time",
"BACK": "Back",
Expand Down Expand Up @@ -207,7 +208,7 @@
"DEFINING_DATA_SEARCHES": "Defining Data Searches",
"DEFORMATION": "Deformation",
"DELETE": "Delete",
"DELETE_ALL_SERIES": "Delete all series.",
"DELETE_ALL_SERIES": "Delete all series",
"DELETE_FOREVER": "delete_forever",
"DEM": "DEM",
"DEM NAME": "DEM Name",
Expand Down Expand Up @@ -355,6 +356,7 @@
"GLACIER_SPEED": "Glacier Speed",
"GLOBAL_SEASONAL_SENTINEL": "Global Seasonal Sentinel-1 Interferometric Coherence & Backscatter Dataset",
"GRATICULE_OVERLAY": "Graticule Overlay",
"GRAZING_ANGLE": "Grazing Angle",
"GRIDLINES_OVERLAY": "Gridlines Overlay",
"GROUP_ID": "Group ID",
"GROUP_ID_INFO_BAR": "Group ID",
Expand Down Expand Up @@ -761,6 +763,7 @@
"SHARE_SAVE_INFORMATION": "Share this search with others and manage your searches",
"SHARE_SEARCH": "Share Search",
"SHARE_WITH_EMAIL": "Share With Email",
"SHIFT_TO_ZERO": "Shift to zero",
"SHORTWAVE_DISPLACEMENT": "Short Wavelength Displacement",
"SHOW_LINEAR_FIT": "Show Linear Fit",
"SHOW_LINES": "Show Lines",
Expand Down
7 changes: 5 additions & 2 deletions src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"AT_THE_BOTTOM_OF_THE_LIST_OF_FILES_IS_A_FOOTER_BAR_THAT_SHOWS_SEVERAL_BUTTONS": "En la parte inferior de la lista de archivos hay una barra de pie de página que muestra varios botones.",
"AUTO_RIFT_PAIR": "Par AutoRIFT",
"AUTORIFT_DESC": "autoRIFT es un algoritmo altamente preciso y eficiente para encontrar el desplazamiento de píxeles entre dos imágenes de radar.",
"AZIMUTH_ANGLE": "Ángulo de Acimut",
"AZIMUTH_ANX_TIME": "Tiempo Acimut Anx",
"AZIMUTH_TIME": "Tiempo de Acimut",
"BACK": "Atrás",
Expand Down Expand Up @@ -208,7 +209,7 @@
"DEFINING_DATA_SEARCHES": "Definición de búsquedas de datos",
"DEFORMATION": "Deformación",
"DELETE": "Eliminar",
"DELETE_ALL_SERIES": "Eliminar todas las series.",
"DELETE_ALL_SERIES": "Eliminar todas las series",
"DELETE_FOREVER": "borrar para siempre",
"DEM": "DEM",
"DEM NAME": "DEM Name",
Expand Down Expand Up @@ -358,6 +359,7 @@
"GLACIER_SPEED": "Velocidad del Glaciar",
"GLOBAL_SEASONAL_SENTINEL": "Conjunto de Datos de Estacionales Globales de Retrodispersión y Coherencia Del Sentinel-1 ",
"GRATICULE_OVERLAY": "Superposición de Retícula",
"GRAZING_ANGLE": "Ángulo Rasante",
"GRIDLINES_OVERLAY": "Superposición de líneas de cuadrícula",
"GROUP_ID": "ID de grupo",
"GROUP_ID_INFO_BAR": "ID de grupo",
Expand Down Expand Up @@ -740,7 +742,7 @@
"SENTINEL_1_INTERFEROGRAM_BETA_DESC": "El nivel 2 son productos de interferograma Sentinel-1 estandarizados y generados por el proyecto Advanced Rapid Imaging and Analysis (ARIA) del JPL.",
"SENTINEL_DESC": "Sentinel-1 incluye satélites gemelos, cada uno de los cuales lleva un radar de apertura sintética (SAR) de banda C, juntos brindan imágenes de la superficie de la Tierra para todo clima, día y noche.",
"SEP_OCT_NOV": "Sep, Oct, Nov",
"SERIES": "Serie",
"SERIES": "Series",
"SET": "Colocar",
"SET_AS_BASELINE": "Fijar Línea base",
"SET_AS_BOTH": "Establecer como ambos",
Expand All @@ -761,6 +763,7 @@
"SHARE_SAVE_INFORMATION": "Comparta esta búsqueda con otras personas y administre sus búsquedas",
"SHARE_SEARCH": "Compartir Búsqueda",
"SHARE_WITH_EMAIL": "Compartir Con Correo Electrónico",
"SHIFT_TO_ZERO": "Restablecer a cero",
"SHORTWAVE_DISPLACEMENT": "Desplazamiento",
"SHOW_LINEAR_FIT": "Mostrar Ajuste Lineal",
"SHOW_LINES": "Mostrar Líneas",
Expand Down