From c2bb526df7fdbc2e5f9825a5ff9793eeba933071 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Thu, 18 May 2023 15:24:39 -0400 Subject: [PATCH] Temperature algorithm rename --- app/api/formulas.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/api/formulas.py b/app/api/formulas.py index 8feb2ff3..cdfe95f5 100644 --- a/app/api/formulas.py +++ b/app/api/formulas.py @@ -115,13 +115,13 @@ algos = { 'help': _('Atmospherically Resistant Vegetation Index. Useful when working with imagery for regions with high atmospheric aerosol content.'), 'range': (-1, 1) }, - 'Thermal C': { + 'Celsius': { 'expr': 'L', - 'help': _('Thermal temperature in Celsius degrees.') + 'help': _('Temperature in Celsius degrees.') }, - 'Thermal K': { + 'Kelvin': { 'expr': 'L * 100 + 27315', - 'help': _('Thermal temperature in Centikelvin degrees.') + 'help': _('Temperature in Centikelvin degrees.') }, # more? @@ -154,6 +154,8 @@ camera_filters = [ 'BGRNReL', 'BGRReNL', + 'L', # FLIR camera has a single LWIR band + # more? # TODO: certain cameras have only two bands? eg. MAPIR NDVI BLUE+NIR ]