Spatialized ﬂood resilience measurement in rapidly urbanized coastal areas with a complex semi-arid environment in northern Morocco

. Enhancing resilience is critical for coastal urban systems to cope with and minimize ﬂood disaster risks. This issue is certainly more important in Africa, where the increase in ﬂood frequency is a signiﬁcant concern for many areas. In this context, urban planners need accurate approaches to set up a standard for measuring the resilience to ﬂoods. In Morocco, this issue is still not fully covered by the scien-tiﬁc community despite the obvious need for a new approach adapted to local conditions. This study applied a composite index and geographic-information-system approach to measure and map resilience to ﬂoods in three northern coastal municipalities. The approach is also based on a linear ranking of resilience parameters, offering a more optimal classiﬁcation of spatial resilience variation. The results allowed us to identify speciﬁc areas with different resilience levels and revealed the relationship between urban dimensions and the ﬂood resilience degree. This approach provides an efﬁcient decision-support tool to facilitate ﬂood risk management, especially in terms of prioritizing protective


Introduction
Climate change is a major challenge for the development of African countries. Several studies have highlighted the severe impact of global change in Africa (Bates et al., 2008;CRED, 2019). The patterns of precipitation (Born et al., 2008;Giorgi and Lionello, 2008;Paeth et al., 2011), temperature (Fisher et al., 2015), and evapotranspiration (Speth et al., 2010) are more likely to change, which will alter the hydrological cycle in many regions, causing a change in the occurrence of extreme events such as drought and flooding, especially in arid and semi-arid areas (Karanja Ng'ang'a et al., 2016).
The coastal zones situated in semi-arid areas are considered to be among the most threatened areas by the increase in flood occurrence and rapid urbanization (Leal Filho et al., 2018). The impact of these floods particularly affects population concentrations. Consequently, as population growth increases, exposure to floods will be a real societal problem (Kundzewicz et al., 2014). Between 1993Between -2002, more than 19 000 000 persons have been affected by floods, and 9642 persons have died in Africa (Conway, 2009). Moreover, it is excepted that coastal African cities will experience a higher rate of population growth and urbanization over the 21st century (UN-Habitat, 2008;Lutz and Samir, 2010;Neumann et al., 2015). The rapid coastal development will exacerbate the already high vulnerability of many African coastal areas (Hinkel, 2011) since coastal cities are the most densely populated, with inhabitants taking advantage of residential, industrial, commercial, educational, and military opportunities (UN-Habitat, 2015).
Morocco, situated in the north-west of Africa, reveals a trend towards a decrease in average annual rainfall as well as an increase in average annual temperature (Hoffman and Vogel, 2008;Terink et al., 2013;El Moçayd et al., 2020). The intensity of floods will increase over time (Vicuña et al., 2011;Doocy et al., 2013;Roy et al., 2018), while the main economic activities are located in coastal zones, where 60 % of the total Moroccan population is living (Snoussi et al., 2009). During recent years, several new policies have been implemented (Barthel and Planel, 2010;Ducruet et al., 2011;Kanai and Kutz, 2011) to improve these areas' economic growth and reduce the negative effect of rural migration. In this regard, the economy's main drivers are based on tourism and free-zone industries, which regrettably will increase the vulnerability of these zones to climate change (Perelli, 2018). Adaptation to climate change is an important factor to consider in order to achieve sustainability in such areas. As the combinations of environmental change, demographic growth, and urban-complexity challenges will put the urban environment under pressure (Marana et al., 2019), there are several ways to tackle adaptation issues, limiting the impact of a climate-related disaster, especially flooding (UN-DRR, 2019). The classical methods proposed to deal with such issues involve implementing structural systems (Plate, 2002;Papadopoulos et al., 2017;Bertilsson et al., 2019). However, climate variability has a very substantial effect on the reliability of complex coastal-area systems. Therefore, adaptation should also focus on resilience (sustainabledevelopment goals) (Chen and Leandro, 2019;Miguez and Veról, 2016) rather than only structural measures. Resilience approaches aim to understand and manage a system's capacity to adapt, cope with, and shape uncertainty (Adger et al., 2005;Folke et al., 2002).
Within the context of disasters and climate change, many definitions of the resilience concept have emerged. Some are focusing on the ability of the system, community, or city to absorb disturbances, retaining the same basic structures and normal ways of functioning, with self-organization capacity and adaption to stress and change (e.g. Pelling, 2003;Pendall et al., 2007;IPCC, 2007). Bouncing back to the original state (equilibrium) after a disaster is undesirable (Klein et al., 2003) knowing that social systems are in a continuous state of change. Adaptation to some changing trends or several states of equilibrium becomes one of the main characteristics of resilience depending on preparedness for the unprecedented and unexpected changes (Walker et al., 2004;Pendall et al., 2007;Paton et al., 2006;Ahern, 2011). This is determined by a system's capacity to organize itself, learn from past disasters, and improve risk reduction measures (UNISDR, 2016). Some works (e.g. Meerow et al., 2016) have linked the concept to the temporal and spa-tial scales, considering resilience to be the ability of urbansystem components (ecological and socio-technical) to maintain or rapidly return to desired functions.
Resilience has a systemic property and implies greater consideration of the temporal variability (Reghezza-Zitt et al., 2015). Some works describe it as the ability of short-term absorbing, self-organizing, and long-term learning and adaptation (e.g. Chen and Graham, 2011;Colding and Barthel, 2013). The current diversity in definitions makes it difficult to have a common concept (Carpenter et al., 2001). Therefore, a set resilience concept definition could be an appropriate basis.
In this work, the resilience of the urban system to floods is the capacity of flooded urban areas to maintain the activities during and after floods. Simply put, a resilient coastal urban area will be able to absorb the disaster (at an acceptable level) and be adapted to the changes. Besides, urban resilience is a complex and multidimensional concept (Sharifi and Yamagata, 2016); the resilience of the urban system to floods includes several dimensions of an urban system: social, economic, physical, natural, and institutional dimensions are equally important (Batica, 2015;Qasim et al., 2016). The social dimension explores flexibility, health status, and knowledge, while the economic dimension is related to the economic capacities, income resources, and connective devices within the community. The physical dimension may include urban density, building materials, and infrastructure (Qasim et al., 2016) and can be quantified based on physical indicators such as flood depth or flood duration extracted from flood simulation data (Mugume et al., 2015;Chen and Leandro, 2019). Areas located at low elevations or near rivers are more sensitive to flood disasters, constituting the natural component of resilience (Hung et al., 2016). Thus, institutions' efforts aim to cope with disasters through better planning; awareness programmes prefer integrated approaches by considering all these dimensions in the evaluation of resilience. It may help to have a global perspective, which will lead to creating suitable management tools that can be very useful in the decision-making process (Bertilsson et al., 2019). Supporting this decision-making process on strategies, actions, and measures to be taken and planning for the long, medium, and short terms as well as assessing the progress start with assessing the current and expected future status of resilience. This will highlight where resilient urban areas are and identify their strengths and weaknesses (Cardoso et al., 2020).
Because of its multidimensional aspect, quantifying resilience remains a great challenge (Bertilsson et al., 2019). Many works have shown the need to have some metrics able to measure resilience. However, to date, there is no consensus about a single metric evaluation, and the literature refers to the need for measures (e.g. Meerow et al., 2016;Asadzadeh et al., 2017;Rus et al., 2018). Furthermore, making resilience tangible and practical for cities through a transition from theory to practice is challenging (Kontokosta and Malik, 2018;Meerow et al., 2016). Quantitative approaches through composite indicators provide a synthetic measurement of a complex and multidimensional phenomenon (Chang and Jeon, 2014). Those indicators are developed based on the aggregation of multiple individual indicators (OECD, 2008). The choice of method to construct composite indices is dependent upon the type of problem, the nature of the data, and the goals (OECD, 2008). Several composite indices to assess the resilience of urban areas and compare their resilience levels within specific geographical regions have been proposed in recent years (e.g. Sharifi and Yamagata, 2016;Asadzadeh et al., 2017). For example, the work of Cutter et al. (2014) using BRIC (Baseline Resilience Indicators for Communities) is the first attempt at the operationalized version of the conceptual framework "DROP" (disaster resilience of place) model (Cutter et al., 2008). Within a socio-ecological approach, BRIC was calculated for a multi-hazard context. Among other analysts, Joerin et al. (2014) state that the CDRI (climate disaster resilience index) gauges the different capabilities needed for communities in an urban system to regain an equilibrium state after climate-related disasters such as cyclones, droughts, floods, and heatwaves. Following the same holistic spirit, this index was adopted in Climatic Hazard Resilience Indicators for Localities (CHRIL) (Hung et al., 2016). Mayunga (2007) also proposed a community disaster resilience index (CDRi). All of those previous indicators were applied to quantify community resilience to multiple natural hazards. Qassim et al. (2016) determined community resilience to a particular hazard, "floods", and specific community, "urban areas", as recently proposed also by Cariolet et al. (2019). However, many particular indicators were developed for a specific case of urban resilience to a specific hazard like floods.
Based on time-dependent characteristics, FResI (flood resilience index) was constructed to assess future resilience responses relative to the present situation (Miguez and Veról, 2016). Further, Chen and Leandro (2019) quantified the flood resilience of households in urban areas by the FRI (flood resilience index) as a time-dependent method. More examples of specific indicators are available (Kotzee and Reyers, 2016) using geographic information systems (GISs) and stress the need to move towards diversifying resilience assessment approaches.
Regardless of several challenges associated with data quality and availability constraint (Moghadas et al., 2019;Cai et al., 2018) and as a standard procedure for composite indicator development (Asadzadeh et al., 2017), particular attention has been paid to composite indicators (Heinzlef et al., 2019) regarding their ability to analyse the urban, social, and technical resilience of a city. However, a lack of resilience measurement tools developed by local authorities and organizations in the developing countries was reported in a critical review by Sharifi and Yamagata (2016).
The Mediterranean region will suffer from severe impact due to climate change (Tuel and Eltahir, 2020). Particularly Morocco is mentioned as a hotspot for climate change in several works (Born et al., 2008;Driouech et al., 2009;Ouhamdouch and Bahir, 2017). Moreover, the precipitation's seasonal distribution strongly influences the Mediterranean river hydrology (Thornes, 2009). Assessing the intensity of the impact, regional-climate-model (RCM) simulations over this area all agree that Morocco might experience an increase in temperature and a decrease in precipitation (Driouech et al., 2010). This will have a severe impact on water (Bahir et al., 2020) and natural hazards (Satta et al., 2016), among others. Consequently, increasing resilience against flooding is, therefore, of utmost importance to achieve sustainability (Snoussi et al., 2008). However, a knowledge gap for a better understanding of resilience has been identified at national and local levels (Price, 2017) in Morocco. It is highly recommended to provide policymakers with a simple approach and ways to enhance resilience to floods in the local area (OCDE, 2016).
The present study is the first attempt to provide a methodological way to measure flood resilience for northern coastal municipalities in Morocco: Martil, M'diq, and Fnideq. In this work, flood resilience refers to the resilience of these coastal urban areas (Martil, M'diq, and Fnideq) to floods. These areas were selected because they show 18 hotspots highly exposed to floods (ABHL, 2016). Moreover, the area is particularly highly vulnerable to multiple hazard types, including floods (Karrouchi et al., 2016;Taouri et al., 2017), sea-level rise (Niazi, 2007;Snoussi et al., 2011), and coastal erosion (Satta et al., 2016;Nachite, 2009). However, the littoral is nowadays very urbanized, and tourist activities are the main economic resources in the area (Anfuso et al., 2010).
2 Methods: study area and index development

