Introduction

Understanding the relationship between fish populations and their dynamic environment is fundamental for pelagic fish stock assessment, ecosystem management, and conservation1,2. The distribution of highly migratory large pelagic fishes (e.g., tunas, sharks, or billfishes) is related to specific environmental conditions that fulfill each species’ requirements, which may change throughout their life history3,4. These include predation5, larval survival6, reproduction4, and movements7.

Yellowfin tuna, Thunnus albacares, is a large pelagic fish inhabiting all ocean’s tropical and subtropical waters8. This apex predator plays a vital role in regulating energy flows between different trophic levels9 and supports highly valuable fisheries worldwide. It accounts for ~ 25% of the annual global tuna catch, making it the second most fished tuna species globally10. In the Atlantic Ocean, it is managed as a single panmictic (i.e., mixed) stock, and according to the most recent assessment, it is not overfished11. In the Gulf of Mexico (GoM), this species represents an important component of the United States and Mexican commercial and recreational fisheries, mainly during the summer months, with more than 2000-t landings per year by both fisheries12,13. In the southern GoM, within the Mexican Exclusive Economic Zone (Fig. 1), yellowfin tuna is the main target species of the Mexican commercial longline fleet12.

Figure 1
figure 1

Locations of yellowfin tuna fishery longline sets deployed by the Mexican fleet (yellow circles; n = 26,515) in the Gulf of Mexico. The dark blue line shows the boundary between Mexican and U.S. Exclusive Economic Zones (EEZ). Black lines are the smoothed 200-, 2000-, and 3000-m isobaths. The map was created with R’s package “ggplot2” (https://ggplot2.tidyverse.org/), using the coastlines and political boundaries from the Global Self-consistent, Hierarchical, High-resolution Geography Database (http://www.soest.hawaii.edu/pwessel/gshhg/), and the topography data from the Scripps Institution of Oceanography’s Satellite Geodesy (https://topex.ucsd.edu/marine_topo/).

The distribution and movement patterns of tunas are influenced by factors such as temperature and dissolved oxygen3, spawning activity, and prey availability14,15. Yellowfin tuna prefer warm waters (> 20 °C)15,16, associated with highly productive areas influenced by temperature fronts and mesoscale eddies7,17. Vertically, the species prefers shallow warm waters of the mixed layer above the thermocline (18–31°), although occasionally, they perform short deep dives (> 300 m)16,18.

In the northern GoM, yellowfin tuna exhibits some degree of residency15,17, although part of the population performs large-scale movements between the northern and southern GoM related to feeding and seasonal spawning12,19,20,21. Year-round catches of yellowfin tuna by the Mexican longline fleet confirm the central and southern GoM as important core habitats12. In the GoM, the species seems to be less sensitive to environmental variability than other tunas13, besides a stable association to warm (28–30 °C) and oligotrophic waters, as well as to positive sea level anomalies associated to anticyclonic circulation19. Nevertheless, the spatiotemporal distribution of yellowfin tuna and its main environmental drivers in the GoM remain unclear.

The GoM is a large, semi-enclosed basin connected to the Atlantic Ocean and the Caribbean Sea. This region is influenced by mesoscale circulation that modulates the productivity in the area (Fig. 1, p. 1473 in22). Its circulation in oceanic waters is dominated by the Loop Current, which flows northward through the Yucatan Channel and makes an anticyclonic turn before exiting through the Florida Straits23. The Loop Current shows different degrees of intrusion into the GoM and generates cyclonic and anticyclonic eddies24. In contrast, in the southern GoM, the large Bay of Campeche (south of 22° N) exhibits a semi-permanent cyclonic eddy25 and seasonal cross-shelf transport26,27 that supports high biological productivity, leading to high prey biomass for top predators. It is also influenced by the freshwater discharge of the Grijalva-Usumacinta River System and regional upwelling that also enhances productivity28.

Species distribution models of large pelagic fishes have been extensively used to predict suitable areas29, identify hotspots1,30, and assess the potential impacts of climate change31 and of anthropogenic events such as oil spills30,32 or fishing mortality13,19. We implemented mixed-effects Bayesian spatial models with an integrated nested Laplace approximation (INLA)33, which has demonstrated to be a great alternative for modeling species distributions and environmental preferences1,34, giving results in terms of posterior probability distributions instead of fixed values, and incorporating several types of random effects of both spatial and temporal nature, with reduced computational times35,36.

This study aimed to predict the spatiotemporal distribution of yellowfin tuna in the GoM as a function of environmental conditions. We tested several model structures with combinations of environmental covariates, based on the hypothesis that this highly migratory tuna shows affinities for ocean fronts and eddies, and it uses specific regions of high primary and secondary production and, therefore, higher prey availability. We also expected variations of habitat suitability at seasonal, interannual, and long-term scales associated with the species' life history and the GOM’s environmental dynamics. We used the best model results to produce monthly spatial predictions of the species’ habitat suitability for contrasting years and for a 10-year climatology.

Results

Exploratory analysis of the fishery data showed that the Mexican longline fishery is focused on adult yellowfin tuna (Supplementary Fig. S4). The sex ratio showed that more males were caught from 2012 to 2019 (Supplementary Table S1). The highest mean CPUE occurred in December (18.47 ± 4.59) and May (16.09 ± 2.85), and the lowest in February (10.55 ± 1.95) and September (9.91 ± 1.95) (Supplementary Fig. S5). Interannual variability showed that the highest CPUE occurred in 2016 (17.66 ± 3.22), while the lowest was in 2019 (11.41 ± 2.53) (Supplementary Fig. S6).

The number of yellowfin tuna caught in a single longline set varied between 0 and 105. Only 4% (952) of the sets had zero catches, and there was no need to use zero-inflated likelihoods (Supplementary Fig. S7). None of the predictors showed outliers (Supplementary Fig. S8). Variance inflation factors (VIF > 3) and correlation matrix values (|r|> 0.6) indicated collinearity between CHL and CHLSA, and ADT and ADTSA. Those pairs were not included in the same model structure (Supplementary Files: Fig. S9 and Table S2). For all competing models, the negative binomial likelihood represented better the response variable rather than the Poisson distribution. We compared the best negative binomial model (Table 1) with the best Poisson model and found that the negative binomial (WAIC = 157,513.10) had a better fit than the respective Poisson model (WAIC = 207,357.60, ΔWAIC = 49,844.5).

Table 1 The best five models of yellowfin tuna catches (µy) as a function of habitat, sorted by ascending Watanabe-Akaike Information Criterion (WAIC).

The best model included the ADTSA (index of mesoscale activity), bottom depth, and ADTIA with third-degree polynomials as smoother functions, a monthly seasonal random effect, and the spatial effect. The second-best model had the same variables with second-degree polynomials as smoother functions and had a small difference in WAIC. The ADTSA showed a clear seasonal variability and captured the development and movement of cyclonic and anticyclonic eddies within the GoM (Fig. 2). In spring–summer, large anticyclonic eddies (ADTSA > 16 cm) separate from the Loop Current and travel southwestward, reaching the western GoM’s coast around early winter. In the southern GoM, the predominant negative ADTSA suggested the presence of a persistent cyclonic circulation located west of 94°W. This cyclonic eddy is more intense in fall-winter (ADTSA < -16 cm) than in spring–summer.

Figure 2
figure 2

Map of absolute dynamic topography spatial anomalies (ADTSA) in 2013, as an example of an average year at the interannual scale. Black arrows represent the direction and magnitude of geostrophic velocities. Note how the variable captures cyclonic and anticyclonic eddies as they develop and move seasonally within the Gulf of Mexico. The maps were created with R’s package “ggplot2” (https://ggplot2.tidyverse.org/), using the coastlines from the Global Self-consistent, Hierarchical, High-resolution Geography Database (http://www.soest.hawaii.edu/pwessel/gshhg/).

The time series of monthly means of ADT used to estimate the interannual anomalies showed a pronounced seasonal variability and a clear long-term increase in ADT spanning 2000–2020 (Supplementary Fig. S3). This trend represents an increase of 4.8 ± 0.24 cm per decade. The residuals (Fig. 3) showed an interannual variability with oscillation periods of around ~ 2 years. The lowest ADTIA (< -5 cm) was observed in 2010–2011, while 2002 and 2019 exhibited the highest ADTIA (~ 6 cm).

Figure 3
figure 3

ADT interannual anomalies (ADTIA) in the GoM as residuals of the model portrayed in Supplementary Files: Fig. S3.

The posterior partial effects of the best model’s covariates on yellowfin tuna habitat suitability (Fig. 4) showed a clear positive effect of ADTSA, with the highest predictions above + 32 cm, although with a higher degree of uncertainty (Fig. 4A) and a species’ distribution with a preference for oceanic waters with bottom depths > 1000 m (Fig. 4B). On the seasonal scale, the highest habitat suitability occurred in May–August (mid-summer) and December-January (early winter) (Fig. 4C). Interannual partial effects introduced as ADTIA showed higher habitat suitability during years with positive values (up to 3.5 cm) but lower when they exceeded 4 cm (Fig. 4D). Therefore, we chose 2016 as representative of a positive year, 2013 as average, and 2014 as negative for portraying our model predictions (Fig. 3B; Fig. 6; Supplementary Figs. S12, S14, and S16).

Figure 4
figure 4

Partial effects of covariates on yellowfin tuna catch: A) absolute dynamic topography spatial anomalies (ADTSA), B) bottom depth, C) month (seasonal cyclic effect), D) absolute dynamic topography interannual anomalies (ADTIA). Gray-shaded areas represent 95%-credible intervals; the black line is the median effect. The rug lines on the X-axis are the values at each longline set.

