Tropical Wetland (TropWet) Mapping Tool: The Automatic Detection of Open and Vegetated Waterbodies in Google Earth Engine for Tropical Wetlands

: Knowledge of the location and extent of surface water and inundated vegetation is vital for a range of applications including ﬂood risk management, biodiversity monitoring, quantifying greenhouse gas emissions, and mapping water-borne disease risk. Here, we present a new tool, TropWet, which enables users of all abilities to map wetlands in herbaceous dominated regions based on simple unmixing of optical Landsat satellite imagery in the Google Earth Engine. The results demonstrate transferability throughout the African continent with a high degree of accuracy (mean 91% accuracy, st. dev 2.6%, n = 10,800). TropWet demonstrated considerable improvements over existing globally available surface water datasets for mapping the extent of important wetlands like the Okavango, Botswana. TropWet was able to provide frequency inundation maps as an indicator of malarial mosquito aquatic habitat extent and persistence in Barotseland, Zambia. TropWet was able to map ﬂood extent comparable to operational ﬂood risk mapping products in the Zambezi Region, Namibia. Finally, TropWet was able to quantify the e ﬀ ects of the El Niño / Southern Oscillation (ENSO) events on the extent of photosynthetic vegetation and wetland extent across Southern Africa. These examples demonstrate the potential for TropWet to provide policy makers with crucial information to help make national, regional, or continental scale decisions regarding wetland conservation, ﬂood / disease hazard mapping, or mitigation against the impacts of ENSO.