Fnideq, M'diq, and Martil municipalities
Related to the M'diq-Fnideq prefecture, the Fnideq, M'diq, and Martil municipalities have a population of 984 inhabitants/km 2 (RGPH, 2014). The precipitation regime is characterized by seasonality, with an annual average rainfall of 679 mm (ABHL, 2016). Rainfall variability is based on altitude and the geographic situation (Karrouchi et al., 2016). Rivers flowing into the Mediterranean Sea (Martil, Mellah, Smir, Negro, and Fnideq) drain slowly during the rainy months and intensely in a short time during flash floods (Niazi, 2007), while the frequency of flood events and related damages increased gradually over time (e.g. on 26 December 2000, Martil floods invaded more than 2400 ha in the Martil plain) (Fig. 1). Urbanization is concentrated in coastal zones and puts pressure on coastal ecosystems with high touristic value (Snoussi et al., 2011). It is pitiable that municipalities are also vulnerable to multiple climate and nonclimate hazards such as erosion and morphological changes (Satta et al., 2016).

Theoretical comprehensiveness for composite index development
To produce an aggregate measure of resilience, through manipulation of individual variables, constructing a "composite indicator" is often undertaken. It is a mathematical combination of thematic sets of variables that represent different dimensions of a concept that cannot be fully captured by any individual indicator alone (OECD, 2008). An indicator is a quantitative or qualitative measure derived from observed facts revealing the relative position of the phenomena being measured. "It can illustrate the magnitude of change (a little or a lot) as well as the direction of change over time (up or down; increasing or decreasing)" (Cutter et al., 2010). Moreover, considerable attention is increasingly given to composite indices as useful tools for decision-making and public communication. They simplify and communicate easily the reality of complex situations (Freudenberg, 2003) and convey more precise information (Saisana et al., 2005). However, through different geographical contexts and scales, these indices may encompass many theoretical perspectives (Cutter et al., 2008). Also, the quality of the framework, the data, and the used methodology can significantly influence a composite index's qualities and the soundness of the messages that it conveys. The flood resilience index is explored and calculated differently in several works. Kotzee and Reyers (2016) used PCA (principal component analysis) as a method to construct this index and define its component weights. For Batica (2015) it has been built taking into account different spatial scales and focusing on urban functions. Using time series indicators (event phase and recovery phase), Chen and Leandro (2019) computed the FRI at time t as the product of the recovery factor and the FRI at the previous time step t −1. By defining resilience as time-dependent, based on two phases (event and recovery),  have also shown the ability of the developed FRI for assessing climate change adaptation. Despite the already-existing studies on flood resilience assessment, there is still a need to develop methods for a specific case of study, where data availability remains a challenge, and the need for a tangible and simple way to better understand resilience is increasing. In this study, we adopt the specific flood resilience index to quantify the resilience of coastal urban areas to floods. The FRI was divided into four sub-indicators -social, physical, economic, and natural sub-indices -so as to enable sufficient flexibility to include or not each sub-index in the global composite index (Fig. 2). Three indicators were chosen for each sub-index (Table 1) based on data availability and their contribution to persistence, recovery, or adaptive capacity (the main components of the adopted resilience definition): household density (HD), illiteracy rate (IR), and the vulnerable-individual indicator (VII) were taken into consideration as the mean indicators that affect the social resilience negatively and construct the social sub-index. The physical sub-index included the old-building rate (OBR), the modernly built houses (MBHs), and the connection to water infrastructure (CWI). This sub-index is important because it improves the physical capacity of individual and common properties against floods and thus minimizes their vulnerability degree. The economic-resilience sub-index also includes three indicators: unemployment rate (UR), building density (BD), and communication capacity (CC). Finally, elevation (E), stream network density (SND), and distance from depressions (DD) are the indicators selected to determine the natural-resilience sub-index.

