diff --git a/src/components/search/polarization-option.json b/src/components/search/polarization-option-old.json similarity index 100% rename from src/components/search/polarization-option.json rename to src/components/search/polarization-option-old.json diff --git a/src/components/search/polarization-option-rcm-ard.json b/src/components/search/polarization-option-rcm-ard.json new file mode 100644 index 00000000..1a99e534 --- /dev/null +++ b/src/components/search/polarization-option-rcm-ard.json @@ -0,0 +1,14 @@ +[ + { + "label": "polarization.DEFAULT", + "value": "" + }, + { + "label": "polarization.CHCV", + "value": "CH + CV" + }, + { + "label": "polarization.HHHV", + "value": "HH + HV" + } +] diff --git a/src/components/search/polarization-option-sentinel-1.json b/src/components/search/polarization-option-sentinel-1.json new file mode 100644 index 00000000..29b80a36 --- /dev/null +++ b/src/components/search/polarization-option-sentinel-1.json @@ -0,0 +1,38 @@ +[ + { + "label": "polarization.DEFAULT", + "value": "" + }, + { + "label": "polarization.VV", + "value": "VV" + }, + { + "label": "polarization.VVVH", + "value": "VV + VH" + }, + { + "label": "polarization.HH", + "value": "HH" + }, + { + "label": "polarization.HHHV", + "value": "HH + HV" + }, + { + "label": "polarization.HHHVVHVV", + "value": "HH + HV + VH + VV" + }, + { + "label": "polarization.HHVV", + "value": "HH + VV" + }, + { + "label": "polarization.HV", + "value": "HV" + }, + { + "label": "polarization.VH", + "value": "VH" + } +] diff --git a/src/components/searchfilter/eo-filter.tsx b/src/components/searchfilter/eo-filter.tsx index 7e8c3f3e..9c055e3a 100644 --- a/src/components/searchfilter/eo-filter.tsx +++ b/src/components/searchfilter/eo-filter.tsx @@ -2,7 +2,8 @@ import { useState } from 'react'; import { useTranslation } from 'react-i18next'; import dataCollectionOptions from '../search/data-collection-option.json'; import orbitOptions from '../search/orbit-direction-option.json'; -import polarizationOptions from '../search/polarization-option.json'; +import polarizationOptionsSentinel from '../search/polarization-option-sentinel-1.json'; +import polarizationOptionsRCMARD from '../search/polarization-option-rcm-ard.json'; import DropdownSelection from './dropdown-selection'; import './eo-filter.scss'; @@ -47,7 +48,7 @@ export default function EoSearchFilter(props: EoSearchProps): JSX.Element { { dataCollection === 'sentinel-1' && (