In general, climatological spatial predictions showed the highest values of habitat suitability (0.7–1) in oceanic waters of the central and northern GoM (Fig. 5). However, they also indicated that habitat suitability increases in the southern GoM during the summer (May–August) and fall (November–December), as well as a gradual shift towards the northern GoM in the following months (January–April). Interestingly, high suitability values (> 0.6) in the southern GoM, within the Bay of Campeche (south of 22° N), were associated with negative ADTSA (− 20 to − 3 cm; Supplementary Files: Fig. S19), close to the continental shelf off Veracruz and Tabasco. In contrast, during the rest of the year, high habitat suitability values and catches occurred in waters with mostly positive ADTSA, between − 20 and 40 cm. High suitability values (> 0.7) were also predicted during the summer months in the northern GoM. However, the standard deviations of the predictions showed high uncertainty in that area, given the lack of observations for the model (Fig. 5).

Figure 5
figure 5

Climatological predictions of yellowfin tuna habitat suitability (colorimetric scale). The high quality (HQH) habitat percentage is the portion of the Gulf of Mexico with habitat suitability > 0.6. The blue line in the boundary between Mexican and U.S. Exclusive Economic Zones. Floating dots are the locations of all longline sets (black dots). The maps were created with R’s package “ggplot2” (https://ggplot2.tidyverse.org/), using the coastlines and political boundaries from the Global Self-consistent, Hierarchical, High-resolution Geography Database (http://www.soest.hawaii.edu/pwessel/gshhg/).

The spatial extent of high-quality habitat during 2016 (positive ADTIA) was broader (up to 16%), showing more localized predictions than those of 2013 (average ADTIA) or 2014 (negative ADTIA). An extensive reduction in suitable areas was predicted under average and negative ADTIA, with high-quality habitat ranging between 0 and 5%. However, high-quality habitat predictions occurred mainly in the central and northern GoM (Fig. 6).

Figure 6
figure 6

Predictions of yellowfin tuna habitat suitability for years (strip labels) with negative, average, and positive interannual anomalies of the mean absolute dynamic topography (i.e., ADTIA). The high-quality habitat (HQH) percentage represents the portion of the Gulf of Mexico with habitat suitability > 0.6. The blue line is the boundary between Mexican and U.S. Exclusive Economic Zones. Floating dots are the locations of longline sets. The maps were created with R’s package “ggplot2” (https://ggplot2.tidyverse.org/), using the coastlines and political boundaries from the Global Self-consistent, Hierarchical, High-resolution Geography Database (http://www.soest.hawaii.edu/pwessel/gshhg/).

Discussion

Our results suggest that the spatiotemporal distribution of yellowfin tuna is linked mainly to mesoscale oceanographic features in oceanic waters of the GoM, especially towards boundary regions between cyclonic and anticyclonic eddies, but with a preference for the latter. The species’ habitat suitability responded positively to intermediate and positive values of ADTSA. The latter indicates a deeper thermocline and often anticyclonic circulation (convergent zones), whereas negative ADTSA values mean thermocline shoaling and cyclonic circulation (divergent zones)37,38. In contrast to other dynamic variables such as SST or CHL, ADT reflects changes in the structure of the entire water column39 since it responds to the overall density and, therefore, the volume, triggered by pycnocline deepening or shoaling, as well as by stratification or mixing38,40. Regions with deep pycnocline exhibit warm and less dense water in the upper layer, which increases the volume of the water column, and thus, the ADT. In contrast, the diverging regions show deep, cold, and denser waters reaching the upper layer, shoaling the pycnocline, and decreasing the volume and height of the water column37,41.

Higher habitat suitability predictions in oceanic waters occurred mostly towards positive ADTSA, which implies a preference for areas with a deeper thermocline, specifically those associated with Loop-Current-derived anticyclonic eddies, also known as warm-core eddies. The convergence effect of anticyclonic eddies transports warm and oxygen-rich water from the surface into the mesopelagic zone and drives zooplankton and micronekton from the eddy’s periphery towards its core, aggregating biomass42,43. There, the consequent increase in mesopelagic prey abundance may attract top predators such as tunas and sharks, leading to the formation of ecological hotspots where these predators aggregate and prey on small organisms42,44. In addition, warm and oxygen-enriched waters along the cores of anticyclonic eddies may alleviate physiological constraints for adult yellowfin tuna during deep-feeding dives, like what has been observed in white sharks (Carcharodon carcharias)45.

On the other hand, at the edges of anticyclonic eddies, vertical shear leads to upward vertical nutrient transport, supporting higher productivity and biomass, as well as zooplankton aggregation46,47. Previous studies have pointed to a finer-scale spatial utilization of these mesoscale features by yellowfin tuna. Specifically, the species that use the margins of anticyclonic eddies during their seasonal migrations within the GoM likely allows them to feed in areas of high prey aggregation7. These edges could also present an energetic advantage since their geostrophic velocities are higher (Fig. 2), which would reduce drag for large predators during locomotion48, helping them to exceed the energetic demand associated with swimming during foraging or migration.

During most of the year, the catches occurred mainly in the central GoM and were associated with positive ADTSA indicative of anticyclonic eddies (Supplementary Fig. S19). However, from May to August, catches were associated with areas of negative ADTSA (− 20 to − 3 cm; Supplementary Fig. S19), which suggests a preference of the species for cooler, higher-nutrient waters typical of cyclonic eddy cores49,50 during the strongly stratified summer. In addition, freshwater inflow from the Grijalva-Usumacinta River System, which is highest in June-December, increases the concentration of nutrients in the oceanic region, enhancing regional productivity28,51. All these processes produced a seasonal variation in yellowfin tuna habitat suitability and considering that this fishery is mainly based on adult individuals (Supplementary Fig. S4), it could be related to the species' reproductive behavior. In Mexican waters, the presence of males and females at all stages of gonadal maturation occurs throughout the year52. However, the summer peak in catch per unit effort (Supplementary Fig. S5) off the coast of Veracruz is likely a consequence of the aggregation of the species in the area for spawning and foraging, as suggested by the occurrence of females mainly in advanced maturity, pre-spawning, and spawning stages in May-August52. Hence, the seasonal preference for specific regions of the GoM may favor larval survival and recruitment.

Our models predicted high habitat suitability for yellowfin tuna in the northern GoM throughout the year, although catch data were limited to the Mexican Exclusive Economic Zone (Fig. 5). This region has been increasingly recognized as important habitat, not only for foraging individuals captured in the southern GoM20, but also as a spawning ground for yellowfin tuna6, as well as for other tunas32, swordfish (Xiphias gladius)53, and billfishes54. Tagging studies also suggest that yellowfin tuna exhibits some degree of residency in the northern GoM17, although there is also evidence of connectivity with the southern GoM21. The northern GoM is highly productive and dominated by the Loop Current and the formation of anticyclonic eddies mainly in summer (July–September), due at least in part to the forcing of seasonal winds in the Caribbean Sea and GoM55,56. These mesoscale eddies interact with the inflow from the Mississippi-Atchafalaya River System57 leading to offshore transport of nutrient-enriched waters and relatively high primary and secondary production28. In addition, higher wind-driven mixing during the winter months leads to higher surface and integrated chlorophyll-a concentrations in the northern GoM, compared to those of the central and southern GoM58,59. Intrinsic isotope tracers have also shown that both the northern and southern GoM are important foraging regions for yellowfin tunas caught by the Mexican longline fleet20. By the end of the summer, the Mexican fleet moves northward, close to U.S. waters, presumably “following” the abundance of yellowfin tuna12,20, which agrees with our climatological predictions of high habitat suitability for both regions.

Our best model also included the interannual variability of ADT as an important predictor. This scale of variation in the GoM is spatially and temporally dynamic24,58, and is likely related to the level of intrusion of the Loop Current into the northern GoM each year, and the frequency with which eddies are released24. During the highest ADTIA (i.e., 2016), the GoM exhibited a greater extent of high habitat suitability for yellowfin tuna compared to those with average (i.e., 2013) or lowest (i.e., 2014) interannual anomalies (Fig. 6). Since 2003, the Loop Current has shown a greater level of intrusion, which implies that larger volumes of oligotrophic waters from the Caribbean Sea have been transported to the central and western GoM56. This would also increase the number of anticyclonic eddies formed per year24 and, consequently, the positive long-term increase in the mean annual ADT within the GoM we observed (Fig. 3). Therefore, the spatial dynamics of the Loop Current and its eddies could be an important determinant of the interannual variations in the habitat suitability of yellowfin tuna, as it affects oceanographic conditions throughout the GoM24,56. Nevertheless, it should be noted that positive ADTIA, as well as the positive long-term trend of ADT, may be attributed to more anticyclonic activity in the GoM56 and an increase in the thermocline depth or surface warming and vertical stratification over time58, which could result in lower primary production. Interestingly, the positive partial effects of high ADTIA on yellowfin tuna catches occur only up to + 3.5 cm. Above that threshold, the effect was negative (Fig. 4D). Even though the ADT was not included in the best model, its positive trend may lead to future shifts in suitable habitats for yellowfin tuna in the GoM and calls for further research effort.

The spatial random effect map (Supplementary Fig. S18) showed a similar pattern to the habitat suitability predictions, which suggests that the variability of the fishing data for yellowfin tuna could not be explained only by the environmental predictors in the model60. Including the spatial random effect improves the fits of the models and may reflect the effect of other unconsidered factors that are affecting the species' spatial distribution.

Although high habitat suitability predictions occurred mainly in waters deeper than 1000 m, there were some exceptions. In addition to the Bay of Campeche in the southern GoM, high values were also predicted off the midwestern continental shelf (Fig. 5), influenced by the periodic arrival of Loop-Current-derived anticyclonic eddies26 and by upwelling-favorable winds over the shelf and slope from April to August61. Average to high values of habitat suitability were also predicted close to the northern coast of the GoM, influenced by the Mississippi-Atchafalaya River System, particularly during early summer (May–June) and winter (November–December) (Fig. 5). This region has been described as important for both larvae and adult yellowfin tuna17,21,62. The average habitat suitability values predicted for this area may be related to the offshore transport of low-salinity and nutrient-rich waters from the Mississippi River57. This transport enhances primary production and biomass aggregation in cyclonic and anticyclonic mesoscale eddies, respectively28,57.

Our model results identified areas of high habitat suitability for yellowfin tuna and provide a baseline for evaluating future impacts of anthropogenic and natural disturbances common to this region (e.g., oil spills, hurricanes) and for predicting the potential effects of climate change on the species. Understanding the effects of environmental conditions and identifying the essential habitats of highly migratory fishes is critical in ecosystem-based fisheries management, especially when their distributions are highly dynamic63. This study’s analytic and ecological framework might help develop dynamic fisheries management strategies between Mexico and the U.S.

Conclusions

This study improved the understanding of the spatiotemporal distribution of yellowfin tuna in the GoM using fishery-dependent data. Further studies might consider encompassing fishery data from all commercial longline fisheries that target yellowfin tuna in the GoM.

The Bayesian INLA framework allowed us to incorporate several sources of variability in the competing models, including spatial and temporal effects. By providing realistic estimations of specific associations between yellowfin tuna catches and oceanographic conditions, we gained a deep understanding of the main drivers of yellowfin tuna distribution. As it was shown, high habitat suitability for yellowfin tuna is strongly linked to the mesoscale structure and dynamics of the water column they inhabit.

In addition, our model predictions highlight the importance of the northern GoM as an essential year-round habitat for yellowfin tuna. However, monthly predictions showed that the habitat suitability shifts to southern GoM during the summer, which may be associated with the aggregation of yellowfin tuna in the area for spawning. The Bayesian INLA framework can be used more widely to complement alternative models based on fishery-independent surveys, which are less biased but limited spatially and temporally.

Methods

All data processing, analyses, and graphics described below were performed in R, version 4.1.264.

Fishery data

Yellowfin tuna catch and effort data were collected by fishery observers onboard Mexican commercial longline vessels that operate year-round within Mexico’s Exclusive Economic Zone in the GoM, limited eastward to 88° W (Fig. 1). Fishery observers registered 100% of fishing pelagic longline operations as part of the National Program for Tuna Exploitation and Dolphin Protection (https://www.fidemar.org). The database used in this study included the number of yellowfin tuna caught, date, geographic position, size, sex, and fishing effort (i.e., number of hooks) for the longline sets deployed from 2012 to 2019 (n = 26,515 sets). However, sex information was not available for all the sets. We discarded sets with wrong or missing geographic coordinates (n = 3). In addition, an exploratory analysis of the temporal variability in the catch per unit effort (CPUE, fish per 100 hooks), size and sex distribution of yellowfin tuna was performed.

Environmental data

We considered the following dynamic environmental variables as potential predictors of habitat suitability for yellowfin tuna: sea surface temperature (SST, °C), sea surface chlorophyll-a concentration (CHL, mg m−3), and the absolute dynamic topography of the ocean surface (ADT, cm) (Table 2). These variables were selected as they have been previously associated with the abundance and distribution of several marine species65,66,67 and because of their adequate spatial and temporal coverage to pair with our fisheries data. In addition, since yellowfin tuna prefers the pelagic oceanic environment65, we included the bottom depth (m) deterministically in all model structures.

Table 2 Environmental data used to model the spatio-temporal habitat suitability of yellowfin tuna.

Original data values of dynamic environmental variables include several scales of temporal variability that typically mask processes such as the mesoscale (e.g., eddies and thermal fronts). To identify these spatial variations, we estimated spatial anomalies of each variable (i.e., SSTSA, ADTSA, and CHLSA). First, for any given moment in the dataset (i.e., a time layer), we estimated the mean value of the original variable within the study area polygon (Fig. 1). Then, we subtracted that mean from the original value at each cell (i.e., pixel) within the polygon during that exact moment. This procedure effectively removes all scales of time variations because the resulting mean values change at the original temporal resolution of the variable, keeping only the spatial gradients (e.g., Supplementary Fig. S1). These environmental spatial anomalies have proven useful in addressing habitat suitability predictions for dolphins in the northern Humboldt Current System68.

All variables, including the spatial anomalies, were scaled to a 0.25° resolution before pairing each longline set to its closest variable cell in space and time. Averaging was used to reduce the original spatial resolution of all variables to 0.25-degree cells from the original resolution (Table 2). The assigned values represented 10-day averages of SST and ADT, and 16-day averages of CHL, before the logline set. CHL values were transformed to a logarithmic scale.

Finally, to examine the potential effects of interannual variability on yellowfin tuna habitat suitability, we estimated the residuals of a time series analysis of monthly means of SST (2000–2021) and ADT (2000–2020) within the study area, which included the seasonal variability and the long-term trend. We preferred this approach instead of using common indices of global climate variability, this allows the determination of the dynamic structure and changes in the mesoscale activity in the region. These residuals would represent the interannual anomalies, hereafter SSTIA and ADTIA, and were included as additional potential covariates in the competing model structures (Supplementary Figs. S2 and S3).

Modeling approach

Before running the models, we looked for correlations among predictors and proposed possible likelihoods for the response variable. The presence of outliers was inspected (Supplementary Files: Figs. S7 and S8)60. The former was evaluated with Pearson’s correlation coefficients using the R package corrplot, and collinearity was computed using the generalized variance inflation factor (GVIF). When a pair of variables had high correlation values (Pearson correlation |r|> 0.6) or high variance inflation factor (GVIF > 3), only one of them was included in the same competing model (Supplementary Fig. S9 and Table S2). Scatterplots of yellowfin tuna count against each potential predictor were used to explore nonlinear relationships. Given the complexity of some relationships between continuous covariates and the response variable, we used splines and polynomial functions as smoothing techniques within some competing models.

The number of yellowfin tuna caught on a longline set was considered a count variable; hence, it was used as a response variable. This allowed us to test different likelihoods, like Poisson and negative binomial with logarithmic link functions72. Since the number of yellowfin tuna caught in each longline set depends on the effort applied (i.e., the number of hooks), we included an offset variable (E) that balanced the response variable by introducing a known component of the likelihood’s mean:

$${E}_{i}=\frac{\sum {YFT}_{i}}{\sum {H}_{i}}\cdot {H}_{i}\hspace{1em}i=1,...,n$$
(1)

where YFT is the number of fish caught, and H represents the number of hooks deployed in each longline set, i. A Bayesian hierarchical modeling approach73 was used to obtain our results in terms of probabilities. Since we needed to test several competing structures and random effects, posterior distributions of model parameters were estimated using the integrated nested Laplace approximation (INLA)33 and the package “INLA” in R74. This approximation is less computationally demanding than Markov chain Monte Carlo methods and allows for rapid inference and high regression complexity, such as cyclic temporal and triangular spatial autocorrelation effects.

To account for spatial dependency between observations, we included a spatial autocorrelation random effect (W) in all competing models. This was done by applying stochastic partial differential equations (SPDE)33 to approximate the Gaussian Markov random field with the Matérn covariance function36,60. This involves dividing the study area into an irregular spatial triangular mesh (i.e., the Delaunay triangularization) covering the entire geographic coordinates of the longline sets (Supplementary Fig. S10)60. After accounting for the alternative combinations of environmental variables, smoothing terms, and likelihoods, 228 competing models were tested. Equation 2 portrays the general structure of the models using an example with a negative binomial likelihood (intercept and residuals are omitted):

$$ \begin{gathered} \mu_{i} = \left[ {\mathop \sum \limits_{{\begin{array}{*{20}c} {j = 1} \\ {k = 1} \\ \end{array} }}^{{\begin{array}{*{20}c} {j = ns} \\ {k = nc} \\ \end{array} }} \beta_{j} \cdot X_{k,i} } \right] + W_{i} + \gamma \cdot M_{i} \quad i = 1,...,n \hfill \\ W_{i} \sim N\left( {0,\sum } \right) \hfill \\ \end{gathered} $$
(2)

where the expected number of yellowfin tuna (\(\mu \)) in each longline set (i) is a function of several combinations (k) of environmental variables (X). β represents any smoothing function or polynomial applied to each covariate. The term \({W}_{i}\) in the model represents the spatially structured random effect for each longline set i, whose hyper distribution is Normal with mean 0 and a covariance matrix ∑ that accounts for the spatial autocorrelation among the observations at nearby locations60. γ represents a seasonal (i.e., cyclical) random effect of the month (M). Default Gamma distributions were used as vague priors for all unknown parameters. Model selection was based on the lowest Watanabe-Akaike Information Criterion (WAIC).

Habitat suitability predictions

Since our focus was understanding and quantifying the species-environment relationships, habitat suitability maps were produced from the best model's posterior medians and standard deviations of yellowfin tuna catch predictions, scaled to 1. Monthly predictions were made for specific years and for the climatology (2012–2019) of the covariates. A percentage of high-quality habitat (habitat suitability ≥ 0.6) was estimated relative to the total study area for each prediction map. Finally, we mapped predictions for years with the highest, lowest, and average ADTIA for understanding interannual responses of habitat suitability.