Selecting indicators: scoring and classification
Based on their relevance, analytical representativeness, and accessibility, 16 indicators (variables) were selected (Table 1). The data used were mainly drawn from the national population and housing census (RGPH, 2014). The Arc Hydro and Line Density modules of ArcGIS© were used to generate a stream network density from an ASTER (Advanced Spaceborne Thermal Emission and Reflection Radiometer) digital elevation model (30 m of spatial resolution), while Google high-resolution satellite imagery was used for digitizing the building area. This was converted firstly into points, and then their density was calculated using the Ar-cGIS© Point Density module.

Normalization
Indicators' integration into sub-indicators needs data normalization. Respecting the theoretical framework and the data characteristics, a min-max normalization was applied. Subsequently, each variable was normalized from 0 to 100 according to Eqs. (1) and (2): Table 1. Indicator descriptions selected to assess the flood resilience in the Fnideq, M'diq, and Martil areas (compiled from different sources).

Dimensions Indicators
Description of effect on resilience and justification Social Household density (HD) Cities with higher building density in developing countries tend (SD) to be densely populated, with many areas that have grown fast (Andersson, 2006), often with insufficient infrastructure, resulting in environmental degradation and high-damage floods. Studies have found that highly resilient sites had low population density (Sanabria-Fernandez et al., 2019).
Illiteracy rate (IR) This refers to the persons who have never learned to read. That can make the emergency and public awareness processes challenging (Cutter et al., 2010).

