From e7e5762be90a0fcaaff3618a5fa1253ed8482875 Mon Sep 17 00:00:00 2001 From: Tisham Dhar Date: Thu, 10 Dec 2020 14:56:11 +1100 Subject: [PATCH] #569 enable standard TMAD styles (#633) --- prod/services/wms/ows/ows_cfg.py | 234 +++++++++++++++---------------- 1 file changed, 117 insertions(+), 117 deletions(-) diff --git a/prod/services/wms/ows/ows_cfg.py b/prod/services/wms/ows/ows_cfg.py index 82db2996f..e32f85f35 100644 --- a/prod/services/wms/ows/ows_cfg.py +++ b/prod/services/wms/ows/ows_cfg.py @@ -8264,123 +8264,123 @@ def swap_scale(new_scale : list, style : dict): }, ] }, -# { -# "title": "Surface Reflectance Triple Median Absolute Deviation", -# "abstract": "Surface Reflectance Triple Median Absolute Deviation 25 metre, 100km tile, Australian Albers Equal Area projection (EPSG:3577)", -# "layers": [ -# { -# "title": "Surface Reflectance Triple Median Absolute Deviation (Landsat 8 Annual Surface Reflectance TMAD)", -# "abstract": """ -# The three layers of the TMAD are calculated by computing the multidimensional distance between each observation in a -# time series of multispectral (or higher dimensionality such as hyperspectral) satellite imagery with the -# multidimensional median of the time series. The median used for this calculation is the geometric median corresponding -# to the time series. The TMAD is calculated over annual time periods on Earth observations from a single sensor by -# default (such as the annual time series of Landsat 8 observations); however, it is applicable to multi-sensor time -# series of any length that computing resources can support. For the purposes of the default Digital Earth Australia -# product, TMADs are computed per calendar year, per sensor (Landsat 5, Landsat 7 and Landsat 8) from -# terrain-illumination-corrected surface reflectance data (Analysis Ready Data), compared to the annual geometric -# median of that data. -# For more information, see http://pid.geoscience.gov.au/dataset/ga/130482 -# For service status information, see https://status.dea.ga.gov.au""", -# # The WMS name for the layer -# "name": "ls8_nbart_tmad_annual", -# # The Datacube name for the associated data product -# "product_name": "ls8_nbart_tmad_annual", -# "bands": bands_tmad, -# "resource_limits": reslim_tmad, -# "image_processing": { -# "extent_mask_func": "datacube_ows.ogc_utils.mask_by_val", -# "always_fetch_bands": [ ], -# "manual_merge": False, -# }, -# "wcs": { -# "native_crs": "EPSG:3577", -# "default_bands": ["sdev", "edev", "bcdev"], -# "native_resolution": [ 25, -25 ], -# }, -# "styling": { -# "default_style": "log_sdev", -# "styles": [ -# style_tmad_sdev, style_tmad_edev, style_tmad_bcdev -# ] -# } -# }, -# { -# "title": "Surface Reflectance Triple Median Absolute Deviation (Landsat 7 Annual Surface Reflectance TMAD)", -# "abstract": """ -# The three layers of the TMAD are calculated by computing the multidimensional distance between each observation in a -# time series of multispectral (or higher dimensionality such as hyperspectral) satellite imagery with the -# multidimensional median of the time series. The median used for this calculation is the geometric median corresponding -# to the time series. The TMAD is calculated over annual time periods on Earth observations from a single sensor by -# default (such as the annual time series of Landsat 8 observations); however, it is applicable to multi-sensor time -# series of any length that computing resources can support. For the purposes of the default Digital Earth Australia -# product, TMADs are computed per calendar year, per sensor (Landsat 5, Landsat 7 and Landsat 8) from -# terrain-illumination-corrected surface reflectance data (Analysis Ready Data), compared to the annual geometric -# median of that data. -# For more information, see http://pid.geoscience.gov.au/dataset/ga/130482 -# For service status information, see https://status.dea.ga.gov.au""", -# # The WMS name for the layer -# "name": "ls7_nbart_tmad_annual", -# # The Datacube name for the associated data product -# "product_name": "ls7_nbart_tmad_annual", -# "bands": bands_tmad, -# "resource_limits": reslim_tmad, -# "image_processing": { -# "extent_mask_func": "datacube_ows.ogc_utils.mask_by_val", -# "always_fetch_bands": [ ], -# "manual_merge": False, -# }, -# "wcs": { -# "native_crs": "EPSG:3577", -# "default_bands": ["sdev", "edev", "bcdev"], -# "native_resolution": [ 25, -25 ], -# }, -# "styling": { -# "default_style": "log_sdev", -# "styles": [ -# style_tmad_sdev, style_tmad_edev, style_tmad_bcdev -# ] -# } -# }, -# { -# "title": "Surface Reflectance Triple Median Absolute Deviation (Landsat 5 Annual Surface Reflectance TMAD)", -# "abstract": """ -# The three layers of the TMAD are calculated by computing the multidimensional distance between each observation in a -# time series of multispectral (or higher dimensionality such as hyperspectral) satellite imagery with the -# multidimensional median of the time series. The median used for this calculation is the geometric median corresponding -# to the time series. The TMAD is calculated over annual time periods on Earth observations from a single sensor by -# default (such as the annual time series of Landsat 8 observations); however, it is applicable to multi-sensor time -# series of any length that computing resources can support. For the purposes of the default Digital Earth Australia -# product, TMADs are computed per calendar year, per sensor (Landsat 5, Landsat 7 and Landsat 8) from -# terrain-illumination-corrected surface reflectance data (Analysis Ready Data), compared to the annual geometric -# median of that data. -# For more information, see http://pid.geoscience.gov.au/dataset/ga/130482 -# For service status information, see https://status.dea.ga.gov.au""", -# # The WMS name for the layer -# "name": "ls5_nbart_tmad_annual", -# # The Datacube name for the associated data product -# "product_name": "ls5_nbart_tmad_annual", -# "bands": bands_tmad, -# "resource_limits": reslim_tmad, -# "image_processing": { -# "extent_mask_func": "datacube_ows.ogc_utils.mask_by_val", -# "always_fetch_bands": [ ], -# "manual_merge": False, -# }, -# "wcs": { -# "native_crs": "EPSG:3577", -# "default_bands": ["sdev", "edev", "bcdev"], -# "native_resolution": [ 25, -25 ], -# }, -# "styling": { -# "default_style": "log_sdev", -# "styles": [ -# style_tmad_sdev, style_tmad_edev, style_tmad_bcdev -# ] -# } -# }, -# ] -# }, + { + "title": "Surface Reflectance Triple Median Absolute Deviation", + "abstract": "Surface Reflectance Triple Median Absolute Deviation 25 metre, 100km tile, Australian Albers Equal Area projection (EPSG:3577)", + "layers": [ + { + "title": "Surface Reflectance Triple Median Absolute Deviation (Landsat 8 Annual Surface Reflectance TMAD)", + "abstract": """ +The three layers of the TMAD are calculated by computing the multidimensional distance between each observation in a +time series of multispectral (or higher dimensionality such as hyperspectral) satellite imagery with the +multidimensional median of the time series. The median used for this calculation is the geometric median corresponding +to the time series. The TMAD is calculated over annual time periods on Earth observations from a single sensor by +default (such as the annual time series of Landsat 8 observations); however, it is applicable to multi-sensor time +series of any length that computing resources can support. For the purposes of the default Digital Earth Australia +product, TMADs are computed per calendar year, per sensor (Landsat 5, Landsat 7 and Landsat 8) from +terrain-illumination-corrected surface reflectance data (Analysis Ready Data), compared to the annual geometric +median of that data. +For more information, see http://pid.geoscience.gov.au/dataset/ga/130482 +For service status information, see https://status.dea.ga.gov.au""", + # The WMS name for the layer + "name": "ls8_nbart_tmad_annual", + # The Datacube name for the associated data product + "product_name": "ls8_nbart_tmad_annual", + "bands": bands_tmad, + "resource_limits": reslim_tmad, + "image_processing": { + "extent_mask_func": "datacube_ows.ogc_utils.mask_by_val", + "always_fetch_bands": [ ], + "manual_merge": False, + }, + "wcs": { + "native_crs": "EPSG:3577", + "default_bands": ["sdev", "edev", "bcdev"], + "native_resolution": [ 25, -25 ], + }, + "styling": { + "default_style": "log_sdev", + "styles": [ + style_tmad_sdev, style_tmad_edev, style_tmad_bcdev + ] + } + }, + { + "title": "Surface Reflectance Triple Median Absolute Deviation (Landsat 7 Annual Surface Reflectance TMAD)", + "abstract": """ +The three layers of the TMAD are calculated by computing the multidimensional distance between each observation in a +time series of multispectral (or higher dimensionality such as hyperspectral) satellite imagery with the +multidimensional median of the time series. The median used for this calculation is the geometric median corresponding +to the time series. The TMAD is calculated over annual time periods on Earth observations from a single sensor by +default (such as the annual time series of Landsat 8 observations); however, it is applicable to multi-sensor time +series of any length that computing resources can support. For the purposes of the default Digital Earth Australia +product, TMADs are computed per calendar year, per sensor (Landsat 5, Landsat 7 and Landsat 8) from +terrain-illumination-corrected surface reflectance data (Analysis Ready Data), compared to the annual geometric +median of that data. +For more information, see http://pid.geoscience.gov.au/dataset/ga/130482 +For service status information, see https://status.dea.ga.gov.au""", + # The WMS name for the layer + "name": "ls7_nbart_tmad_annual", + # The Datacube name for the associated data product + "product_name": "ls7_nbart_tmad_annual", + "bands": bands_tmad, + "resource_limits": reslim_tmad, + "image_processing": { + "extent_mask_func": "datacube_ows.ogc_utils.mask_by_val", + "always_fetch_bands": [ ], + "manual_merge": False, + }, + "wcs": { + "native_crs": "EPSG:3577", + "default_bands": ["sdev", "edev", "bcdev"], + "native_resolution": [ 25, -25 ], + }, + "styling": { + "default_style": "log_sdev", + "styles": [ + style_tmad_sdev, style_tmad_edev, style_tmad_bcdev + ] + } + }, + { + "title": "Surface Reflectance Triple Median Absolute Deviation (Landsat 5 Annual Surface Reflectance TMAD)", + "abstract": """ +The three layers of the TMAD are calculated by computing the multidimensional distance between each observation in a +time series of multispectral (or higher dimensionality such as hyperspectral) satellite imagery with the +multidimensional median of the time series. The median used for this calculation is the geometric median corresponding +to the time series. The TMAD is calculated over annual time periods on Earth observations from a single sensor by +default (such as the annual time series of Landsat 8 observations); however, it is applicable to multi-sensor time +series of any length that computing resources can support. For the purposes of the default Digital Earth Australia +product, TMADs are computed per calendar year, per sensor (Landsat 5, Landsat 7 and Landsat 8) from +terrain-illumination-corrected surface reflectance data (Analysis Ready Data), compared to the annual geometric +median of that data. +For more information, see http://pid.geoscience.gov.au/dataset/ga/130482 +For service status information, see https://status.dea.ga.gov.au""", + # The WMS name for the layer + "name": "ls5_nbart_tmad_annual", + # The Datacube name for the associated data product + "product_name": "ls5_nbart_tmad_annual", + "bands": bands_tmad, + "resource_limits": reslim_tmad, + "image_processing": { + "extent_mask_func": "datacube_ows.ogc_utils.mask_by_val", + "always_fetch_bands": [ ], + "manual_merge": False, + }, + "wcs": { + "native_crs": "EPSG:3577", + "default_bands": ["sdev", "edev", "bcdev"], + "native_resolution": [ 25, -25 ], + }, + "styling": { + "default_style": "log_sdev", + "styles": [ + style_tmad_sdev, style_tmad_edev, style_tmad_bcdev + ] + } + }, + ] + }, { "title": "Fractional Cover", "abstract": """