Last updated: 2020-07-28

Checks: 7 0

Knit directory: Cant_eMLR/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20200707) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 7fe0338. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rproj.user/
    Ignored:    analysis/figure/
    Ignored:    data/GLODAPv2_2016b_MappedClimatologies/
    Ignored:    data/GLODAPv2_2020/
    Ignored:    data/World_Ocean_Atlas_2018/
    Ignored:    data/eMLR/
    Ignored:    data/pCO2_atmosphere/
    Ignored:    dump/
    Ignored:    output/figure/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/eMLR.Rmd) and HTML (docs/eMLR.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 7fe0338 jens-daniel-mueller 2020-07-28 rmse output, 10 best models selected
html 4eebe14 jens-daniel-mueller 2020-07-24 Build site.
Rmd 12f9ef2 jens-daniel-mueller 2020-07-24 started neutral density calculation
html 2e08795 jens-daniel-mueller 2020-07-24 Build site.
html 61a1a48 jens-daniel-mueller 2020-07-24 Build site.
Rmd 864a6e3 jens-daniel-mueller 2020-07-24 merged predictor data sets
html 7f51d57 jens-daniel-mueller 2020-07-24 Build site.
Rmd 4a8deb2 jens-daniel-mueller 2020-07-24 corrected false to FALSE
html 2df2065 jens-daniel-mueller 2020-07-23 Build site.
Rmd fa350cf jens-daniel-mueller 2020-07-23 predictor correlation plots, bin2d map plots
html 9d1d67d jens-daniel-mueller 2020-07-23 Build site.
Rmd 3b6658b jens-daniel-mueller 2020-07-23 predictor correlation plots, bin2d map plots
html 2e3691a jens-daniel-mueller 2020-07-23 Build site.
Rmd 26bdc0a jens-daniel-mueller 2020-07-23 new era label, predictor correlation check started
html 556e6cc jens-daniel-mueller 2020-07-23 Build site.
Rmd 1ce10e7 jens-daniel-mueller 2020-07-23 read full GLODAP Cant data set rather than joining again
Rmd 0cb3db2 jens-daniel-mueller 2020-07-23 started MLR fitting
Rmd cf8bc74 jens-daniel-mueller 2020-07-23 started MLR fitting
Rmd 0252675 jens-daniel-mueller 2020-07-23 modeling started
html fdfa7b9 jens-daniel-mueller 2020-07-22 Build site.
Rmd 6416150 jens-daniel-mueller 2020-07-22 cut gamma into slabs
html 0cecfbf jens-daniel-mueller 2020-07-22 Build site.
Rmd 48cf01f jens-daniel-mueller 2020-07-22 defined isoneutral slabs
Rmd 32ed280 jens-daniel-mueller 2020-07-22 sign in Cstar delta plot
html 44334f8 jens-daniel-mueller 2020-07-22 Build site.
Rmd c398496 jens-daniel-mueller 2020-07-22 plot update
html 0ff656b jens-daniel-mueller 2020-07-22 Build site.
Rmd 4b81f16 jens-daniel-mueller 2020-07-22 plot update
html 23038c8 jens-daniel-mueller 2020-07-22 Build site.
Rmd 09b3ca8 jens-daniel-mueller 2020-07-22 eding plain text, restructuring some code
html ac6308d jens-daniel-mueller 2020-07-22 Build site.
Rmd 77c9642 jens-daniel-mueller 2020-07-22 formatted plots
html 40b99cb jens-daniel-mueller 2020-07-22 Build site.
Rmd 8a49adf jens-daniel-mueller 2020-07-22 adjustment to reference year implemented
html bb9c002 jens-daniel-mueller 2020-07-21 Build site.
Rmd d2ed0f8 jens-daniel-mueller 2020-07-21 harmonied lat lon labeling
html e1488e6 jens-daniel-mueller 2020-07-19 Build site.
Rmd e688d6e jens-daniel-mueller 2020-07-19 formating
html f7ea007 jens-daniel-mueller 2020-07-19 Build site.
Rmd 0992256 jens-daniel-mueller 2020-07-19 plotted individual Cstar terms
html 22b588c jens-daniel-mueller 2020-07-18 Build site.
html fdfe5a0 jens-daniel-mueller 2020-07-17 Build site.
Rmd f7485c6 jens-daniel-mueller 2020-07-17 re run als emlr
html 56c3ed9 jens-daniel-mueller 2020-07-14 Build site.
html 74d4abd jens-daniel-mueller 2020-07-14 Build site.
html 1c511ce jens-daniel-mueller 2020-07-14 Build site.
Rmd e03016e jens-daniel-mueller 2020-07-14 split read in per data set
html 45ed0ea jens-daniel-mueller 2020-07-14 Build site.
Rmd dc1c56e jens-daniel-mueller 2020-07-14 tref calculated
html b1ece68 jens-daniel-mueller 2020-07-13 Build site.
Rmd 8eb1b22 jens-daniel-mueller 2020-07-13 cleaned data base file
Rmd 9e8f7f1 jens-daniel-mueller 2020-07-13 untracked changes
html 79312b2 jens-daniel-mueller 2020-07-13 Build site.
Rmd ffbc2a1 jens-daniel-mueller 2020-07-13 added Cstar calculation
html 090cfeb jens-daniel-mueller 2020-07-13 Build site.
Rmd e6a2ade jens-daniel-mueller 2020-07-13 added Cstar calculation

library(tidyverse)
library(lubridate)
library(patchwork)
library(broom)
library(GGally)
library(olsrr)

1 Required data

Required are:

  • clean version of GLODAPGLODAPv2.2020
  • C_ant from GLODAPv2_2016b_MappedClimatologies
  • annual mean atmospheric pCO2
GLODAP <- read_csv(here::here("data/GLODAPv2_2020/_summarized_data_files",
                              "GLODAPv2.2020_clean.csv"))

Cant_clim <- read_csv(here::here("data/GLODAPv2_2016b_MappedClimatologies/_summarized_files",
                                 "Cant.csv"))

co2_atm <- read_csv(here::here("data/pCO2_atmosphere/_summarized_data_files",
                               "co2_atm.csv"))

2 C*

2.1 Stoichiometric ratios

rCP <- 117
rNP <- 16

The stoichiometric nutrient ratios for the production and mineralization of organic matter were set to:

  • C/P: 117
  • N/P: 16

2.2 Calculation

GLODAP <- GLODAP %>% 
  mutate(rCP_phosphate = -rCP * phosphate,
         talk_05 = -0.5 * talk,
         rNP_phosphate_05 = -0.5 * rNP * phosphate,
         Cstar = tco2  + rCP_phosphate  + talk_05  + rNP_phosphate_05)

3 Reference year adjustment

The scaling factor for the reference year adjustment is an apriori estiamte of Cant at a given location and depth. Here, Cant from the GLODAP mapped Climatology was used.

Note that eq. 6 in Clement and Gruber (2018) misses pCO2 pre-industrial in the denominator. Here we use the equation published in Gruber et al. (2019).

3.1 Merge GLODAP data set with…

3.1.1 … Cant

Cant_clim <- Cant_clim %>% 
  drop_na()

# GLODAP_Cant_full <- full_join(GLODAP, Cant_clim)
# 
# GLODAP_Cant_full %>% write_csv(here::here("data/GLODAPv2_2020/_summarized_data_files",
#                                           "GLODAP_Cant_full.csv"))

GLODAP_Cant_full <- read_csv(here::here("data/GLODAPv2_2020/_summarized_data_files",
                                          "GLODAP_Cant_full.csv"))

The mapped Cant product was merged with GLODAP observation by:

  • using an identical 1x1° horizontal grid
  • linear interpolation of Cant from standard to sampling depth
GLODAP_Cant_observations_available <- GLODAP_Cant_full %>% 
  group_by(lat, lon) %>% 
  mutate(n_GLODAP = sum(!is.na(Cstar))) %>% 
  ungroup() %>% 
  filter(n_GLODAP > 0) %>% 
  select(-n_GLODAP)

rm(GLODAP_Cant_full)

GLODAP_Cant_observations_available <- GLODAP_Cant_observations_available %>% 
  group_by(lat, lon) %>% 
  arrange(depth) %>% 
  mutate(Cant_int = approxfun(depth, Cant, rule = 2)(depth)) %>% 
  ungroup()

ggplot() +
    geom_path(data = GLODAP_Cant_observations_available %>% 
              filter(lat == 48.5, lon == 165.5, !is.na(Cant)) %>% 
              arrange(depth),
            aes(Cant, depth, col = "mapped")) +
  geom_point(data = GLODAP_Cant_observations_available %>% 
              filter(lat == 48.5, lon == 165.5, !is.na(Cant)) %>% 
              arrange(depth),
            aes(Cant, depth, col = "mapped")) +
  geom_point(data = GLODAP_Cant_observations_available %>% 
              filter(lat == 48.5, lon == 165.5, date == ymd("2018-06-27")),
            aes(Cant_int, depth, col = "interpolated")) +
  scale_y_reverse() +
  scale_color_brewer(palette = "Dark2", name = "") +
  labs(title = "Cant interpolation to sampling depth - example profile")

GLODAP <- GLODAP_Cant_observations_available %>% 
  filter(!is.na(Cstar)) %>% 
  mutate(Cant = Cant_int) %>% 
  select(-Cant_int)

rm(GLODAP_Cant_observations_available, Cant_clim)

3.1.2 … Atmospheric pCO2

GLODAP <- left_join(GLODAP, co2_atm)

3.2 Calculate adjustment

GLODAP <- GLODAP %>% 
  group_by(era) %>% 
  mutate(tref = median(year)) %>% 
  ungroup()

tref <- GLODAP %>% 
  group_by(era) %>% 
  summarise(year = median(year)) %>% 
  ungroup()

co2_atm_tref <- right_join(co2_atm, tref) %>% 
  select(-year) %>% 
  rename(pCO2_tref = pCO2)

GLODAP <- full_join(GLODAP, co2_atm_tref)

rm(co2_atm, co2_atm_tref, tref)

GLODAP <- GLODAP %>% 
  mutate(Cstar_tref_delta = 
           ((pCO2 - pCO2_tref) / (pCO2_tref - 280)) * Cant,
         Cstar_tref = Cstar - Cstar_tref_delta)

3.3 Control plots

GLODAP %>% 
  ggplot(aes(Cstar_tref_delta)) +
  geom_histogram()

GLODAP %>% 
  sample_n(10000) %>% 
  ggplot(aes(year - tref, Cstar_tref_delta, col=Cant)) +
  geom_point() +
  scale_color_viridis_c() +
  labs(title = "random subsample 1e4")

4 Selected section plots

Selected sections are plotted to demonstrate the magnitude of various parameters and corrections relevant to C*.

cruises_meridional <- c("1041")

# cruises_meridional <- c("1041","1042", "260",
#                         "2011", "393", "1031", "394", "395",
#                         "1088", "983")

# cruises_zonal <- c()

GLODAP_cruise <- GLODAP %>% 
  filter(cruise %in% cruises_meridional)
bbox <- c(
  "xmin" = min(GLODAP_cruise$lat),
  "ymin" = min(GLODAP_cruise$depth),
  "xmax" = max(GLODAP_cruise$lat),
  "ymax" = max(GLODAP_cruise$depth)
)

grd_template <- expand.grid(
  lat = seq(from = bbox["xmin"], to = bbox["xmax"], by = 1),
  depth = seq(from = bbox["ymin"], to = bbox["ymax"], by = 50) # 20 m resolution
)

crs_raster_format <- " +proj=utm  +zone=33  +ellps=GRS80  +towgs84=0,0,0,0,0,0,0  +units=m  +no_defs"

grd_template_raster <- grd_template %>% 
  dplyr::mutate(Z = 0) %>% 
  raster::rasterFromXYZ( 
    crs = crs_raster_format)


# Generalized Additive Model
fit_GAM <- mgcv::gam( # using {mgcv}
  gamma ~ s(lat, depth),      # here come our X/Y/Z data - straightforward enough
  data = GLODAP_cruise      # specify in which object the data is stored
)

# Generalized Additive Model
interp_GAM <- grd_template %>% 
  mutate(Z = predict(fit_GAM, .)) %>% 
  raster::rasterFromXYZ(crs = crs_raster_format)

df <- raster::rasterToPoints(interp_GAM) %>% as_tibble()
colnames(df) <- c("X", "Y", "Z")
  
ggplot(df, aes(x = X, y = Y, fill = Z, z = Z))  +
  geom_raster()  +
  geom_contour(col="white")  +
  ggtitle(label = "interp GAM")  +
  scale_fill_viridis_c()  +
  scale_y_reverse() +
  coord_cartesian(expand = 0)
mapWorld <- borders("world", colour = "gray60", fill = "gray60")

GLODAP_cruise %>%
  arrange(date) %>% 
  ggplot(aes(lon, lat)) +
  mapWorld +
  geom_path() +
  geom_point(aes(col = date)) +
  coord_quickmap(expand = 0) +
  scale_color_viridis_c(trans = "date") +
  labs(title = paste("Cruise year:", mean(GLODAP_cruise$year))) +
  theme(legend.position = "bottom")

lat_section <- 
GLODAP_cruise %>%
  ggplot(aes(lat, depth)) +
  scale_y_reverse() +
  scale_color_viridis_c() +
  theme(legend.position = "bottom")

lat_section +
  geom_point(aes(col = tco2))

lat_section +
  geom_point(aes(col = talk))

lat_section +
  geom_point(aes(col = phosphate))

lat_section +
  geom_point(aes(col = rCP_phosphate))

lat_section +
  geom_point(aes(col = talk_05))

lat_section +
  geom_point(aes(col = rNP_phosphate_05))

lat_section +
  geom_point(aes(col = Cstar))

lat_section +
  geom_point(aes(col = Cant))

lat_section +
  geom_point(aes(col = -Cstar_tref_delta))

rm(mapWorld, lat_section, GLODAP_cruise)

5 MLR

5.1 Isoneutral slabs

slabs_Atl <- c(
-Inf,
26.00,
26.50,
26.75,
27.00,
27.25,
27.50,
27.75,
27.85,
27.95,
28.05,
28.10,
28.15,
28.20,
Inf)

slabs_Ind_Pac <- c(
-Inf,
26.00,
26.50,
26.75,
27.00,
27.25,
27.50,
27.75,
27.85,
27.95,
28.05,
28.10,
Inf)

The following boundaries for isoneutral slabs were defined:

  • Atlantic: -, 26, 26.5, 26.75, 27, 27.25, 27.5, 27.75, 27.85, 27.95, 28.05, 28.1, 28.15, 28.2,
  • Indo-Pacific: -, 26, 26.5, 26.75, 27, 27.25, 27.5, 27.75, 27.85, 27.95, 28.05, 28.1,
GLODAP_Atl <- GLODAP %>% 
  filter(basin == "Atlantic") %>% 
  mutate(gamma_slab = cut(gamma, slabs_Atl))

GLODAP_Ind_Pac <- GLODAP %>% 
  filter(basin == "Indo-Pacific") %>% 
  mutate(gamma_slab = cut(gamma, slabs_Ind_Pac))

GLODAP <- bind_rows(GLODAP_Atl, GLODAP_Ind_Pac)
rm(GLODAP_Atl, GLODAP_Ind_Pac)
GLODAP_cruise <- GLODAP %>% 
  filter(cruise %in% cruises_meridional)

lat_section <- 
GLODAP_cruise %>%
  ggplot(aes(lat, depth)) +
  scale_y_reverse() +
  theme(legend.position = "bottom")

lat_section +
  geom_point(aes(col = gamma)) +
  scale_color_viridis_c()

lat_section +
  geom_point(aes(col = gamma_slab)) +
  scale_color_viridis_d()

5.2 PO4* calculation

Currently, PO4* is calculated according to Gruber et al. (2019), ie based on nitrate rather than oxygen.

GLODAP <- GLODAP %>% 
  mutate(phosphate_star = phosphate - 16*nitrate  + 29)

5.3 Predictor correlation

GLODAP %>% 
  sample_frac(0.1) %>% 
  ggpairs(columns = c("Cstar",
                      "salinity",
                      "temperature",
                      "aou",
                      "oxygen",
                      "silicate",
                      "phosphate",
                      "phosphate_star"),
          ggplot2::aes(col = gamma_slab, fill = gamma_slab, alpha = 0.01)) +
      scale_fill_viridis_d() +
      scale_color_viridis_d() +
      labs(title = paste("Basin: all | era: all | subsample size: 10 % of", nrow(GLODAP)))

Individual correlation plots for each basin and era are available upon request.

for (i_basin in unique(GLODAP$basin)) {
  for (i_era in unique(GLODAP$era)) {

# i_basin <- unique(GLODAP$basin)[1]
# i_era   <- unique(GLODAP$era)[1]
print(i_basin)
print(i_era)

p <- GLODAP %>% 
  filter(basin == i_basin, era == i_era) %>% 
  sample_frac(0.1) %>% 
  ggpairs(columns = c("salinity","temperature", "aou", "oxygen", "silicate", "phosphate", "phosphate_star"),
          ggplot2::aes(col = gamma_slab, fill = gamma_slab, alpha = 0.01)) +
      scale_fill_viridis_d() +
      scale_color_viridis_d() +
      labs(title = paste("Basin:", i_basin, "| era:", i_era, "| subsample size: 10%")) +
      theme(text = element_text(size=20))
  
png(here::here("output/figure/eMLR/predictor_correlation",
               paste("predictor_correlation", i_basin, i_era, ".png", sep = "_")),
    width = 20, height = 20, units = "in", res = 300)

print(p)

dev.off()

  }
}

5.4 Model fitting

GLODAP %>% write_csv(here::here("data/GLODAPv2_2020/_summarized_data_files",
                                "GLODAP_MLR_fitting_ready.csv"))

5.4.1 Predictor selection

# library(devtools)
# install_github("rsquaredacademy/olsrr", ref = "develop")

# gamma_slab_max <- GLODAP %>%
#   filter(basin == "Atlantic", era == "new_era") %>% 
#   group_by(gamma_slab) %>% 
#   count() %>% 
#   ungroup() %>% 
#   filter(n == max(n)) %>% 
#   pull(1)


for (i_basin in unique(GLODAP$basin)) {
  for (i_era in unique(GLODAP$era)) {
    
    # i_basin <- unique(GLODAP$basin)[1]
    # i_era   <- unique(GLODAP$era)[1]
    
    print(i_basin) 
    print(i_era  )
    
    GLODAP_basin_era <- GLODAP %>%
      filter(basin == i_basin, era == i_era)

    for (i_gamma_slab in unique(GLODAP_basin_era$gamma_slab)) {

      # i_gamma_slab <- unique(GLODAP_basin_era$gamma_slab)[1]
      print(i_gamma_slab)
      
      GLODAP_basin_era_slab <- GLODAP_basin_era %>% 
        filter(gamma_slab == i_gamma_slab)
      
      lm_full <- lm(Cstar ~ 
                salinity  + 
                temperature  + 
                aou  + 
                oxygen  + 
                silicate  + 
                phosphate  + 
                phosphate_star, 
              data = GLODAP_basin_era_slab)
      
      lm_all <- ols_step_all_possible(lm_full)
      
      temp <- as_tibble(lm_all$result)
      
      temp <- temp %>% 
        mutate(basin = i_basin,
               era = i_era,
               gamma_slab = i_gamma_slab)
      
      if (exists("all_lm_stats")) {
        all_lm_stats <- bind_rows(all_lm_stats, temp)
      }
      
      if (!exists("all_lm_stats")) {
        all_lm_stats <- temp
      }
      
      rm(lm_full, lm_all, temp)
      
    }
    
  }
  
}

all_lm_stats %>%
  write_csv(here::here("data/eMLR",
                       "all_lm_stats.csv"))
all_lm_stats <- read_csv(here::here("data/eMLR",
                                    "all_lm_stats.csv"))


# all_lm_stats <- all_lm_stats %>% 
#   rename(sigma = rmse)

all_lm_stats %>% 
  ggplot(aes(n, rmse, col = basin)) +
  geom_hline(yintercept = 10) + 
  geom_point(shape = 21) +
  facet_grid(gamma_slab~era) +
  scale_color_brewer(palette = "Set1")

all_lm_stats %>% 
  ggplot(aes(n, adjr, col = basin)) +
  geom_point(shape = 21) +
  facet_grid(gamma_slab~era) +
  scale_color_brewer(palette = "Set1")

all_lm_stats %>% 
  ggplot(aes(n, aic, col = basin)) +
  geom_point(shape = 21) +
  facet_grid(gamma_slab~era) +
  scale_color_brewer(palette = "Set1")

# all_lm_stats %>% 
#   ggplot(aes(rmse, predictors, col = gamma_slab)) +
#   geom_point(shape = 21) +
#   facet_grid(.~basin)
n_predictors_max <- 5
n_predictors_min <- 2

all_lm_stats <- all_lm_stats %>% 
  filter(n >= n_predictors_min,
         n <= n_predictors_max) %>% 
  select(basin, era, gamma_slab, predictors, rmse)

all_lm_stats_wide <- all_lm_stats %>% 
  pivot_wider(names_from = era, values_from = rmse, names_prefix = "rmse_")

all_lm_stats_wide <- all_lm_stats_wide %>% 
  mutate(rmse_sum = rmse_JGOFS_WOCE + rmse_GO_SHIP + rmse_new_era)

lm_best <- all_lm_stats_wide %>% 
  group_by(basin, gamma_slab) %>% 
  slice_min(rmse_sum, n = 10) %>% 
  ungroup()

knitr::kable(lm_best)
basin gamma_slab predictors rmse_JGOFS_WOCE rmse_GO_SHIP rmse_new_era rmse_sum
Atlantic (-Inf,26] salinity temperature aou oxygen phosphate 7.550032 6.771520 2.907022 17.228574
Atlantic (-Inf,26] temperature aou oxygen phosphate phosphate_star 7.555904 6.867631 2.808769 17.232305
Atlantic (-Inf,26] temperature oxygen silicate phosphate phosphate_star 7.664601 6.711614 2.875001 17.251217
Atlantic (-Inf,26] salinity aou oxygen silicate phosphate 7.685800 6.594802 3.022896 17.303497
Atlantic (-Inf,26] salinity temperature oxygen silicate phosphate 7.563621 6.750918 2.999168 17.313707
Atlantic (-Inf,26] salinity temperature aou silicate phosphate 7.595077 6.714718 3.004446 17.314241
Atlantic (-Inf,26] temperature aou silicate phosphate phosphate_star 7.723956 6.731337 2.885566 17.340859
Atlantic (-Inf,26] temperature aou oxygen silicate phosphate 7.364808 7.157006 2.908741 17.430556
Atlantic (-Inf,26] salinity temperature oxygen phosphate phosphate_star 7.927230 6.665964 2.850838 17.444033
Atlantic (-Inf,26] salinity temperature aou phosphate phosphate_star 7.972526 6.621701 2.857167 17.451394
Atlantic (26,26.5] temperature aou oxygen silicate phosphate 5.398902 6.820094 3.177855 15.396850
Atlantic (26,26.5] temperature aou oxygen phosphate phosphate_star 5.473276 6.852965 3.239556 15.565797
Atlantic (26,26.5] temperature aou oxygen phosphate 5.486390 6.865377 3.229777 15.581544
Atlantic (26,26.5] salinity temperature aou oxygen phosphate 5.489555 6.870833 3.223062 15.583450
Atlantic (26,26.5] aou oxygen silicate phosphate phosphate_star 5.430215 6.925799 3.236708 15.592722
Atlantic (26,26.5] temperature aou silicate phosphate phosphate_star 5.466691 6.989282 3.252681 15.708654
Atlantic (26,26.5] salinity aou oxygen phosphate phosphate_star 5.479773 6.975226 3.255250 15.710249
Atlantic (26,26.5] salinity aou oxygen silicate phosphate 5.468046 7.007722 3.241181 15.716949
Atlantic (26,26.5] aou oxygen phosphate phosphate_star 5.497291 6.971558 3.255337 15.724186
Atlantic (26,26.5] aou oxygen silicate phosphate 5.468817 7.030064 3.233732 15.732613
Atlantic (26.5,26.75] temperature aou oxygen silicate phosphate 5.240758 5.609909 3.750329 14.600997
Atlantic (26.5,26.75] salinity temperature aou silicate phosphate 5.176759 5.604248 3.852231 14.633238
Atlantic (26.5,26.75] salinity temperature oxygen silicate phosphate 5.166316 5.586914 3.885304 14.638534
Atlantic (26.5,26.75] temperature oxygen silicate phosphate phosphate_star 5.232327 5.605703 3.804564 14.642593
Atlantic (26.5,26.75] temperature aou silicate phosphate phosphate_star 5.249031 5.624508 3.776055 14.649594
Atlantic (26.5,26.75] aou oxygen silicate phosphate phosphate_star 5.284625 5.664621 3.745130 14.694376
Atlantic (26.5,26.75] salinity aou oxygen silicate phosphate 5.222671 5.661309 3.816031 14.700011
Atlantic (26.5,26.75] salinity temperature aou oxygen phosphate 5.380562 5.581626 3.749224 14.711413
Atlantic (26.5,26.75] temperature aou oxygen phosphate phosphate_star 5.419142 5.601064 3.691602 14.711807
Atlantic (26.5,26.75] temperature oxygen silicate phosphate 5.247199 5.629379 3.881238 14.757816
Atlantic (26.75,27] salinity temperature oxygen silicate phosphate 4.700839 5.102621 3.644433 13.447893
Atlantic (26.75,27] salinity temperature aou silicate phosphate 4.720364 5.111618 3.655405 13.487387
Atlantic (26.75,27] salinity temperature oxygen phosphate phosphate_star 4.746831 5.164122 3.644079 13.555032
Atlantic (26.75,27] temperature oxygen silicate phosphate phosphate_star 4.751633 5.151702 3.658999 13.562333
Atlantic (26.75,27] salinity temperature oxygen phosphate 4.756606 5.185535 3.644426 13.586567
Atlantic (26.75,27] salinity temperature aou phosphate phosphate_star 4.766806 5.169948 3.655067 13.591822
Atlantic (26.75,27] salinity temperature aou oxygen phosphate 4.759175 5.188378 3.648195 13.595748
Atlantic (26.75,27] temperature aou silicate phosphate phosphate_star 4.778898 5.158062 3.673369 13.610329
Atlantic (26.75,27] salinity temperature aou phosphate 4.772399 5.187778 3.655341 13.615519
Atlantic (26.75,27] temperature oxygen phosphate phosphate_star 4.776784 5.176718 3.666207 13.619709
Atlantic (27,27.25] temperature oxygen silicate phosphate phosphate_star 5.161665 4.932551 4.442953 14.537169
Atlantic (27,27.25] temperature aou oxygen phosphate phosphate_star 5.167431 4.967836 4.503975 14.639242
Atlantic (27,27.25] temperature aou silicate phosphate phosphate_star 5.212668 4.968566 4.466086 14.647320
Atlantic (27,27.25] salinity temperature oxygen phosphate phosphate_star 5.216685 4.956480 4.519716 14.692881
Atlantic (27,27.25] temperature oxygen phosphate phosphate_star 5.252997 4.985629 4.522532 14.761158
Atlantic (27,27.25] salinity temperature oxygen silicate phosphate 5.037028 5.054919 4.684679 14.776625
Atlantic (27,27.25] salinity temperature aou phosphate phosphate_star 5.271525 4.989480 4.537378 14.798384
Atlantic (27,27.25] temperature aou phosphate phosphate_star 5.303862 5.020880 4.541566 14.866309
Atlantic (27,27.25] salinity temperature aou silicate phosphate 5.098029 5.076633 4.695591 14.870253
Atlantic (27,27.25] aou oxygen silicate phosphate phosphate_star 5.352014 5.059370 4.495158 14.906542
Atlantic (27.25,27.5] salinity temperature oxygen phosphate phosphate_star 4.791667 4.333156 3.676373 12.801197
Atlantic (27.25,27.5] salinity temperature aou phosphate phosphate_star 4.838668 4.343075 3.686797 12.868540
Atlantic (27.25,27.5] temperature aou oxygen phosphate phosphate_star 4.786170 4.494719 3.677703 12.958592
Atlantic (27.25,27.5] temperature oxygen silicate phosphate phosphate_star 4.823221 4.472507 3.666240 12.961967
Atlantic (27.25,27.5] salinity aou oxygen phosphate phosphate_star 4.917704 4.388202 3.708759 13.014665
Atlantic (27.25,27.5] temperature aou silicate phosphate phosphate_star 4.871895 4.473997 3.669087 13.014978
Atlantic (27.25,27.5] temperature oxygen phosphate phosphate_star 4.842862 4.499322 3.676179 13.018363
Atlantic (27.25,27.5] salinity temperature aou oxygen phosphate 4.697611 4.383332 3.973641 13.054584
Atlantic (27.25,27.5] temperature aou phosphate phosphate_star 4.884029 4.493451 3.685046 13.062527
Atlantic (27.25,27.5] salinity temperature oxygen silicate phosphate 4.793404 4.377980 3.904077 13.075461
Atlantic (27.5,27.75] temperature aou silicate phosphate phosphate_star 4.185887 4.412801 4.246096 12.844783
Atlantic (27.5,27.75] temperature oxygen silicate phosphate phosphate_star 4.178326 4.426235 4.249013 12.853573
Atlantic (27.5,27.75] aou oxygen silicate phosphate phosphate_star 4.205006 4.406567 4.245546 12.857119
Atlantic (27.5,27.75] salinity temperature oxygen silicate phosphate 4.186857 4.401439 4.339828 12.928123
Atlantic (27.5,27.75] salinity temperature aou silicate phosphate 4.198828 4.390050 4.341896 12.930774
Atlantic (27.5,27.75] salinity aou oxygen silicate phosphate 4.217394 4.383141 4.343233 12.943768
Atlantic (27.5,27.75] temperature aou oxygen silicate phosphate 4.190870 4.416432 4.359590 12.966892
Atlantic (27.5,27.75] temperature aou silicate phosphate 4.203461 4.424183 4.358381 12.986025
Atlantic (27.5,27.75] temperature oxygen silicate phosphate 4.192710 4.437685 4.356988 12.987383
Atlantic (27.5,27.75] aou oxygen silicate phosphate 4.225288 4.418562 4.361887 13.005737
Atlantic (27.75,27.85] salinity aou oxygen silicate phosphate 4.168058 4.353189 6.053166 14.574414
Atlantic (27.75,27.85] salinity temperature oxygen silicate phosphate 4.165381 4.355295 6.065030 14.585705
Atlantic (27.75,27.85] salinity oxygen silicate phosphate phosphate_star 4.161696 4.351171 6.074471 14.587338
Atlantic (27.75,27.85] salinity temperature aou silicate phosphate 4.169532 4.358867 6.066866 14.595265
Atlantic (27.75,27.85] salinity oxygen silicate phosphate 4.175760 4.355209 6.066925 14.597894
Atlantic (27.75,27.85] salinity aou silicate phosphate phosphate_star 4.154027 4.369592 6.083707 14.607327
Atlantic (27.75,27.85] temperature aou oxygen silicate phosphate 4.234760 4.360738 6.019074 14.614572
Atlantic (27.75,27.85] salinity aou silicate phosphate 4.169620 4.372567 6.075928 14.618115
Atlantic (27.75,27.85] temperature oxygen silicate phosphate phosphate_star 4.226789 4.390927 6.070519 14.688235
Atlantic (27.75,27.85] temperature oxygen silicate phosphate 4.239318 4.392435 6.063037 14.694791
Atlantic (27.85,27.95] salinity aou oxygen silicate phosphate 3.732923 4.177309 4.860175 12.770407
Atlantic (27.85,27.95] salinity temperature oxygen silicate phosphate 3.744942 4.192348 4.896203 12.833494
Atlantic (27.85,27.95] salinity temperature aou silicate phosphate 3.755635 4.198180 4.895804 12.849618
Atlantic (27.85,27.95] salinity temperature silicate phosphate phosphate_star 3.888017 4.294810 4.865756 13.048583
Atlantic (27.85,27.95] salinity temperature silicate phosphate 3.985278 4.294058 4.893764 13.173101
Atlantic (27.85,27.95] salinity oxygen silicate phosphate phosphate_star 3.776816 4.417345 5.337748 13.531909
Atlantic (27.85,27.95] salinity oxygen silicate phosphate 3.792489 4.446363 5.347920 13.586772
Atlantic (27.85,27.95] salinity aou silicate phosphate phosphate_star 3.901297 4.605133 5.397079 13.903510
Atlantic (27.85,27.95] salinity aou silicate phosphate 3.928915 4.620493 5.398662 13.948070
Atlantic (27.85,27.95] temperature aou oxygen silicate phosphate 4.220447 4.854776 5.281030 14.356253
Atlantic (27.95,28.05] salinity aou oxygen silicate phosphate 3.491509 4.421199 4.834271 12.746979
Atlantic (27.95,28.05] salinity temperature oxygen silicate phosphate 3.502652 4.440039 4.925007 12.867698
Atlantic (27.95,28.05] salinity oxygen silicate phosphate phosphate_star 3.574223 4.437967 4.889537 12.901727
Atlantic (27.95,28.05] salinity temperature aou silicate phosphate 3.511879 4.463824 4.946326 12.922029
Atlantic (27.95,28.05] salinity temperature aou oxygen phosphate 3.759362 4.427020 4.813202 12.999584
Atlantic (27.95,28.05] salinity oxygen silicate phosphate 3.573876 4.456456 5.032910 13.063241
Atlantic (27.95,28.05] salinity temperature silicate phosphate phosphate_star 3.759834 4.834214 4.876222 13.470270
Atlantic (27.95,28.05] salinity aou silicate phosphate phosphate_star 3.754669 4.611817 5.115337 13.481823
Atlantic (27.95,28.05] salinity aou silicate phosphate 3.761144 4.620662 5.203632 13.585438
Atlantic (27.95,28.05] salinity temperature silicate phosphate 3.761367 4.839175 5.001186 13.601729
Atlantic (28.05,28.1] salinity temperature aou oxygen phosphate 3.545352 4.433851 4.158947 12.138150
Atlantic (28.05,28.1] temperature aou oxygen silicate phosphate 3.649215 4.392830 4.131012 12.173058
Atlantic (28.05,28.1] temperature aou oxygen phosphate phosphate_star 3.743507 4.523442 4.200993 12.467942
Atlantic (28.05,28.1] temperature aou oxygen phosphate 3.743081 4.525913 4.240053 12.509047
Atlantic (28.05,28.1] salinity temperature oxygen silicate phosphate 3.536949 4.636055 4.430167 12.603171
Atlantic (28.05,28.1] salinity temperature oxygen phosphate phosphate_star 3.560188 4.690514 4.370928 12.621630
Atlantic (28.05,28.1] salinity oxygen silicate phosphate phosphate_star 3.554289 4.637502 4.462456 12.654247
Atlantic (28.05,28.1] salinity temperature oxygen phosphate 3.561977 4.693855 4.428587 12.684419
Atlantic (28.05,28.1] salinity aou oxygen silicate phosphate 3.559984 4.641394 4.544670 12.746048
Atlantic (28.05,28.1] salinity oxygen silicate phosphate 3.560364 4.653964 4.546951 12.761279
Atlantic (28.1,28.15] salinity temperature oxygen silicate phosphate 3.356432 4.015828 4.280343 11.652603
Atlantic (28.1,28.15] salinity temperature aou oxygen phosphate 3.447729 4.014031 4.237500 11.699260
Atlantic (28.1,28.15] temperature aou oxygen silicate phosphate 3.444103 4.031144 4.241949 11.717195
Atlantic (28.1,28.15] temperature oxygen silicate phosphate phosphate_star 3.437575 4.046317 4.269423 11.753315
Atlantic (28.1,28.15] salinity temperature oxygen phosphate phosphate_star 3.456089 4.027679 4.269927 11.753694
Atlantic (28.1,28.15] salinity temperature oxygen phosphate 3.455636 4.026808 4.276537 11.758980
Atlantic (28.1,28.15] temperature oxygen silicate phosphate 3.443160 4.045470 4.277023 11.765652
Atlantic (28.1,28.15] salinity temperature aou silicate phosphate 3.398068 4.082989 4.345586 11.826644
Atlantic (28.1,28.15] temperature aou oxygen phosphate phosphate_star 3.549823 4.050865 4.237309 11.837997
Atlantic (28.1,28.15] temperature aou oxygen phosphate 3.548580 4.051012 4.241648 11.841240
Atlantic (28.15,28.2] salinity temperature aou oxygen phosphate 3.748410 3.693581 2.869059 10.311050
Atlantic (28.15,28.2] salinity temperature aou silicate phosphate 3.769170 3.711344 2.867968 10.348482
Atlantic (28.15,28.2] salinity temperature aou phosphate phosphate_star 3.756555 3.722669 2.869992 10.349216
Atlantic (28.15,28.2] salinity temperature aou phosphate 3.764604 3.721539 2.865151 10.351295
Atlantic (28.15,28.2] salinity aou oxygen silicate phosphate 3.743118 3.700224 2.947865 10.391206
Atlantic (28.15,28.2] salinity temperature oxygen silicate phosphate 3.804879 3.747416 2.869334 10.421630
Atlantic (28.15,28.2] salinity aou oxygen phosphate phosphate_star 3.734710 3.700811 2.989692 10.425213
Atlantic (28.15,28.2] salinity aou oxygen phosphate 3.743542 3.698807 2.984987 10.427336
Atlantic (28.15,28.2] salinity temperature oxygen phosphate 3.809201 3.767791 2.864056 10.441049
Atlantic (28.15,28.2] salinity temperature oxygen phosphate phosphate_star 3.806740 3.768063 2.868148 10.442951
Atlantic (28.2, Inf] salinity temperature aou oxygen phosphate 3.352629 3.148306 2.699303 9.200238
Atlantic (28.2, Inf] salinity aou oxygen silicate phosphate 3.373039 3.149671 2.782183 9.304892
Atlantic (28.2, Inf] salinity temperature aou silicate phosphate 3.440574 3.153620 2.710786 9.304980
Atlantic (28.2, Inf] salinity aou oxygen phosphate phosphate_star 3.391320 3.145670 2.778563 9.315553
Atlantic (28.2, Inf] salinity aou oxygen phosphate 3.390428 3.148922 2.779740 9.319090
Atlantic (28.2, Inf] salinity temperature aou phosphate phosphate_star 3.486242 3.148366 2.707038 9.341645
Atlantic (28.2, Inf] salinity temperature aou phosphate 3.485391 3.153036 2.712623 9.351050
Atlantic (28.2, Inf] salinity temperature oxygen silicate phosphate 3.517692 3.148889 2.690216 9.356797
Atlantic (28.2, Inf] temperature aou oxygen silicate phosphate 3.376309 3.283318 2.750970 9.410597
Atlantic (28.2, Inf] temperature aou oxygen phosphate phosphate_star 3.398888 3.288530 2.765985 9.453403
Indo-Pacific (-Inf,26] salinity aou oxygen phosphate phosphate_star 11.679808 6.878602 4.752588 23.310998
Indo-Pacific (-Inf,26] salinity temperature aou phosphate phosphate_star 11.752734 6.855660 4.973656 23.582050
Indo-Pacific (-Inf,26] salinity temperature oxygen phosphate phosphate_star 11.798821 6.889825 5.120278 23.808924
Indo-Pacific (-Inf,26] salinity aou oxygen silicate phosphate 11.618898 7.152857 5.651239 24.422994
Indo-Pacific (-Inf,26] salinity temperature aou silicate phosphate 11.689896 7.227921 5.855383 24.773201
Indo-Pacific (-Inf,26] salinity temperature aou oxygen phosphate_star 12.561723 7.054391 5.311407 24.927521
Indo-Pacific (-Inf,26] salinity temperature oxygen silicate phosphate 11.728485 7.276577 5.956206 24.961268
Indo-Pacific (-Inf,26] salinity temperature oxygen silicate phosphate_star 12.593593 7.061270 5.325542 24.980405
Indo-Pacific (-Inf,26] salinity temperature aou silicate phosphate_star 12.622435 7.099325 5.276542 24.998302
Indo-Pacific (-Inf,26] salinity temperature oxygen phosphate_star 12.598682 7.060238 5.387041 25.045961
Indo-Pacific (26,26.5] salinity temperature aou phosphate phosphate_star 7.902856 5.135704 3.999979 17.038540
Indo-Pacific (26,26.5] salinity aou oxygen phosphate phosphate_star 7.843708 5.238508 3.958904 17.041120
Indo-Pacific (26,26.5] salinity aou oxygen silicate phosphate 7.881970 5.222068 3.944595 17.048633
Indo-Pacific (26,26.5] salinity temperature oxygen phosphate phosphate_star 7.944019 5.128035 4.032629 17.104682
Indo-Pacific (26,26.5] salinity temperature aou silicate phosphate 7.954072 5.177186 4.022052 17.153309
Indo-Pacific (26,26.5] salinity temperature oxygen silicate phosphate 7.991307 5.185264 4.061772 17.238343
Indo-Pacific (26,26.5] salinity temperature aou oxygen phosphate 7.988096 5.317348 4.257663 17.563107
Indo-Pacific (26,26.5] salinity temperature aou phosphate 8.036145 5.329061 4.298276 17.663482
Indo-Pacific (26,26.5] salinity aou oxygen phosphate 7.985356 5.419577 4.261810 17.666743
Indo-Pacific (26,26.5] salinity temperature oxygen phosphate 8.066654 5.317791 4.318958 17.703403
Indo-Pacific (26.5,26.75] salinity aou oxygen phosphate phosphate_star 5.655385 5.447647 4.212061 15.315092
Indo-Pacific (26.5,26.75] salinity temperature aou phosphate phosphate_star 5.757033 5.487665 4.295824 15.540522
Indo-Pacific (26.5,26.75] salinity temperature oxygen phosphate phosphate_star 5.822489 5.528282 4.358296 15.709068
Indo-Pacific (26.5,26.75] salinity aou oxygen silicate phosphate 5.918262 5.708633 4.573728 16.200623
Indo-Pacific (26.5,26.75] salinity temperature aou oxygen phosphate 5.999784 5.715331 4.631003 16.346119
Indo-Pacific (26.5,26.75] salinity aou oxygen phosphate 5.999648 5.714319 4.645399 16.359366
Indo-Pacific (26.5,26.75] salinity temperature aou silicate phosphate 6.061567 5.725621 4.672385 16.459573
Indo-Pacific (26.5,26.75] aou oxygen silicate phosphate phosphate_star 6.151174 5.859143 4.461169 16.471486
Indo-Pacific (26.5,26.75] salinity temperature aou phosphate 6.085950 5.751212 4.726262 16.563424
Indo-Pacific (26.5,26.75] temperature aou oxygen phosphate phosphate_star 6.128002 5.856886 4.584253 16.569141
Indo-Pacific (26.75,27] temperature aou oxygen phosphate phosphate_star 6.520099 4.911494 4.035967 15.467561
Indo-Pacific (26.75,27] salinity aou oxygen phosphate phosphate_star 6.570269 4.960798 4.051595 15.582662
Indo-Pacific (26.75,27] aou oxygen silicate phosphate phosphate_star 6.527727 4.962537 4.160584 15.650849
Indo-Pacific (26.75,27] temperature aou oxygen silicate phosphate 6.533602 4.986911 4.227738 15.748251
Indo-Pacific (26.75,27] aou oxygen phosphate phosphate_star 6.605000 5.009974 4.159642 15.774616
Indo-Pacific (26.75,27] salinity temperature aou oxygen phosphate 6.557687 5.023923 4.255122 15.836732
Indo-Pacific (26.75,27] temperature aou oxygen phosphate 6.559604 5.023885 4.267899 15.851387
Indo-Pacific (26.75,27] temperature aou silicate phosphate phosphate_star 6.560470 5.029899 4.295971 15.886339
Indo-Pacific (26.75,27] temperature oxygen silicate phosphate phosphate_star 6.597774 5.095217 4.390161 16.083151
Indo-Pacific (26.75,27] salinity temperature aou phosphate phosphate_star 6.685734 5.139998 4.258430 16.084162
Indo-Pacific (27,27.25] temperature aou oxygen silicate phosphate 6.065616 4.535328 4.052257 14.653201
Indo-Pacific (27,27.25] salinity temperature aou oxygen phosphate 6.091714 4.609945 4.170312 14.871971
Indo-Pacific (27,27.25] temperature aou oxygen phosphate phosphate_star 6.121036 4.650595 4.167652 14.939284
Indo-Pacific (27,27.25] salinity aou oxygen silicate phosphate 6.439912 4.543484 4.111556 15.094952
Indo-Pacific (27,27.25] temperature aou oxygen phosphate 6.122177 4.749343 4.308191 15.179711
Indo-Pacific (27,27.25] salinity aou silicate phosphate phosphate_star 6.517835 4.547063 4.125890 15.190788
Indo-Pacific (27,27.25] salinity temperature aou silicate phosphate 6.570996 4.550858 4.123600 15.245454
Indo-Pacific (27,27.25] salinity aou silicate phosphate 6.583865 4.550790 4.129562 15.264217
Indo-Pacific (27,27.25] salinity aou oxygen phosphate phosphate_star 6.439483 4.711625 4.178804 15.329912
Indo-Pacific (27,27.25] salinity temperature oxygen silicate phosphate 6.685272 4.586264 4.150925 15.422461
Indo-Pacific (27.25,27.5] temperature aou oxygen silicate phosphate 4.841218 3.916010 3.530880 12.288107
Indo-Pacific (27.25,27.5] salinity aou oxygen silicate phosphate 5.257220 3.926327 3.245921 12.429469
Indo-Pacific (27.25,27.5] temperature aou oxygen phosphate phosphate_star 4.868344 4.086460 3.650709 12.605514
Indo-Pacific (27.25,27.5] salinity temperature aou oxygen phosphate 4.867472 4.133336 3.630354 12.631162
Indo-Pacific (27.25,27.5] salinity temperature aou silicate phosphate 5.584223 3.947857 3.249995 12.782075
Indo-Pacific (27.25,27.5] temperature aou oxygen phosphate 4.870920 4.179279 3.731984 12.782184
Indo-Pacific (27.25,27.5] salinity aou oxygen phosphate phosphate_star 5.207749 4.191345 3.567629 12.966722
Indo-Pacific (27.25,27.5] salinity temperature oxygen silicate phosphate 5.808036 3.977963 3.256766 13.042765
Indo-Pacific (27.25,27.5] aou oxygen silicate phosphate phosphate_star 5.236794 4.181692 3.682324 13.100811
Indo-Pacific (27.25,27.5] salinity aou silicate phosphate phosphate_star 5.932029 3.954509 3.242725 13.129264
Indo-Pacific (27.5,27.75] salinity aou oxygen silicate phosphate 4.693275 3.619777 2.970406 11.283458
Indo-Pacific (27.5,27.75] salinity temperature aou silicate phosphate 4.862598 3.617869 2.968836 11.449303
Indo-Pacific (27.5,27.75] temperature aou oxygen silicate phosphate 4.418208 3.843072 3.293463 11.554743
Indo-Pacific (27.5,27.75] salinity temperature oxygen silicate phosphate 4.991071 3.620774 2.968221 11.580066
Indo-Pacific (27.5,27.75] salinity temperature aou oxygen phosphate 4.441116 3.850782 3.373574 11.665472
Indo-Pacific (27.5,27.75] temperature aou oxygen phosphate phosphate_star 4.440141 3.913280 3.407639 11.761060
Indo-Pacific (27.5,27.75] temperature aou oxygen phosphate 4.440675 3.917782 3.432064 11.790521
Indo-Pacific (27.5,27.75] salinity aou oxygen phosphate phosphate_star 4.694050 3.837486 3.337105 11.868640
Indo-Pacific (27.5,27.75] salinity aou oxygen phosphate 4.693475 3.853069 3.374671 11.921214
Indo-Pacific (27.5,27.75] aou oxygen silicate phosphate phosphate_star 4.698962 3.841924 3.411853 11.952738
Indo-Pacific (27.75,27.85] temperature aou oxygen silicate phosphate 4.278143 3.244478 2.908123 10.430744
Indo-Pacific (27.75,27.85] salinity temperature oxygen silicate phosphate 4.317601 3.261432 2.869333 10.448366
Indo-Pacific (27.75,27.85] salinity temperature aou silicate phosphate 4.294410 3.284752 2.880603 10.459765
Indo-Pacific (27.75,27.85] salinity aou oxygen silicate phosphate 4.270839 3.323292 2.901283 10.495415
Indo-Pacific (27.75,27.85] temperature aou silicate phosphate phosphate_star 4.309318 3.274149 2.923397 10.506865
Indo-Pacific (27.75,27.85] temperature oxygen silicate phosphate phosphate_star 4.335599 3.257267 2.915604 10.508470
Indo-Pacific (27.75,27.85] temperature oxygen silicate phosphate 4.335195 3.273812 2.920241 10.529248
Indo-Pacific (27.75,27.85] aou oxygen silicate phosphate phosphate_star 4.280847 3.307929 2.942966 10.531741
Indo-Pacific (27.75,27.85] temperature aou silicate phosphate 4.309718 3.295848 2.928408 10.533974
Indo-Pacific (27.75,27.85] aou oxygen silicate phosphate 4.283486 3.341136 2.949406 10.574027
Indo-Pacific (27.85,27.95] temperature aou silicate phosphate phosphate_star 4.309933 2.966634 2.892318 10.168885
Indo-Pacific (27.85,27.95] aou oxygen silicate phosphate phosphate_star 4.295068 2.969242 2.906313 10.170623
Indo-Pacific (27.85,27.95] salinity temperature aou silicate phosphate 4.327341 2.981912 2.881707 10.190959
Indo-Pacific (27.85,27.95] temperature oxygen silicate phosphate phosphate_star 4.329210 2.973958 2.889385 10.192553
Indo-Pacific (27.85,27.95] salinity aou oxygen silicate phosphate 4.314291 2.988913 2.899495 10.202700
Indo-Pacific (27.85,27.95] temperature aou oxygen silicate phosphate 4.321050 2.984927 2.899397 10.205374
Indo-Pacific (27.85,27.95] salinity temperature oxygen silicate phosphate 4.346842 2.986146 2.873721 10.206708
Indo-Pacific (27.85,27.95] temperature aou silicate phosphate 4.331510 2.984930 2.901647 10.218087
Indo-Pacific (27.85,27.95] aou oxygen silicate phosphate 4.320048 2.990887 2.916180 10.227115
Indo-Pacific (27.85,27.95] temperature oxygen silicate phosphate 4.349862 2.991024 2.898898 10.239784
Indo-Pacific (27.95,28.05] salinity aou oxygen silicate phosphate 4.384212 2.853432 3.080293 10.317938
Indo-Pacific (27.95,28.05] salinity aou oxygen phosphate phosphate_star 4.384878 2.879670 3.078285 10.342833
Indo-Pacific (27.95,28.05] aou oxygen silicate phosphate phosphate_star 4.401889 2.861672 3.081149 10.344710
Indo-Pacific (27.95,28.05] salinity temperature aou silicate phosphate 4.402695 2.876874 3.069677 10.349246
Indo-Pacific (27.95,28.05] temperature aou oxygen phosphate phosphate_star 4.402567 2.872553 3.078151 10.353271
Indo-Pacific (27.95,28.05] aou oxygen phosphate phosphate_star 4.402619 2.879546 3.081615 10.363779
Indo-Pacific (27.95,28.05] salinity temperature aou oxygen phosphate 4.385068 2.873275 3.111865 10.370208
Indo-Pacific (27.95,28.05] salinity aou oxygen phosphate 4.384682 2.882738 3.111732 10.379152
Indo-Pacific (27.95,28.05] temperature aou silicate phosphate phosphate_star 4.425899 2.886963 3.070568 10.383430
Indo-Pacific (27.95,28.05] temperature aou oxygen silicate phosphate 4.405736 2.869466 3.114205 10.389406
Indo-Pacific (28.05,28.1] salinity aou oxygen phosphate phosphate_star 4.238669 2.859254 2.802493 9.900416
Indo-Pacific (28.05,28.1] salinity aou oxygen silicate phosphate 4.235834 2.844283 2.830734 9.910851
Indo-Pacific (28.05,28.1] salinity temperature aou oxygen phosphate 4.234966 2.862710 2.821564 9.919240
Indo-Pacific (28.05,28.1] salinity aou oxygen phosphate 4.237943 2.865337 2.833072 9.936351
Indo-Pacific (28.05,28.1] aou oxygen silicate phosphate phosphate_star 4.236934 2.872678 2.828336 9.937948
Indo-Pacific (28.05,28.1] temperature aou oxygen phosphate phosphate_star 4.236481 2.874074 2.845730 9.956285
Indo-Pacific (28.05,28.1] salinity temperature aou silicate phosphate 4.276033 2.849368 2.840025 9.965426
Indo-Pacific (28.05,28.1] aou oxygen phosphate phosphate_star 4.241251 2.874233 2.852937 9.968421
Indo-Pacific (28.05,28.1] temperature aou oxygen silicate phosphate 4.236219 2.882845 2.865152 9.984216
Indo-Pacific (28.05,28.1] aou oxygen silicate phosphate 4.237200 2.884407 2.873998 9.995605
Indo-Pacific (28.1, Inf] salinity aou oxygen silicate phosphate 3.569638 3.091921 2.619994 9.281553
Indo-Pacific (28.1, Inf] temperature aou oxygen silicate phosphate 3.601736 3.043659 2.655522 9.300917
Indo-Pacific (28.1, Inf] aou oxygen silicate phosphate phosphate_star 3.635094 2.983323 2.699737 9.318155
Indo-Pacific (28.1, Inf] aou oxygen silicate phosphate 3.640649 3.092133 2.708284 9.441066
Indo-Pacific (28.1, Inf] salinity aou oxygen phosphate phosphate_star 3.598957 3.203759 2.653400 9.456116
Indo-Pacific (28.1, Inf] salinity temperature aou phosphate phosphate_star 3.539298 3.235596 2.703041 9.477935
Indo-Pacific (28.1, Inf] salinity temperature aou oxygen phosphate 3.539485 3.315882 2.642918 9.498285
Indo-Pacific (28.1, Inf] salinity aou oxygen phosphate 3.598983 3.321210 2.654396 9.574589
Indo-Pacific (28.1, Inf] salinity temperature aou silicate phosphate 3.540788 3.349413 2.714054 9.604255
Indo-Pacific (28.1, Inf] salinity temperature oxygen phosphate phosphate_star 3.592795 3.276352 2.763254 9.632402

5.4.2 All predictors

MLRs <- GLODAP %>%
  nest(data = -c(basin, era, gamma_slab)) %>% 
  mutate(
    fit = map(data, ~ lm(Cstar ~ salinity  + temperature  + aou  + oxygen  + silicate  + phosphate  + phosphate_star,
                         data = .x)),
    tidied = map(fit, tidy),
    glanced = map(fit, glance),
    augmented = map(fit, augment)
  )

MLRs_tidied <- MLRs %>% 
  unnest(tidied)

MLRs_tidied

MLRs_tidied <- MLRs_tidied %>% 
  select(era, basin, gamma_slab, term, estimate, p.value)

MLRs_tidied_wide <- MLRs_tidied %>% 
  select(-p.value) %>% 
  pivot_wider(names_from = era, values_from = estimate, names_prefix = "coeff_")

MLRs_tidied_wide <- MLRs_tidied_wide %>% 
  mutate(delta_coeff_J_G = coeff_GO_SHIP - coeff_JGOFS_WOCE,
         delta_coeff_G_n = coeff_new_era - coeff_GO_SHIP,
         delta_coeff_n_G = coeff_new_era - coeff_JGOFS_WOCE)

MLRs_tidied %>% 
  ggplot(aes(p.value, term, col = gamma_slab)) +
  geom_point() +
  facet_grid(basin~era)

MLRs_tidied %>% 
  filter(p.value < 0.05) %>% 
  ggplot(aes(p.value, term, col = gamma_slab)) +
  geom_point() +
  facet_grid(basin~era)

MLRs_tidied %>% 
  ggplot(aes(p.value, term)) +
  geom_boxplot() +
  facet_grid(basin~era)

MLRs %>% 
  unnest(glanced)

MLRs %>% 
  unnest(augmented)

sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale:
[1] LC_COLLATE=English_Germany.1252  LC_CTYPE=English_Germany.1252   
[3] LC_MONETARY=English_Germany.1252 LC_NUMERIC=C                    
[5] LC_TIME=English_Germany.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] olsrr_0.5.3.9000 GGally_2.0.0     broom_0.7.0      patchwork_1.0.1 
 [5] lubridate_1.7.9  forcats_0.5.0    stringr_1.4.0    dplyr_1.0.0     
 [9] purrr_0.3.4      readr_1.3.1      tidyr_1.1.0      tibble_3.0.3    