Vulnerable-individual indicator (VII)
It refers to all vulnerable people (0-14-year-olds, 60-year-olds, and disabled people) who can create hindrances in mobility during floods and operations of evacuation (Hung et al., 2016;Qasim et al., 2016).

Physical
Old-building rate (OBR) This is the percentage of buildings that are over 50 years old. It (PD) expresses the fragility that increases with building material age.

Modernly built houses (MBHs)
Based on the building material factor (by reinforced concrete and bricks with mortar), modernly built houses will suffer less exterior damage during flood events in the local state (Cutter et al., 2010).
Connection to water infrastructure (CWI) The high rate of connection to the sewage system and drinking water distribution strengthens community resilience (Cutter et al., 2010). Not being guaranteed access to water during and after an emergency (Pagano et al., 2017) will aggravate the situation.

Economic Unemployment rate (UR) It expresses the decrease in the individual economic capacity. (ED)
Unemployed people are faced with difficulties related to their disability to recover or rebuild their damaged property (Cutter et al., 2010;Sherrieb et al., 2010).
Building density (BD) It reflects the concentration of buildings per area. For people more concentrated in low-quality urban housing, infrastructure, and services, the impact of a natural disaster is higher (Pallard et al., 2009). It was selected based on the fact that an area with high building density is less resilient to floods.