Introduction
Monitoring the extent and dynamics of tropical wetlands is important for a range of application areas including, but not limited to, mapping flood water hazard [1][2][3][4][5][6][7], water-borne disease risk [8,9], monitoring wetland ecosystems habitats [10][11][12][13][14], and quantifying wetland-related greenhouse gas emissions [15][16][17][18]. Today's wealth of freely available satellite Earth Observation (EO) resources creates an exciting opportunity to develop the tools needed to provide timely and accurate information on wetlands at regional, national, and even continental scales. Combined with the availability of cloud-based platforms such as Google Earth Engine (GEE), there is a very real opportunity to apply robust EO approaches for mapping wetlands into operational systems that can be shared with non-experts and decision makers, regardless of computational resources.
Broad scale surface water products have been developed using satellite EO data enabling continental-scale assessments of wetland extent to be made [17][18][19]. For instance, reliable estimates of surface water inundation dynamics have been made by coupling surface water potential metrics from archives of optical imagery (e.g., MODIS: Moderate Resolution Imaging Spectroradiometer,

Study Areas
Four sites were selected for validating TropWet. These were: (1) Barotseland, Western Zambia, (2) the Zambezi Region, Namibia, (3) Okavango Delta, Botswana and (4) the Kilombero Valley, Tanzania ( Figure 1). These sites are examples of large, seasonally inundated herbaceous-dominated wetlands in sub-Saharan Africa exhibiting high spatiotemporal variation in flood extent at the season scale. However, these are geographically disparate regions that feature differences in inundation dynamics, subsequent land cover distribution, and geology, thereby providing a rigorous test for the global applicability of the proposed technique. Alongside the four validation sites, TropWet was also applied to the Southern African nations (Angola, Namibia, South Africa, Botswana, Zimbabwe, Zambia, Swaziland, Lesotho, Malawi, and Mozambique) to demonstrate its use at broad spatial scales. These regions are briefly described below.

Barotseland, Western Zambia
The local geology in Barotseland is sedimentary, overlain by Kalahari sand, and localised silty alluvium within the floodplain [46]. Resistant basalt at the lower reaches of the floodplain causes the narrowing of the valley and the progression of seasonal backwaters upstream during peak flow conditions [47]. Dambos (waterlogged depressions) are situated predominately on the eastern escarpment of the floodplain. These pluvially fed features drain into the floodplain and tend to remain partially inundated during the dry season [47]. Floodplain vegetation is predominantly grassland and represents an important area for livestock rearing [47]. The region has a number of public health challenges including human nutrition, diseases like malaria, and access to health facilitates during periods of flooding [8]. Although flooding is widespread, it is not widely considered to be a significant hazard, but adapting to variabilities in flood timing and magnitude represents a significant challenge for local populations [46].

Zambezi Region, Namibia
The confluence of the Chobe River and Zambezi at the eastern edge of the Zambezi Region occurs over resistant basalt, resulting in backwater ponding during peak flow conditions [48,49]. The floodplain is dominated by a fine-grained sandy alluvium supporting tall grassland that is seasonally inundated. The area forms part of the Kavango-Zambezi Transfrontier Conservation Area (KAZA), a globally significant region for biodiversity including a key elephant migration route [49,50]. Flooding in this region is complex, being influenced by a number of different sources including a main flood pulse from the Zambezi River, backing up water into the Chobe system and a secondary flood pulse from the Kwando River via a combination of wetlands, lakes, and channels [50]. Apparent climate-change induced circulation pattern changes have resulted in extreme flood events (noticeably in 2009 and 2011) with devastating impacts for local communities [49,51,52]. The Zambezi Region is also a high-risk area for diseases like malaria [53], with transmission peaks timing with floodwater pulses [54].

Okavango Delta, Botswana
The Okavango Delta forms one of the world's largest inland deltas [55,56]. Land cover is dominated by permanently inundated swampland and seasonally inundated grassland and forest [55,57]. Seasonal flooding is controlled by localised rainfall and floodwaters progressing downstream from the Angolan highlands between February and May [55], but this can take four months to propagate downstream due to the low topographic gradient of the region and restricted surface outflow channels, with peak flood extent occurring in the late dry season (August-October) [52,58]. The Delta has global significance in terms of wetland biodiversity and is recognised as a UNESCO (United Nations Educational, Scientific and Cultural Organization) World Heritage site [59,60]. Annual flooding in the Okavango wetlands Remote Sens. 2020, 12, 1182 5 of 24 provides a source of livelihood for~125,000 people through the use of flood recession farming practices, therefore making local populations vulnerable to changes in the timing and magnitude of seasonal flooding [61,62]. The natural wetlands of the Okavango also provide extensive habitats for malarial mosquitoes, with the region accounting for the majority of malaria cases recorded across Botswana [63].

Kilombero Valley, United Republic of Tanzania
The Kilombero Valley is located within an asymmetrical half-graben between 30-40 km wide and 200 km long [64]. The area is a RAMSAR Convention recognised seasonal wetland with a largely distinct short (December-January) and long (March-May) rainy season [64,65]. The Kilombero Valley is one of the best characterised malaria transmission systems in Africa, having had some of the highest reported historical rates of malaria transmission [66]. Land use pressures related to population increases and overgrazing threaten the valley's biodiversity including its Puku antelope population, which is estimated to make up three-quarters of the world's population [67,68].

Southern African Countries
TropWet was also applied to the Southern Africa region including Angola, Namibia, South Africa, Botswana, Zimbabwe, Zambia, Swaziland, Lesotho, Malawi, and Mozambique ( Figure 1). This region is vulnerable to the effects of global atmospheric circulation patterns such as the El Niño-Southern Oscillation (ENSO) and the Subtropical Indian Ocean Dipole (SIOD) [44,45]. Evidence shows that La Niña events coinciding with a positive SIOD can result in wetter than average conditions, whereas El Niño events coinciding with a negative SIOD phase can result in drier conditions [69]. To demonstrate the ability of the developed toolset for mapping the effects of these events, TropWet was applied to Southern Africa ( Figure 1) for the months of December-March (the height of the wet season) in 2015-2016 and 2018-2019, representing significant drought and wetter than average conditions, respectively. This region was processed at a resolution of 1 km to ensure that the relevant processing did not exceed the maximum capacity of GEE.

Datasets
TropWet was developed for use with Landsat 5, 7, and 8 optical imagery, with a global revisit time of 16 days available since 1984. Spectral unmixing requires data to be processed to surface reflectance, eliminating the influence of atmospheric conditions. USGS Landsat 5, 7, and 8 Surface Reflectance Tier 1 imagery is ingested within the GEE system, following atmospheric correction made using the Landsat Ecosystem Disturbance Adaptive Processing System (LEDAPS: for Landsat 5 and 7) and the Landsat 8 Surface Reflectance Code (LaSRC) [70]. Prior to unmixing, each image underwent cloud and cloud shadow masking, using the pixel quality band associated with each Landsat image ingested into GEE, which was originally generated using the CFMask algorithm [71].
TropWet also uses information from terrain-based metrics to refine the classification process. We used the three arc-seconds (~90 m) SRTM Digital Surface Model product that is ingested into GEE (source: CGIAR: Consultative Group on International Agricultural Research).

The TropWet Approach
An overview of the TropWet approach for mapping wetlands is given in Figure 2, outlining the unmixing approach applied to endmembers that are automatically extracted from input Landsat composites, generated over time periods and spatial extents that are defined by the user. The following sub-sections provide an explanation of these steps.

Linear Spectral Unmixing
The reflectance of a pixel can be conceptualised as a linear combination of the reflectance of all subpixel components (known as endmembers), weighted by abundance [41,72]. LSU uses this concept Remote Sens. 2020, 12, 1182 7 of 24 to calculate the fractional coverage of a pre-determined set of endmembers. LSU was performed in GEE, which uses spectral averaging to account for spectral variance for each endmember [73]. This is a computationally simple approach to unmixing and therefore lends itself to the analysis of large datasets compared to other more computationally expensive techniques like Multiple Endmember Spectral Mixture Analysis (MESMA) [74], which iteratively models every possible LSU combination of intra-endmember variation and endmember quantity on a pixel-by-pixel basis [75].

Automatic Endmember Selection
Pure spectra, or endmembers, for each class of interest are typically selected manually by an expert analyst, which can be a laborious and error prone process [76]. This study presents the novel concept of using the spectral indices NDVI (Normalised Difference Vegetation Index: Equation (1)) and mNDWI (modified Normalised Difference Wetness Index: Equation (2)) for the automatic selection of pure endmembers, allowing complete automation of the spectral unmixing procedure, vital for developing an operation monitoring system.
The mixture model used in TropWet is based on three endmembers: (1) water, (2) photosynthetic (green) vegetation, and (3) sand (or bare soil/urban). This small set of endmembers enables the model to be over-determined (more wavebands than endmembers), an important requirement for the least square solution [77]. Additionally, by defining a relatively small number of broad classes, we can ensure applicability to wetland regions across the world, for instance, the sand endmember is suitable for other spectrally similar land cover types such as bare earth, exposed rock, and urban areas. Endmembers were defined using simple thresholding of the NDVI and mNDWI metrics (summarised in Table 1). These were determined by manually examining (by the same operator) the range of NDVI and mNDWI values over 900 regions of interest that represent pure spectra for each of the three endmembers (water, vegetation, and sand, N = 300 for each). This manual interrogation was carried out within GEE alongside high-resolution PlanetScope (3 m) reference imagery imported into GEE, guided by observations made in three field campaigns (March 2017, May 2018, and September 2018) over the Barotseland region in Western Zambia ( Figure 1).

Accounting for Burn Regions
Throughout the tropics, grazing pastures often undergo burning (typically during the transition period between dry and wet seasons) to promote the regrowth of pasture. Freshly burned regions tend to be relatively dark, leading to spectral confusion between freshly burned pasture and open water, which can lead to an overestimation of surface water extent. To correct this, a novel application of the burn area index (BAI: Equation (3)) [78] was used as a post unmixing refinement.
Remote Sens. 2020, 12, 1182 8 of 24 In this instance, BAI is used in conjunction with the unmixing result to determine areas that were incorrectly identified as open water. Specifically, these false positive pixels will have (i) a relatively high BAI value, (ii) a high fraction of water, and (iii) a low fraction of vegetation. The specific implication of this within TropWet is described in Equation (4). where where NDWS is the normalised difference ratio between % fraction of water (W) and sand (S) and V is the % fraction of vegetation. For each burned pixel identified, the fraction of water is assumed to be sand/bare earth.

Terrain Based Masks
Terrain has a strong control on the hydrology of most landscapes. TropWet exploits this by using simple thresholds on standard terrain-based derivatives. The three arc-seconds (~90 m) SRTM Digital Surface Model is ingested into GEE. This was used to calculate slope angle and a threshold of 2.5 • was used to restrict the prediction of wetlands to relatively flat slopes. Preference was given for the coarser three arc-seconds SRTM product (rather than the one arc-second version) as this suppresses small scale variations that might not be indicative of local hydrological conditions.

Surface Water Mapping Toolset and Exports
The surface water mapping toolset encompasses a total of four scripts. Each script is designed to generate a particular surface water product, as shown in Table 2, which can be exported and downloaded by the user. A brief description of each script is given below. The combined workflow for the surface water mapping toolset is shown in Figure 2. Table 2. Outputs from the surface water mapping toolset.

ID Exportable Output
Thematic Classification (2) The Water Frequency tool generates a binary water extent layer, for every cloud free Landsat 5, 7, or 8 within a given date range. These binary layers are summed to produce a frequency of inundation, where the summed value represents the total number of times that water has been detected within the available images. This layer is expressed as a percentage. (3) The Water Fraction Annual Statistics tool is used to generate annual statistics for a particular area of interest. Specifically, for each month within the given year, a median composite is generated from cloud free Landsat 5, 7, or 8, the endmembers are calculated, and unmixing applied. The resulting bi-monthly fractional coverage images are classified (using the rules described in Table 3 to determine areas of inundated vegetation and open water. The total number of pixels for each class are then found and expressed as area coverage. This tool also outputs the number proportion of no data pixels, so that users can decide to ignore results where there are insufficient cloud free pixels available. The overall process is computationally intensive and is limited to run on a single year. Multiple years can be analysed by running the tool several times. (4) The Quarterly Thematic Classification tool is similar to the main classification tool but is designed to operate over a single year, and will return three monthly classified images for that year showing intra-annual change. The tool uses Landsat 5, 7, or 8 cloud free images for the periods: (a) January, February, and March; (b) April, May, and June; (c) July, August, and September; and (d) October, November, and December. These composite images are presented in GEE as clickable thumbnails that can added to the map for detailed analysis.

Thematic Classification
Single-date LSU uses a rule-based system based on fractional cover of water, vegetation and sand to classify the unmixed image into seven thematic classes (Table 3). If a pixel does not meet the set criteria of any of the six classes, it is considered to be a mixed region and is merged with cloud-masked regions to form the class mixed/other. Under this classification system, a pixel is allocated to a class where the fractional cover is greater than 75%. For example, pixels with a water fraction of ≥75% are classified as open water. Table 3. Classification thresholds where: W = water; V = vegetation; S = sand; WV = water + vegetation; WS = water + sand; and VS = vegetation + sand.

Accuracy Assessment
Accuracy assessment was conducted at four sites: Barotseland (Zambia), the Zambezi Region (Namibia), the Okavango Delta (Botswana), and the Kilombero Valley (Tanzania) (Figure 1). A total of 12 Landsat scenes were processed using TropWet, representing both the wet and dry seasons for each site, plus transitional periods where possible (Table 4). Coincidental multi-spectral (blue, green, red, near-infrared) PlanetScope (3 m) imagery was used as reference imagery and accuracy points were visually interrogated alongside the TropWet classification result. Overall, 10,800 points were generated for the accuracy assessment (Table 5). Stratified random sampling was used to ensure that each class held an equal level of significance in the assessment of accuracy. Predicted and reference classes for each point were compared within a confusion matrix to derive overall accuracy. For the purpose of the confusion matrix, the six initial classes were merged and subset to four classes: (1) Sand (wet bare sand and dry bare sand); (2) Vegetation (dry sparse vegetation and dense vegetation); (3) Flooded Vegetation (emergent flooded vegetation) and; (4) Open Water (open water). This was done as it was not considered sufficiently possible to determine the difference between wet/dry soils or sparse/dense vegetation. It should be reaffirmed that emergent flooded vegetation as a class is confined to pixels with an open canopy structure as the intention of this toolset is to map water extent in herbaceous dominated wetlands.
Standard accuracy assessment metrics were calculated including the user's and producer's % agreement scores for each class and corresponding overall accuracy (%) and Kappa scores. Due to limitations in the Kappa score [79], we also calculated the quantity and allocation disagreement that describes how well the mapped products represent the area covered by each class (quantity disagreement) as well as the spatial agreement between mapped areas versus the validation data (allocation disagreement). A full description and discussion of these metrics can be found in Pontius and Millones [79].

Classification Accuracy
Thematic classifications of water, bare sand, flooded emergent vegetation, and vegetation using the unmixing approach were shown to be highly accurate (Table 6: mean overall accuracy 91%, st. dev. 2.6%, n = 10,800) across the four validation sites at different times of the hydrological year. This consistency shows that TropWet can provide accurate assessments of wetland coverage for a range of herbaceous regions across sub-Saharan Africa. Given that these classifications were generated using endmembers extracted automatically from the area of interest (based on thresholding commonly used band indices: NDVI, mNDWI), we are confident that the developed approach can be transferred to other regions across the world with no user input. The classification approach itself was calibrated on the Barotseland region, however, there was no reported difference in accuracy scores between this site and the other validation sites, again, demonstrating transferability of the approach to other tropical wetlands. The combined error matrix (Table 7: N = 10,800) demonstrates high agreement across all classes, with error predominantly confined to the confusion of flooded vegetation with water, and water with sand. The incorrect identification of sand areas as open water was primarily due to the presence of residual regions of burnt areas that were not corrected by the burn mask. Additionally, some areas with saturated dark soils were incorrectly classified as open water due to their spectral similarity.  The region has a number of important public health challenges including malaria burden. African malarial mosquitoes tend to rely on shallow, stagnant, or slow-moving water bodies for The region has a number of important public health challenges including malaria burden. African malarial mosquitoes tend to rely on shallow, stagnant, or slow-moving water bodies for oviposition and larval development [80]. The circular dambo hydrological features are characteristic of such habitats and are shown by TropWet to be inundated in both the wet and dry season, resulting in relatively high malaria case rates at Ikabako, Luandui, and Miulwe. High rates at Situoya to the northeast of the area are also coincidental with slow-moving shallow water bodies associated with a braided tributary system [8]. By using TropWet to characterise wetlands in malaria endemic regions can help to target interventions such as the treating of malarial mosquito aquatic habitats with larvicide.

Okavango Delta
TropWet was applied to a 21,030 km 2 area of the Okavango Delta from 1989 to 2018 at a target resolution of 30 m. Inundation extents were only reported where a cloud free composite (cloud cover <10%) could be generated for a two-month block. For the Okavanko Delta, 29% of the two-month blocks over the period 1989-2018 had available cloud free composites (Figure 4). The extent of inundation was shown to be highly variable with a mean inundated area of 2479 km 2 , but a standard deviation of 1727 km 2 , and a maximum extent of 8210 km 2 (Feb 2008), representing over 39% of the total studied area as being inundated with water. The annual distribution of mapped open water showed a tendency for the flood peak to occur in May-August, with a high degree of fluctuation in the timing and extent of the flood peak ( oviposition and larval development [80]. The circular dambo hydrological features are characteristic of such habitats and are shown by TropWet to be inundated in both the wet and dry season, resulting in relatively high malaria case rates at Ikabako, Luandui, and Miulwe. High rates at Situoya to the northeast of the area are also coincidental with slow-moving shallow water bodies associated with a braided tributary system [8]. By using TropWet to characterise wetlands in malaria endemic regions can help to target interventions such as the treating of malarial mosquito aquatic habitats with larvicide.

Okavango Delta
TropWet was applied to a 21,030 km 2 area of the Okavango Delta from 1989 to 2018 at a target resolution of 30 m. Inundation extents were only reported where a cloud free composite (cloud cover <10%) could be generated for a two-month block. For the Okavanko Delta, 29% of the two-month blocks over the period 1989-2018 had available cloud free composites (Figure 4). The extent of inundation was shown to be highly variable with a mean inundated area of 2479 km 2 , but a standard deviation of 1727 km 2 , and a maximum extent of 8210 km 2 (Feb 2008), representing over 39% of the total studied area as being inundated with water. The annual distribution of mapped open water showed a tendency for the flood peak to occur in May-August, with a high degree of fluctuation in the timing and extent of the flood peak (Table 8).  The fluctuation in flood timing and magnitude has implications for a range of application areas. Seasonally flooded zones during peak flood periods can represent a significant increase (>300%) in dissolved inorganic carbon concentrations compared to permanently wetted areas at the head of the Delta [81]. Using tools like TropWet may therefore contribute to efforts to quantify greenhouse gas flux in major wetland areas, which represents a key uncertainty in current regional and global climate change models. The fluctuation vegetation and inundated vegetation, particularly during the flood drawdown period, at the onset of the dry season, represents an important metric for quantifying forage materials that are key for wildlife dynamics in the area such as elephant migration [60]. Using TropWet can therefore provide proxy indicators of habitat suitability and the change in suitability over time. Additionally, the livelihoods for ~125,000 people are reliant on the annual pulse of floodwater in the Okavango Delta, particularly through the use of flood recession farming practices [61,62]. Uncertainty in the timing and magnitude of the annual flood waters can make local populations vulnerable, particularly in times of drought [62]. By using TropWet, the variation in  The fluctuation in flood timing and magnitude has implications for a range of application areas. Seasonally flooded zones during peak flood periods can represent a significant increase (>300%) in dissolved inorganic carbon concentrations compared to permanently wetted areas at the head of the Delta [81]. Using tools like TropWet may therefore contribute to efforts to quantify greenhouse gas flux in major wetland areas, which represents a key uncertainty in current regional and global climate change models. The fluctuation vegetation and inundated vegetation, particularly during the flood drawdown period, at the onset of the dry season, represents an important metric for quantifying forage materials that are key for wildlife dynamics in the area such as elephant migration [60]. Using TropWet can therefore provide proxy indicators of habitat suitability and the change in suitability over time. Additionally, the livelihoods for~125,000 people are reliant on the annual pulse of floodwater in the Okavango Delta, particularly through the use of flood recession farming practices [61,62]. Uncertainty in the timing and magnitude of the annual flood waters can make local populations vulnerable, particularly in times of drought [62]. By using TropWet, the variation in flood water extent, onset, and duration can be used to determine effects on livelihoods and help to mitigate against future drought events.
Previous attempts to map this region have shown the extent of inundation to be between 4000 and 13,000 km 2 [56], more extensive than the estimates made by TropWet. On one hand, this may be due to the degree of water underneath dense vegetation canopies that would not be identified by the unmixing process. However, equally, the difference may be due to relatively fine granularity of the TropWet Landsat-based product (30 m) compared to the previous estimates that were based on 1 km AVHRR (Advanced Very-High-Resolution Radiometer) pixels that will not capture finer scale features such as islands within the extensive braided river system, possibly leading to an overestimation of flood water extent. Future work may consider a direct comparison between coarser scale extent maps, TropWet-derived extent maps, and field observation to determine the true extent of inundated area in the Okavango Delta.
The granularity of the TropWet-derived product is illustrated in Figure 5A,B that shows a % frequency inundation map for 2018. Here, permanently inundated channels and pools are mapped alongside transitional zones and permanently dry islands within the braided deltaic region and the permanently dry escarpment lying outside the Delta region. Conversely, Figure 5C,D show the equivalent inundation frequency product from the Global Surface Water Explorer (GSW) [33], a globally available product, also generated using Landsat imagery within the GEE platform. The contrast between the two products demonstrates the value of the unmixing approach, enabling users to quantify inundation in partially vegetated pixels, whereas the GSW product can only identify open water pixels. The advantages of TropWet are particularly apparent in this example because the GSW map was created using the entire Landsat archive, whereas the TropWet was only generated using 2018 data.

Zambezi Region, Namibia
The Zambezi Region represents a significant habitat for a number of species including the critically endangered wild dog as well as acting as a vital migration corridor for a range of herbivore species such as elephant [49]. Much of this biodiversity is reliant on the annual pulse of floodwater, originating from the Angolan Highlands. The area is also highly populated and local populations are vulnerable to the effects of flooding including widespread displacement of people and cattle. Knowledge of the extent floodwater inundation can be vital for directing relief efforts, public health management as well as planning mitigation strategies [2]. In 2009, the region experienced widespread flooding leading to the displacement of 56,000 people [82]. As one of the largest flood events recorded in the region over last four decades [50], we decided to use this event to demonstrate the potential for TropWet to provide information on historic flood events as an example of a case study TropWet was applied to the Zambezi Region for March 2009 at a target resolution of 30 m. The fractional cover product as well as the thematic classified image is shown in Figure 6 alongside an ENVISAT-ASAR (Environmental Satellite -Advanced Synthetic Aperture Radar) radar-derived delineation of flood water extent generated by the United Nations Institute for Training and Research Operational Satellite applications programme (UNITAR-UNOSAT), who provide rapid response maps of flooding event for humanitarian relief. The TropWet-derived map showed strong agreement with the UNOSAT product, although TropWet was able to detect a greater extent of inundation by also considering inundated vegetation as well as open water, demonstrating the effectiveness of TropWet. However, missing data due to cloud cover and the Landsat 7 scan-line error suggests that although retrospective assessments of floodwater extent are possible with TropWet, approaches designed for near real-time rapid response mapping should utilise radar imagery that is not affected by cloud cover.
permanently dry escarpment lying outside the Delta region. Conversely, Figures 5C and D show the equivalent inundation frequency product from the Global Surface Water Explorer (GSW) [33], a globally available product, also generated using Landsat imagery within the GEE platform. The contrast between the two products demonstrates the value of the unmixing approach, enabling users to quantify inundation in partially vegetated pixels, whereas the GSW product can only identify open water pixels. The advantages of TropWet are particularly apparent in this example because the GSW map was created using the entire Landsat archive, whereas the TropWet was only generated using 2018 data.

Zambezi Region, Namibia
The Zambezi Region represents a significant habitat for a number of species including the critically endangered wild dog as well as acting as a vital migration corridor for a range of herbivore species such as elephant [49]. Much of this biodiversity is reliant on the annual pulse of floodwater, originating from the Angolan Highlands. The area is also highly populated and local populations are vulnerable to the effects of flooding including widespread displacement of people and cattle. Knowledge of the extent floodwater inundation can be vital for directing relief efforts, public health management as well as planning mitigation strategies [2]. In 2009, the region experienced widespread flooding leading to the displacement of 56,000 people [82]. As one of the largest flood events recorded in the region over last four decades [50], we decided to use this event to demonstrate the potential for TropWet to provide information on historic flood events as an example of a case study TropWet was applied to the Zambezi Region for March 2009 at a target resolution of 30 m. The fractional cover product as well as the thematic classified image is shown in Figure 6 alongside an ENVISAT-ASAR (Environmental Satellite -Advanced Synthetic Aperture Radar) radar-derived delineation of flood water extent generated by the United Nations Institute for Training and Research Operational Satellite applications programme (UNITAR-UNOSAT), who provide rapid response maps of flooding event for humanitarian relief. The TropWet-derived map showed strong agreement with the UNOSAT product, although TropWet was able to detect a greater extent of inundation by also considering inundated vegetation as well as open water, demonstrating the effectiveness of TropWet. However, missing data due to cloud cover and the Landsat 7 scan-line error suggests that although retrospective assessments of floodwater extent are possible with TropWet, approaches designed for near real-time rapid response mapping should utilise radar imagery that is not affected by cloud cover.

Southern Africa
The combination of the El Niño-Southern Oscillation and the SIOP is known to affect precipitation patterns across Southern Africa [44,45,84]. TropWet was applied to this region for two periods: (1) La Niña and positive SIOD phase (December 2018 to March 2019) producing wetter than average conditions and (2) El Niño and negative SIOD phase (December 2015 to March 2016) representing drier than average conditions. TropWet, applied with a target resolution of 1 km, was able to deliver widescale assessments of the impact of fluctuations in atmospheric circulation patterns. In this instance, the Southern African region experienced a greatly reduced extent of green vegetation between these two events (Figure 7), equivalent to 183.2 million ha in 2015-2016 and 261.6 million ha in 2018-2019. This is representative of a vast reduction in crops or grasses for domestic herbivores during El Niño events with serious consequences for food and social security [44,[85][86][87].
The regions of KwaZulu-Natal, North West, Free State, Limpopo, and the Northern Cape were declared to be drought disaster zones during the 2015-2016. For this region, TropWet demonstrated an 80% difference in green vegetation between the wet seasons of 2015-2016 and 2018-2019 (Figure 7), equivalent to a difference of 7.25 million ha. The direct implications of this was drastically reduced maize yields in 2015-2016 compared to previous years, leading to a widespread impact on the health and wellbeing of people in this region [85,86]. The Southern African region also includes a number of globally significant wetland habitats that demonstrated a significant difference in wet season surface water extent between 2015-2016 and 2018-2019. Specifically, the Bangweulu Swamps, cited by the RAMSAR convention as one of the world's most important wetland habitats, had a 30% difference in surface water extent between 2015-2016 and 2018-2019, equivalent to 169 thousand ha ( Figure 8). This variation has important consequences for a range of threatened and endangered species (e.g., black lechwe, wattle crane, shoebill stork) as well as implications for fisheries, with the Bangweulu Swamps representing the largest fishery in Zambia due to its species diversity and importance for breeding and spawning [88,89].

Southern Africa
The combination of the El Niño-Southern Oscillation and the SIOP is known to affect precipitation patterns across Southern Africa [44,45,84]. TropWet was applied to this region for two periods: (1) La Niña and positive SIOD phase (December 2018 to March 2019) producing wetter than average conditions and (2) El Niño and negative SIOD phase (December 2015 to March 2016) representing drier than average conditions. TropWet, applied with a target resolution of 1 km, was able to deliver widescale assessments of the impact of fluctuations in atmospheric circulation patterns. In this instance, the Southern African region experienced a greatly reduced extent of green vegetation between these two events (Figure 7), equivalent to 183.2 million ha in 2015-2016 and 261.6 million ha in 2018-2019. This is representative of a vast reduction in crops or grasses for domestic herbivores during El Niño events with serious consequences for food and social security [44,[85][86][87].
The regions of KwaZulu-Natal, North West, Free State, Limpopo, and the Northern Cape were declared to be drought disaster zones during the 2015-2016. For this region, TropWet demonstrated an 80% difference in green vegetation between the wet seasons of 2015-2016 and 2018-2019 ( Figure  7), equivalent to a difference of 7.25 million ha. The direct implications of this was drastically reduced maize yields in 2015-2016 compared to previous years, leading to a widespread impact on the health and wellbeing of people in this region [85,86]. The Southern African region also includes a number of globally significant wetland habitats that demonstrated a significant difference in wet season surface water extent between 2015-2016 and 2018-2019. Specifically, the Bangweulu Swamps, cited by the RAMSAR convention as one of the world's most important wetland habitats, had a 30% difference in surface water extent between 2015-2016 and 2018-2019, equivalent to 169 thousand ha ( Figure 8). This variation has important consequences for a range of threatened and endangered species (e.g., black lechwe, wattle crane, shoebill stork) as well as implications for fisheries, with the Bangweulu Swamps representing the largest fishery in Zambia due to its species diversity and importance for breeding and spawning [88,89].

Discussion
With overall accuracy scores exceeding 91%, we have shown that a simple mixture model can provide accurate maps of wetland extent for the monitoring and assessment of tropical wetlands using freely available Landsat imagery. By considering the sub-pixel level fractional cover of water and vegetation, users are able to map the extent of both open water and inundated vegetation. As a result, TropWet is able to identify a much greater extent in inundation for regions like the Okavango Delta compared to other globally available systems such as the Global Surface Water Explorer, which was designed to identify and map open water.
TropWet uses fractional cover of water, vegetation, and bare sand to derive a thematic classification of inundation extent. Although the system was calibrated for Barotseland, Western Zambia, there was remarkably little difference in accuracies for other sites in sub-Saharan Africa, demonstrating the robustness of the automated approach and its subsequent transferability. This represents an exciting potential for making continental-scale assessments of inundation frequency and extent, nevertheless, thresholds used to generate the thematic map can be adapted by the user and adapted for specific regions if needed. Indeed, the nomenclature for the thematic map was designed for ecohydrological characterisation, but this can be adapted for other class types to target other applications such as mapping terrestrial vegetation loss, vegetation fragmentation [90], and desertification (e.g., [91][92][93]).
TropWet was developed for herbaceous wetland regions, mainly due to the inability of optical satellite imagery such as Landsat to provide information about water bodies underneath dense vegetation canopies such as forests. One possible solution is to include information from the Normalised Difference Infrared Index (NDII), which has been shown to provide reliable classifications of aquatic vegetation [94]. An alternative solution is to integrate radar imagery for mapping land cover underneath vegetation canopies and is particularly valuable for flood mapping, given its independence of cloud cover conditions. L-band radar imaging systems would provide the best potential for making these assessments [35,36,95]. Although it is encouraging to report accuracies associated with mapping inundated vegetation using TropWet equivalent to those reported by approaches that use L-band imagery [32,35] or GNSS-R [21,23,24], it should be reiterated that TropWet is limited to inundated grassland environments. However, L-band imagery archives are not currently ingested within GEE. More importantly, archives of radar imagery do not match the

Discussion
With overall accuracy scores exceeding 91%, we have shown that a simple mixture model can provide accurate maps of wetland extent for the monitoring and assessment of tropical wetlands using freely available Landsat imagery. By considering the sub-pixel level fractional cover of water and vegetation, users are able to map the extent of both open water and inundated vegetation. As a result, TropWet is able to identify a much greater extent in inundation for regions like the Okavango Delta compared to other globally available systems such as the Global Surface Water Explorer, which was designed to identify and map open water.
TropWet uses fractional cover of water, vegetation, and bare sand to derive a thematic classification of inundation extent. Although the system was calibrated for Barotseland, Western Zambia, there was remarkably little difference in accuracies for other sites in sub-Saharan Africa, demonstrating the robustness of the automated approach and its subsequent transferability. This represents an exciting potential for making continental-scale assessments of inundation frequency and extent, nevertheless, thresholds used to generate the thematic map can be adapted by the user and adapted for specific regions if needed. Indeed, the nomenclature for the thematic map was designed for ecohydrological characterisation, but this can be adapted for other class types to target other applications such as mapping terrestrial vegetation loss, vegetation fragmentation [90], and desertification (e.g., [91][92][93]).
TropWet was developed for herbaceous wetland regions, mainly due to the inability of optical satellite imagery such as Landsat to provide information about water bodies underneath dense vegetation canopies such as forests. One possible solution is to include information from the Normalised Difference Infrared Index (NDII), which has been shown to provide reliable classifications of aquatic vegetation [94]. An alternative solution is to integrate radar imagery for mapping land cover underneath vegetation canopies and is particularly valuable for flood mapping, given its independence of cloud cover conditions. L-band radar imaging systems would provide the best potential for making these assessments [35,36,95]. Although it is encouraging to report accuracies associated with mapping inundated vegetation using TropWet equivalent to those reported by approaches that use L-band imagery [32,35] or GNSS-R [21,23,24], it should be reiterated that TropWet is limited to inundated grassland environments. However, L-band imagery archives are not currently ingested within GEE. More importantly, archives of radar imagery do not match the temporal extent and frequency of the Landsat archive, meaning that long-term assessments of wetland extent and inundation frequency are challenging. Integration with optical Sentinel-2 imagery, with its superior spatial resolution and revisit time, would provide additional data for TropWet to make assessments of inundation in a more timely and precise manner. However, the absence of a thermal band makes cloud masking problematic at present [96].
TropWet is implemented in the open source GEE platform. This enables widespread availability, meaning that non-expert users can use the system and apply it to their own areas of interest. This also gives users to ability to process decades worth of data over relatively large areas, a task that would require a great deal of computational resources if carried out using locally-based systems. In the example of the Okavango Delta, the 1.8 million ha area would require downloading and processing four Landsat tiles (path 174-175, row [73][74] representing between 2 GB (Landsat 5) and 6.44 GB (Landsat 8) for a single epoch. The analysis carried out in this paper considered all available scenes between 1988-2018 with 23 potential epochs per year (16-day revisit period), which represents a significant amount of data (max potential 92 scenes per year x 30 years = 2760 scenes in total, although gaps exist in the archive) that would exceed the resource capabilities for many organisations. TropWet allows for the analysis of wetlands to take place at a temporal and spatial scale that is suitable for informing national and regional scale policies.
With the ability to process and analyse over 30 years' worth of Landsat data, TropWet can be used to establish seasonal patterns in inundation extent. By mapping the variation in inundation extent, we can help to quantify the contribution of large tropical wetlands to greenhouse gas flux, a potentially important uncertainty for regional and global climate change modelling [15]. By mapping seasonal inundation patterns TropWet also provides a vital tool for the targeting of public health resources to tackle water-borne disease. For instance, characterising inundation frequency in malaria endemic regions-as has been demonstrated for Barotseland, Western Zambia-provides targets for interventions such as larval source management: treating water bodies where malarial mosquitoes breed using larvicide (e.g., [97,98]).
The performance of TropWet for mapping open water (user's accuracy: 93%, producer's accuracy: 88%) is equivalent to accuracies reported by approaches based on radar imagery [1][2][3][4][5][6][7]. As discussed previously, radar is better suited to an operational flood hazard mapping system (mainly due to its independence from cloud conditions), but our encouraging results demonstrate that TropWet can be used to make retrospective assessments of historic flood extent. In doing so, TropWet can be used to plan mitigation strategies for returning events. This is particularly valuable for large scale, resource poor regions (lack of hydrometric data and precise digital terrain data necessary for hydraulic modelling) where reliable flood modelling and subsequent flood-risk mapping is not possible. Furthermore, the density of data over the Landsat archive also enables users to make assessment of long-term events, for instance, establishing peak flood water extents during El Niño or La Niña events. In this respect, these recurring patterns could be used to mitigate the effects of these events by establishing the typical availability of surface water during previous events, whether that be water scarcity or excess of water leading to flood hazard. This also means that TropWet has the ability to assess the impact of atmospheric circulation pattern changes over large spatial scales. In this paper, we demonstrated the ability of TropWet to identify significant changes in the extent of green vegetation over the Southern African region. In this manner, TropWet is able to support on-going efforts to quantify the specific effects of variations in El Niño or La Niña events (e.g., [44]). In doing so, policy makers have a tool to examine the implications of these events and help mitigate against them.

Limitations
TropWet aims to map open water and inundated vegetation within herbaceous dominated wetland systems and is not applicable to areas with dense canopy covers (i.e., forests). Additionally, fieldwork within the Bartoseland region and the Kilombero Valley revealed that extensive floating vegetation or matted grasses can similarly mask water underneath that, again, would not be detected by the optical-unmixing approach. The TropWet derived inundation maps and subsequent accuracy assessment are, therefore, representative of inundated pixels where at least 25% of the pixel is not covered by dense vegetation.
Cloud cover remains the major limiting factor for all optically-based EO monitoring systems. Users of TropWet need to bear this in mind when analysing their areas of interest. In some instances, regions are relatively cloud free, particularly in particular seasons, in which case, relatively dense time-series can be explored. However, in regions where cloud cover is persistent, users may find it beneficial to examine broader temporal scale patterns in inundation. For instance, rather than trying to obtain yearly maps of wet season inundation frequency for an area, the user may consider deriving inundation frequency within wet season months over a 10-year period, thereby maximising the chance of obtaining a suitable number of cloud free pixels. Additionally, the Landsat archive is not continuous. For instance, during the period 1984 to 1999, the Landsat programme was commercialised, meaning that scenes were only acquired where there was a buyer leaving a gap in the archive for a number of regions, particularly Sub-Saharan Africa.
Although TropWet harnesses the archives of analysis ready data and processing capabilities of GEE, there are restrictions on the computing resources accessible to a single user. GEE hardware uses a parallelised cluster computer infrastructure that physically limits the amount of data that can be stored and consequently processed on a single cluster node [37]. In addition, the cloud based nature of the infrastructure imposes reasonable user limits to allow fair usage for all (April 2020): (a) A computational time limit of 270 seconds is applied for individual processing operations, (b) 40 simultaneous low intensity operations (band math and general per pixel analysis), and (c) 25 simultaneous high intensity operations (spatial aggregation on a per image basis) [37]. For intensive operations, a maximum number of pixels that can be processed is set at 1 billion pixels and is somewhat independent to the area that can be processed, as pixel resolution can be adjusted to increase the processable area. Maintaining the native 30 m resolution of Landsat 5, 7, and 8, it would theoretically be possible to apply the model to an area of approximately 900,000 km 2 .

Conclusions
We presented a new tool for providing accurate maps of wetland extent including discrimination of both open water bodies and flooded vegetation by considering the sub-pixel fractional cover of water, vegetation, and sand/bare soil. TropWet employs a simple unmixing approach applied to optical Landsat imagery. Although simplistic, this automated approach was shown to be transferable across a number of representative sites across Africa.
By using imagery from the long-term Landsat mission, TropWet users are able to make historical assessments of wetland extent and dynamics. By exploiting the cloud-based GEE processing resources, TropWet can be used to conduct large scale analyses over broad timescales, making it suitable for informing national and international level land management decisions. Furthermore, by implementing TropWet in GEE, it is made available to a broad spectrum of users including both experts and non-experts, independent of computational resource availability. In this study, we demonstrated the potential for TropWet to provide geographical information to help tackle key environmental and public health challenges including malaria control, flood hazard mitigation, conservation, and quantifying the effects of changes in global climate circulation patterns.