[13] ggplot2_3.3.2    tidyverse_1.3.0  workflowr_1.6.2 

loaded via a namespace (and not attached):
 [1] httr_1.4.2         maps_3.3.0         viridisLite_0.3.0  jsonlite_1.7.0    
 [5] here_0.1           carData_3.0-4      modelr_0.1.8       assertthat_0.2.1  
 [9] highr_0.8          blob_1.2.1         cellranger_1.1.0   yaml_2.2.1        
[13] pillar_1.4.6       backports_1.1.8    glue_1.4.1         digest_0.6.25     
[17] RColorBrewer_1.1-2 promises_1.1.1     rvest_0.3.6        colorspace_1.4-1  
[21] htmltools_0.5.0    httpuv_1.5.4       plyr_1.8.6         pkgconfig_2.0.3   
[25] haven_2.3.1        scales_1.1.1       whisker_0.4        openxlsx_4.1.5    
[29] later_1.1.0.1      rio_0.5.16         git2r_0.27.1       farver_2.0.3      
[33] generics_0.0.2     car_3.0-8          ellipsis_0.3.1     withr_2.2.0       
[37] cli_2.0.2          magrittr_1.5       crayon_1.3.4       readxl_1.3.1      
[41] evaluate_0.14      fs_1.4.2           fansi_0.4.1        xml2_1.3.2        
[45] foreign_0.8-80     tools_4.0.2        data.table_1.13.0  hms_0.5.3         
[49] lifecycle_0.2.0    munsell_0.5.0      reprex_0.3.0       zip_2.0.4         
[53] compiler_4.0.2     rlang_0.4.7        grid_4.0.2         rstudioapi_0.11   
[57] goftest_1.2-2      labeling_0.3       rmarkdown_2.3      gtable_0.3.0      
[61] abind_1.4-5        DBI_1.1.0          reshape_0.8.8      curl_4.3          
[65] R6_2.4.1           gridExtra_2.3      knitr_1.29         nortest_1.0-4     
[69] rprojroot_1.3-2    stringi_1.4.6      Rcpp_1.0.5         vctrs_0.3.2       
[73] dbplyr_1.4.4       tidyselect_1.1.0   xfun_0.16