Communication capacity (CC)
This is the rate of persons with communication devices (television, mobile phone, and internet). The communication facilities' availability during, after, and before flood hazards, strengthen resilience (Cutter et al., 2010).

Natural Elevation (E)
It was selected based on the fact that lands with low elevation are ND more at risk of flooding and exposed to damages compared to highelevation areas.
Stream network density (SND) It describes the degree of drainage network development and was recognized to be significantly linked with the formation of flood flows (Pallard et al., 2009).
Distance from depressions (DD) It expresses the distance from flood-prone areas or flood risk areas (ABHL, 2016), including natural depressions of high flow accumulation.
V + = real value − minimum value maximum value − minimum value × 10 (1) Equation (1) was applied for variables that positively influence resilience, while Eq. (2) was applied to those that are negatively correlated with resilience. When the scores are attributed, each of these indicators was gridded, and then a geodatabase was created to calculate the sub-indices by using the GIS. Each sub-index is the mean value of all correspondent indicators.

Weighting and aggregation
The existing methods for determining weights do not always reflect the priorities of decision-makers (Esty et al., 2005), which are subjective (Cutter et al., 2010). Equal weighting is the most common for composite indices with several subindicators (OECD, 2008). Thus, several arguments are listed by Greco et al. (2019) (i. simplicity of construction, ii. a lack of theoretical structure to justify a differential weighting scheme, iii. no agreement between decision-makers, iv. inadequate statistical and/or empirical knowledge, v. alleged objectivity). Moreover, the weighting method selection depends on the local factors where the method is applied (Mayunga, 2007;Reisi et al., 2014). Allocating equal importance across different indicators is better suited when no knowledge exists about the interactions among the sub-indicators and indices and the corresponding composite index at the local scale (Cutter et al., 2014;Asadzadeh et al., 2017). All variables are given equal weight (EW) in our case of study. The main reason is to allocate equal importance across indicators because of the lack of knowledge and justification about the existing interactions among the sub-indicators and composite index at the local level while avoiding a high concentration of a few indicators and making the composite index easy to communicate.
The simple method of aggregation, which is supposed to be transparent and easy to understand, is a critical criterion for potential users (Cutter et al., 2010). All individual indicators have the same measurement unit. Therefore, using linear aggregations is preferred over geometric aggregation. The linear aggregation formula of the FRI takes the following form: where SRI is the social-resilience index, PRI is the physicalresilience index, ERI is the economical resilience index, and NRI is the natural-resilience index; 0 is considered to be a low resilience level, 100 a high resilience level, and 50 a medium resilience level.

