From eb5c79c0b267e3caaca3ca6949a89d598f9a2cdd Mon Sep 17 00:00:00 2001 From: gabe-parrish Date: Tue, 26 Mar 2024 15:15:38 -0500 Subject: [PATCH 1/3] fixed Lake blooming issue line 894 ".where(ndvi_avg_unmasked.lt(0), Tc_warm100" --- openet/ssebop/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openet/ssebop/image.py b/openet/ssebop/image.py index 1d990a8..9f33100 100644 --- a/openet/ssebop/image.py +++ b/openet/ssebop/image.py @@ -891,7 +891,7 @@ def tcorr_FANO(self): .where((ndvi_avg_masked.gte(0).And(ndvi_avg_masked.lte(high_ndvi_threshold))), Tc_warm) .where(ndvi_avg_masked.gt(high_ndvi_threshold), lst_avg_masked) .where(wet_region_mask_5km, Tc_warm100) - .where(ndvi_avg_unmasked.lt(0), lst_avg_unmasked) + .where(ndvi_avg_unmasked.lt(0), Tc_warm100) ) c_factor = Tc_cold.divide(tmax_avg) From fc860a98a24b3cd2c5661b5ce605f37d7eed89cf Mon Sep 17 00:00:00 2001 From: gabe-parrish Date: Tue, 26 Mar 2024 15:18:43 -0500 Subject: [PATCH 2/3] fixed Lake blooming issue line 894 ".where(ndvi_avg_unmasked.lt(0), Tc_warm100" --- openet/ssebop/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openet/ssebop/image.py b/openet/ssebop/image.py index 9f33100..335276f 100644 --- a/openet/ssebop/image.py +++ b/openet/ssebop/image.py @@ -883,7 +883,7 @@ def tcorr_FANO(self): # In places where NDVI is really high, use the masked original lst at those places. # In places where NDVI is really low (water) use the unmasked original lst. - # Everywhere else, use the FANO adjusted Tc_warm, ignoring masked water pixels. + # Everywhere else, use the FANO adjusted Tc_warm, ignoring masked water pixels. # In places where there is too much land covered by water 10% or greater, # use a FANO adjusted Tc_warm from a coarser resolution (100km) that ignored masked water pixels. Tc_cold = ( From 8f9583eb5b1e031296bb4d9460ab700ff6c5eaf4 Mon Sep 17 00:00:00 2001 From: gabe-parrish Date: Fri, 29 Mar 2024 13:43:03 -0500 Subject: [PATCH 3/3] Version Bump --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fb57cfe..3d9790d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openet-ssebop" -version = "0.4.2" +version = "0.4.3" authors = [ { name = "Gabe Parrish", email = "gparrish@contractor.usgs.gov" }, { name = "Mac Friedrichs", email = "mfriedrichs@contractor.usgs.gov" },