From 5258f6a63cecaad7d472977aa85dc2b62ecdc19c Mon Sep 17 00:00:00 2001 From: Adrien Perrin Date: Fri, 27 Sep 2024 12:40:08 +0000 Subject: [PATCH] and configuration for remss mw sst syntool conversion --- geospaas_processing/converters/syntool/converter.py | 5 +++++ .../syntool/parameters/ingest_geotiff_4326_raster_no_shape | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 geospaas_processing/converters/syntool/parameters/ingest_geotiff_4326_raster_no_shape diff --git a/geospaas_processing/converters/syntool/converter.py b/geospaas_processing/converters/syntool/converter.py index 60b4bf53..e175f566 100644 --- a/geospaas_processing/converters/syntool/converter.py +++ b/geospaas_processing/converters/syntool/converter.py @@ -171,6 +171,11 @@ class BasicSyntoolConverter(SyntoolConverter): matches=lambda d: d.entry_id.startswith('bioargo_trajectory_'), converter_type=None, ingest_parameter_files='ingest_erddap_json_3413_bioargo_trajectory'), + ParameterSelector( + matches=lambda d: '-REMSS-L4_GHRSST-SSTfnd-MW_OI-GLOB-' in d.entry_id, + converter_type='remss_l4_mw_sst', + convert_options={'vmin_pal': '273', 'vmax_pal': '298'}, + ingest_parameter_files='ingest_geotiff_4326_raster_no_shape'), ) def __init__(self, **kwargs): diff --git a/geospaas_processing/converters/syntool/parameters/ingest_geotiff_4326_raster_no_shape b/geospaas_processing/converters/syntool/parameters/ingest_geotiff_4326_raster_no_shape new file mode 100644 index 00000000..1f81b5db --- /dev/null +++ b/geospaas_processing/converters/syntool/parameters/ingest_geotiff_4326_raster_no_shape @@ -0,0 +1,4 @@ +--input-format geotiff +--input-options projection=4326 +--output-format raster +--output-options with-dataset-info=yes with-shape=no