Links to other indicators
To assess the correlation between the composite index and corresponding sub-indices and variables, a statistical analysis was performed using the program SPSS 23. Data presented as a mean and standard deviation (SD) were statistically analysed using multi-variance to confront data of natural, physical, economic, and social conditions with the flood resilience index and to identify which variables differ significantly between the three case study sites. The significant differences were distinguished by post hoc Tukey's honestly significant difference (HSD) test at p < 0.05. The Spearman's ρ coefficient was used for correlations between variables. Only significant correlation coefficients at a level of 0.05 are considered.

Visualization and validation
Particular attention has been paid to the visualization given its relevance in helping and enhancing interpretability. Maps facilitate further exploration of spatial data trends (Kotzee and Reyers, 2016). For that purpose, geographic information systems (GISs) were adopted to visualize the FRI and sub-indicators. After visualizing the composite index results, validation was the last step. Acting like a "quality assurance", this step will highly reduce the possibilities of conveying a misleading message (Saisana et al., 2005). Unfortunately such a step is often skipped for the vast majority of the composite indices (OECD, 2008). External validation has been the most used to validate several indicator results (CDRI 2009, BRIC 2012, CDRI 2013, and BRIC 2014. In our case, the validation based on actual outcomes of the municipalities is possible using cross-validation type. It was performed to test and compare the reliability of FRI results using the results of other studies interested in hydro-climatic hazards as suggested by Satta et al. (2016). This is possible through the opposite correlation between risk and resilience (Cutter et al., 2014;Sherrieb et al., 2010). Seeking optimization by considering social and economic pathways, and combining flood resilience and flood risk, measures can be effective against a broader range of hazards than when considering either method alone (Disse et al., 2020).

Sub-indices
Each sub-index was observed separately to get additional insights about the flood resilience index. The social resilience sub-index (Fig. 3d) was produced based on the three indicators of social resilience (Fig. 3a-c). The highest values of social resilience are more related to a few urban areas than rural and less developed sectors. In terms of mean value, the social-resilience sub-index was higher in Martil (69.03 ± 11.24), followed by Fnideq and the coastal area of M'diq, showing similar values (57.11 ± 9.26 and 57.17 ± 11.44, respectively).
Higher physical-resilience scores (Fig. 4a-d) are concentrated in the urban-centre areas, with a spatial tendency towards the coastal area, even though pockets of lower scores exist in the central area and some less developed sectors, indicating low physical-resilience levels. Therefore, the central area had a somewhat low level of physical resilience as com-pared to the urban centres of Fnideq, M'diq, and Martil and the coastal zone (Fig. 4d).
Results (Fig. 5d) show a concentration of the low and moderate levels of economic resilience in the three urban centres. However, this does not exclude some coastal urban sectors showing high levels of the economic-resilience sub-index.
The overall map of the natural-resilience index shows a spatial variability between the lowest and the medium level of the NRI in the whole study area (Fig. 6d). However, the high level of natural resilience is more prevalent in areas with high altitudes, such as Capo Negro (Fig. 6a and c).

Total flood resilience index
The results reveal a marked spatial variability in resilience to floods (Fig. 7). Overall, 31 % of the study area varies from low to very low, which equals 45 km 2 (Fig. 8a). A total of 43 % of the studied area, which is equivalent to 52 km 2 , was classified as moderately resilient, and only 17 % of the studied area (17 km 2 ) was classified as highly resilient; the remaining 3 % had very high resilience. The central area shows the lowest levels of the FRI, including sensitive coastal sites such as Smir lagoon, Kabila beach, and Restinga beach. In contrast, M'diq and the north of Martil have relatively moderate to high values in terms of resilience to floods. However, the significant disparities between rural and urban ar- eas, especially in terms of socioeconomics, highly influence the flood resilience index values.
In order to avoid any confusion related to flood management priorities between the rural and the urban areas, the resilience maps corresponding to urban areas were extracted, and the index values using GISs were reclassified to have the priority areas without taking into account the rural part. Using this tool to overlay the spatial distribution of households (RGPH, 2014) and the FRI map, it turns out that 1151 house-holds (around 2.4 %) are in areas of very low resilience and more than 7800 households (about 16 %) in low-resilience areas. On the other hand, 7402 households are in a highresilience situation, and only 177 can be qualified as having very high resilience (Fig. 8b).

Statistical analysis
In order to evaluate the contribution of the sub-dimensions (social, economic, physical, and natural dimensions) for the resilience analysis, the statistical relationship between the total flood resilience index (FRI) and its sub-indices was estimated for each municipality ( Table 2).
The SRI is positively correlated with the FRI in the three municipalities (p < 0.001), particularly in the urban areas, where it is proven to be important as an FRI component. Regarding the ERI sub-index, it shows a moderate correlation in the Fnideq and Martil municipalities (p < 0.01) or even a low correlation at the M'diq level (p < 0.05). Unlike the SRI and ERI, the correlation with the PRI sub-index is different from one municipality to another. It is strong at the level of Martil (p < 0.001), weak at the level of Fnideq (p < 0.01), and absent at the level of M'diq. In the case of the NRI sub-

Discussion
Within the current context of global climate change associated with an increase in flood damage, the efficient use of available data is, in most cases, the primary source of judgement control in decision-making for flood risk management (Ouma and Tateishi, 2014). Producing flood resilience maps has thus become a crucial issue for local flood management planners (Godschalk, 2003). However, these products require generally detailed knowledge about all resilience components in time and space to be effective. They should be designed in such a way that can help the decision-making by using the ranking and prioritization process (Chitsaz and Banihabib, 2015). Accordingly, the choice of a good methodology to assess and quantify resilience attains its utmost importance and relevance. Indeed, the adopted methodological approach as well as the quality of the data has a significant influence on the obtained results and hence on the final decision-making (Suárez et al., 2016).
In this paper, the adopted methodology is adaptable according to the study case and the available data. Moreover, the adapted ranking process is based on linear scoring, which offers the advantage of being more sensitive to changes compared to the usual methods based on assigning scores according to intervals (e.g. Angeon and Bates, 2015). It also provides a more reliable and objective spatial comparison of resilience parameter values, which will finally allow effective prioritization of resilient areas to be obtained.
It should be noted that significant components for the resilience analysis have been considered and the obtained resilience map allowed the classification of the study area according to four resilience degrees to floods: very low, low, moderate, and high.
The difference in the social-resilience sub-index between urban and rural areas could be explained by the fact that human development indicators are generally lower in rural and less developed areas, especially those related to school attendance and people's vulnerability, which affect social resilience negatively. However, the difference in the SRI between municipalities may occur because of the great growth rate of Martil municipality rather than Fnideq and M'diq (HCP, 2018) The low physical resilience in the central area and the less developed sectors may exist because of the low population and urbanization (e.g. at the central-area access to water infrastructure) as basic service is still low (Fig. 4c), unlike in the case of the urban centres with high physical-resilience scores.
Meanwhile, the high level of the economic-resilience subindex in some coastal urban sectors may be explained by tourism and economic activities. An expected result has given the characteristics of the wealthy residents living there (Tempelhoff et al., 2009;Kotzee et Reyers, 2016), unlike the three urban centres having low and moderate economic resilience that could be explained by the high unemployment rate of 17.9 % (HCP, 2018) and the high urban density. These results support our hypotheses and the suggestions from Cutter et al. (2010) and Hung et al. (2016). Further, the results of Irajifar et al. (2016) show that the association of high population density and high incomes makes a recovery after disaster quicker. The overall picture of natural resilience shows that all three municipalities have lower natural resilience. Martil had a somewhat low level of the NRI as compared to Fnideq and M'diq. This is because of the lowest values of elevation indicator and distance from depressions. The findings fully correspond to the existing literature (Hung et al., 2016), supporting the relationship between elevation, flood-prone areas, and the least resilience.
The areas with a very low and low flood resilience index seem to be generally associated with the areas showing unstable socials conditions. This observation is confirmed by the statistical analysis and studies (Godschalk, 2003;Cutter et al., 2010;Kotzee et Reyers, 2016;Moghadas et al., 2019) showing that social resilience is strongly correlated with flood resilience degree. Moreover, the disparities highlighted between rural and urban areas revealed that rural areas display the lowest resilience to floods.
The natural resilience, which is tightly linked at the sites, is the second-most statistically significant indicator linked to the total FRI. Disparities between municipalities are less significant. This means that areas having low or moderate resilience to floods need equal attention (Qasim et al., 2016).
The risk-and vulnerability-oriented studies (Niazi, 2007;Snoussi et al., 2011;Nejjari, 2014;Satta et al., 2016) in the coastal area were used for validation. The results are consistent, showing that coastal sites such as Restinga plain, Kabila beach, Smir lagoon, and Martil-Alila plain, which have a low resilience, are highly vulnerable to the flash floods and sealevel-rise impacts (Snoussi et al., 2011;Niazi, 2007;Satta et al., 2016). Considering all the output, this confirms that the flood resilience index is relatively valid and can be adapted and tested in other geographical areas. Moreover, this robustness analysis makes the FRI in this case of study support the idea that areas with higher vulnerability levels have lower resilience levels (Hung et al., 2016).
In this context, there is a need to prioritize the actions contributing to enhancing the social and economic communities' levels to provide support and strengthen actions promoting social and economic levels in the municipalities.
Further, the statistical analysis shows a significant link between the natural characteristics and resilience degrees. In that situation, it is recommended to establish best practices and measures to avoid urban development in flooded areas and to provide more efforts to manage the risk of floods in urbanized areas, with a strong focus on the contingency plans in case of power or drinking water failure in the three municipalities.
Therefore, there is a need to incorporate disaster management education in college to explain hazard adaptation and to educate people through communication devices, seminars, and workshops to make citizens aware of the damages and the climate change effects.
The obtained results highlight the importance of using a multidimensional approach to assess flood resilience. Furthermore, GISs are also highly recommended as a solution to complex situations and as a decision-support tool that offers an interactive use and continued improvement (Ouma and Tateishi, 2014;Mayunga, 2007).

Conclusions
Building and enhancing resilience to floods become critical as the urban development in a coastal area in Africa is increasingly stressed, especially for the coastal zones situated in semi-arid threatened areas, as in Morocco's local contexts, where this study is the first attempt at focusing on enhancing the understanding of resilience to floods and highlighting the application of the tangible approach to summarize and present complex components linked to resilience to floods.
Flood resilience assessment was piloted using a composite index and geographic information systems. The spatial and statistical analysis gave further insights into the geographic distribution of the flood resilience index across Fnideq, M'diq, and Martil municipalities. Moreover, the in-dex clarifies the presentation of a complex set of components linked in a reproducible way.
The findings indicate that different factors can affect spatial patterns of resilience to floods. The framework is flexible enough to allow the proposed index, in future work, to take into consideration the institutional component. Including the institutional component could advance our understanding of flood resilience and provide useful results to suggest flood adaptation strategies in a coastal area. The robustness of the flood resilience indicator was tested by comparing the results against additional case studies and operationalized resilience measures. Some of the main limitations of the developed flood resilience index are starting with tackling the main limitations from considering real and simulated flood inundation maps and integrating climatic data (flood data or flood simulation data). Besides, for robust validation, the date of resilience assessment and validation tool date should be highlighted to take the specific changes in land covers between the two periods of time into account. Further work will use other methodologies for developing the flood resilience index in the same coastal area to provide further insights into indicator assessments and the relationships among flood resilience and flood risk.
Data availability. To get the data, the request is directed to the "HCP -Haut-Commissariat Au Plan" https://www.hcp.ma/ (last access: 22 March 2021) (HCP, 2021) via direct deposit upon presentation of the deposit receipt or by sending a request through http: //www.chafafiya.ma/demande.php (last access: 22 March 2021).
Author contributions. NS prepared the paper with contributions from all co-authors. NS and OR designed the study. OR carried out the computational experiments. NS investigated and visualized the results and developed the statistical analysis. NS wrote the manuscript with support from NEM and OR. NEM added crucial suggestions to the paper and contributed to the editing and revision of the manuscript. IK and NK supervised the project. All authors approved the final publication.
Competing interests. The authors declare that they have no conflict of interest.