Last updated: 2022-05-01

Checks: 7 0

Knit directory: bgc_argo_r_argodata/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). 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(20211008) 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 c94c9cd. 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:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    output/

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/ph_temp_anomaly_fields.Rmd) and HTML (docs/ph_temp_anomaly_fields.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 c94c9cd jens-daniel-mueller 2022-05-01 code review: revised alternative double extreme color scale
html d4eaed4 jens-daniel-mueller 2022-05-01 Build site.
Rmd f1227c5 jens-daniel-mueller 2022-05-01 code review: alternative double extreme color scale
html 6a6e874 pasqualina-vonlanthendinenna 2022-04-29 Build site.
html 2d44f8a pasqualina-vonlanthendinenna 2022-04-29 Build site.
Rmd 8b582f0 pasqualina-vonlanthendinenna 2022-04-29 added broullon climatology page, argo locations
html e61c08e pasqualina-vonlanthendinenna 2022-04-27 Build site.
Rmd 9664e0e pasqualina-vonlanthendinenna 2022-04-27 added temp data page, changed double extremes
html 10036ed pasqualina-vonlanthendinenna 2022-04-26 Build site.
html c03dd24 pasqualina-vonlanthendinenna 2022-04-20 Build site.
Rmd a2049e3 pasqualina-vonlanthendinenna 2022-04-20 separated loading data pages

Task

Explore double extremes in the temp and pH anomaly fields

Load Data

library(tidyverse)
library(lubridate)
library(ggnewscale)
theme_set(theme_bw())

HNL_colors_map <- c('H' = 'red3',
                    'N' = 'gray90',
                    'L' = 'blue3')
path_argo <- '/nfs/kryo/work/updata/bgc_argo_r_argodata'
path_argo_preprocessed <- paste0(path_argo, "/preprocessed_bgc_data")
path_emlr_utilities <- "/nfs/kryo/work/jenmueller/emlr_cant/utilities/files/"
map <-
  read_rds(paste(path_emlr_utilities,
                 "map_landmask_WOA18.rds",
                 sep = ""))

pH_extreme <- read_rds(file = paste0(path_argo_preprocessed, "/OceanSODA_pH_anomaly_field.rds"))

temp_extreme <- read_rds(file = paste0(path_argo_preprocessed, "/OceanSODA_SST_anomaly_field.rds"))


# argo pH data (flag A only)
full_argo <- read_rds(file = paste0(path_argo_preprocessed, "/bgc_merge_flag_A.rds"))


# change the date format for compatibility with OceanSODA pH data
full_argo <- full_argo %>%
  mutate(year = year(date),
         month = month(date)) %>%
  mutate(date = ymd(format(date, "%Y-%m-15")))

Anomaly maps

pH

pH_extreme %>%
  filter(year >= 2013) %>% 
  group_split(month) %>%
  #head(1) %>%
  map(
    ~map +
      geom_tile(data = .x,
                aes(x = lon_raw,
                    y = lat_raw,
                    fill = ph_extreme))+
      scale_fill_manual(values = HNL_colors_map)+
      facet_wrap(~year, ncol = 2)+
      lims(y = c(-85, -32))+
      labs(title = paste('month:', unique(.x$month)),
           fill = 'pH')
  )
[[1]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[2]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[3]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[4]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[5]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[6]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[7]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[8]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[9]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[10]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[11]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[12]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

SST

temp_extreme %>%
  filter(year >= 2013) %>% 
  group_split(month) %>%
  #head(1) %>%
  map(
    ~map +
      geom_tile(data = .x,
                aes(x = lon_raw,
                    y = lat_raw,
                    fill = temp_extreme))+
      scale_fill_manual(values = HNL_colors_map)+
      facet_wrap(~year, ncol = 2)+
      lims(y = c(-85, -32))+
      labs(title = paste('month:', unique(.x$month)),
           fill = 'pH')
  )
[[1]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[2]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[3]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[4]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[5]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[6]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[7]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[8]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[9]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[10]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[11]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[12]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

Join data

anomaly_field <- full_join(pH_extreme %>% 
                             select(lon_raw, lat_raw, month, year, date, basin_AIP, biome_name, ph_extreme),
                           temp_extreme %>% 
                             select(lon_raw, lat_raw, month, year, date, basin_AIP, biome_name, temp_extreme))
# chisq.test(anomaly_field$ph_extreme, anomaly_field$temp_extreme, correct = FALSE)

anomaly_field <- anomaly_field %>%
  mutate(
    double_extreme = case_when(
      temp_extreme == 'H' & ph_extreme == 'H' ~ 'warm_HpH',
      temp_extreme == 'L' &
        ph_extreme == 'H' ~ 'cold_HpH',
      temp_extreme == 'H' &
        ph_extreme == 'L' ~ 'warm_LpH',
      temp_extreme == 'L' &
        ph_extreme == 'L' ~ 'cold_LpH',
      temp_extreme == 'H' &
        ph_extreme == 'N' ~ 'warm',
      temp_extreme == 'L' &
        ph_extreme == 'N' ~ 'cold',
      temp_extreme == 'N' &
        ph_extreme == 'H' ~ 'HpH',
      temp_extreme == 'N' &
        ph_extreme == 'L' ~ 'LpH',
      TRUE ~ 'N'
    )
  ) %>%
  mutate(
    double_extreme = fct_relevel(
      double_extreme,
      'warm_HpH',
      'cold_HpH',
      'warm_LpH',
      'cold_LpH',
      'warm',
      'cold',
      'HpH',
      'LpH',
      'N'
    )
  )

Compound extreme maps

HNL_colors_map_temp <- c('H' = "#CD534CFF",
                    'N' = 'transparent',
                    'L' = "#0073C2FF")

HNL_colors_map_ph <- c('H' = "#009E73",
                    'N' = 'transparent',
                    'L' = "#EFC000FF")


anomaly_field %>%
  filter(year >= 2013,
         double_extreme != "N") %>%
  group_split(month) %>%
  # tail(1) %>%
  map(
    ~ map +
      geom_tile(data = .x,
                aes(
                  x = lon_raw,
                  y = lat_raw,
                  fill = ph_extreme
                ), alpha = 0.4) +
      scale_fill_manual(values = HNL_colors_map_ph) +
      new_scale_fill() +
      geom_tile(data = .x,
                aes(
                  x = lon_raw,
                  y = lat_raw,
                  fill = temp_extreme
                ), alpha = 0.4) +
      scale_fill_manual(values = HNL_colors_map_temp) +
      facet_wrap(~ year, ncol = 2) +
      lims(y = c(-85, -32)) +
      labs(title = paste0('month:', unique(.x$month)))
  )
[[1]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[2]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[3]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[4]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[5]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[6]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[7]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[8]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[9]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[10]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[11]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[12]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01
rm(HNL_colors_map_temp, HNL_colors_map_ph)
anomaly_field %>% 
  filter(year >= 2013) %>% 
  group_split(month) %>% 
  map(
    ~map+
      geom_tile(data = .x,
                aes(x = lon_raw,
                    y = lat_raw,
                    fill = double_extreme))+
      facet_wrap(~year, ncol = 2)+
      scale_fill_manual(values = c('warm_HpH' = 'brown',
                                   'warm_LpH' = 'yellow',
                                   'cold_HpH' = 'beige',
                                   'cold_LpH' = 'cyan',
                                   'cold' = 'blue',
                                   'warm' = 'red',
                                   'LpH' = 'orange',
                                   'HpH' = 'green',
                                   'N' = NA),
                        na.value = NA)+
      lims(y = c(-85, -32))+
      labs(title = paste0('month:', unique(.x$month)),
           fill = 'double extreme')
  )
[[1]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[2]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[3]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[4]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[5]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[6]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[7]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[8]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[9]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[10]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[11]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

[[12]]

Version Author Date
d4eaed4 jens-daniel-mueller 2022-05-01

Join Argo profile data

anomaly_field <- anomaly_field %>% 
  rename(lat = lat_raw,
         lon = lon_raw) %>% 
  filter(year >= 2013)
  
profile_double_extreme <- inner_join(full_argo %>% 
                                       select(-c(temp_adjusted_error, 
                                                 temp_adjusted_qc,
                                                 ph_in_situ_total_adjusted_error,
                                                 ph_in_situ_total_adjusted_qc,
                                                 profile_temp_qc,
                                                 profile_ph_in_situ_total_qc)),
                                     anomaly_field)

profile_double_extreme <- profile_double_extreme %>% 
  unite('platform_cycle', platform_number:cycle_number, sep = '_', remove = FALSE)
anomaly_field %>% 
  filter(year >= 2013) %>% 
  group_split(month) %>% 
  map(
    ~map+
      geom_tile(data = .x,
                aes(x = lon,
                    y = lat,
                    fill = double_extreme))+
      facet_wrap(~year, ncol = 2)+
      scale_fill_manual(values = c('warm_HpH' = 'brown',
                                   'warm_LpH' = 'yellow',
                                   'cold_HpH' = 'beige',
                                   'cold_LpH' = 'cyan',
                                   'cold' = 'blue',
                                   'warm' = 'red',
                                   'LpH' = 'orange',
                                   'HpH' = 'green',
                                   'N' = NA),
                        na.value = NA)+
      geom_point(data = profile_double_extreme, 
                 aes(x = lon,
                     y = lat),
                 size = 0.2)+
      lims(y = c(-85, -32))+
      labs(title = paste0('month:', unique(.x$month)),
           fill = 'double extreme')
  )
[[1]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[2]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[3]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[4]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[5]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[6]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[7]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[8]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[9]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[10]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[11]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

[[12]]

Version Author Date
2d44f8a pasqualina-vonlanthendinenna 2022-04-29

Plot Profiles

Raw

pH

profile_double_extreme %>% 
  group_split(biome_name, basin_AIP, year) %>% 
  map(
    ~ggplot(data = .x,
            aes(x = ph_in_situ_total_adjusted,
                y = depth,
                group = platform_cycle,
                col = double_extreme))+
      geom_path(data = .x %>% filter(double_extreme == 'N'),
                aes(x = ph_in_situ_total_adjusted,
                    y = depth, 
                    group = platform_cycle,
                    col = double_extreme),
                size = 0.3)+
      geom_path(data = .x %>% filter(double_extreme == 'E'),
                aes(x = ph_in_situ_total_adjusted,
                    y = depth, 
                    group = platform_cycle,
                    col = double_extreme),
                size = 0.5)+
      scale_y_reverse()+
      scale_color_manual(values = c('N' = 'gray', 'E' = 'red'))+
      facet_wrap(~month, ncol = 6)+
      labs(title = paste0('biome: ', unique(.x$biome_name), '| ', unique(.x$basin_AIP), '| ', unique(.x$year)),
           col = 'double extreme',
           x = 'Argo pH',
           y = 'depth')
  )
[[1]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[2]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[3]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[4]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[5]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[6]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[7]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[8]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[9]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[10]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[11]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[12]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[13]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[14]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[15]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[16]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[17]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[18]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[19]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[20]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[21]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[22]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[23]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[24]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[25]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[26]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[27]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[28]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[29]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[30]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[31]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[32]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[33]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[34]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[35]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[36]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[37]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[38]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[39]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[40]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[41]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[42]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[43]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[44]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[45]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[46]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[47]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[48]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[49]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[50]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[51]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[52]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[53]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[54]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[55]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[56]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

Temperature

profile_double_extreme %>% 
  group_split(biome_name, basin_AIP, year) %>% 
  map(
    ~ggplot(data = .x,
            aes(x = temp_adjusted,
                y = depth,
                group = platform_cycle,
                col = double_extreme))+
      geom_path(data = .x %>% filter(double_extreme == 'N'),
                aes(x = temp_adjusted,
                    y = depth, 
                    group = platform_cycle,
                    col = double_extreme),
                size = 0.3)+
      geom_path(data = .x %>% filter(double_extreme == 'E'),
                aes(x = temp_adjusted,
                    y = depth, 
                    group = platform_cycle,
                    col = double_extreme),
                size = 0.5)+
      scale_y_reverse()+
      scale_color_manual(values = c('N' = 'gray', 'E' = 'red'))+
      facet_wrap(~month, ncol = 6)+
      labs(title = paste0('biome: ', unique(.x$biome_name), '| ', unique(.x$basin_AIP), '| ', unique(.x$year)),
           col = 'double extreme',
           x = 'Argo temperature',
           y = 'depth')
  )
[[1]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[2]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[3]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[4]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[5]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[6]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[7]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[8]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[9]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[10]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[11]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[12]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[13]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[14]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[15]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[16]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[17]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[18]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[19]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[20]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[21]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[22]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[23]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[24]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[25]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[26]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[27]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[28]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[29]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[30]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[31]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[32]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[33]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[34]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[35]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[36]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[37]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[38]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[39]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[40]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[41]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[42]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[43]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[44]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[45]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[46]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[47]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[48]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[49]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[50]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[51]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[52]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[53]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[54]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[55]]

Version Author Date
e61c08e pasqualina-vonlanthendinenna 2022-04-27
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

[[56]]

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20

Pacific basin, STSS biome, December 2017

Pacific_STSS_2017 <- profile_double_extreme %>% 
  filter(date == '2017-12-15',
         basin_AIP == 'Pacific',
         biome_name == 'STSS')

# pH: 
Pacific_STSS_2017 %>% 
  ggplot()+
  geom_path(data = Pacific_STSS_2017 %>% filter(double_extreme == 'N'),
            aes(x = ph_in_situ_total_adjusted,
                y = depth,
                group = platform_cycle, 
                col = double_extreme),
            size = 0.3)+
  geom_path(data = Pacific_STSS_2017 %>% filter(double_extreme == 'E'),
            aes(x = ph_in_situ_total_adjusted,
                y = depth,
                group = platform_cycle, 
                col = double_extreme),
            size = 0.5)+
  scale_y_reverse()+
  scale_color_manual(values = c('E' = 'red', 'N' = 'grey'))+
  labs(title = 'Pacific, STSS biome, December 2017',
       col = 'double extreme',
       x = 'Argo pH',
       y = 'depth')

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20
# Temperature 

Pacific_STSS_2017 %>% 
  ggplot()+
  geom_path(data = Pacific_STSS_2017 %>% filter(double_extreme == 'N'),
            aes(x = temp_adjusted,
                y = depth,
                group = platform_cycle, 
                col = double_extreme),
            size = 0.3)+
  geom_path(data = Pacific_STSS_2017 %>% filter(double_extreme == 'E'),
            aes(x = temp_adjusted,
                y = depth,
                group = platform_cycle, 
                col = double_extreme),
            size = 0.5)+
  scale_y_reverse()+
  scale_color_manual(values = c('E' = 'red', 'N' = 'grey'))+
  labs(title = 'Pacific, STSS biome, December 2017',
       col = 'double extreme',
       x = 'Argo pH',
       y = 'depth')

Version Author Date
c03dd24 pasqualina-vonlanthendinenna 2022-04-20
rm(Pacific_STSS_2017)

Pacific basin, STSS biome, December 2019

No profiles for December 2019 in SPSS or STSS Pacific


sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: openSUSE Leap 15.3

Matrix products: default
BLAS:   /usr/local/R-4.1.2/lib64/R/lib/libRblas.so
LAPACK: /usr/local/R-4.1.2/lib64/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
 [1] ggnewscale_0.4.5 lubridate_1.8.0  forcats_0.5.1    stringr_1.4.0   
 [5] dplyr_1.0.7      purrr_0.3.4      readr_2.1.1      tidyr_1.1.4     
 [9] tibble_3.1.6     ggplot2_3.3.5    tidyverse_1.3.1  workflowr_1.7.0 

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.8       getPass_0.2-2    ps_1.6.0         assertthat_0.2.1
 [5] rprojroot_2.0.2  digest_0.6.29    utf8_1.2.2       R6_2.5.1        
 [9] cellranger_1.1.0 backports_1.4.1  reprex_2.0.1     evaluate_0.14   
[13] highr_0.9        httr_1.4.2       pillar_1.6.4     rlang_1.0.2     
[17] readxl_1.3.1     rstudioapi_0.13  whisker_0.4      callr_3.7.0     
[21] jquerylib_0.1.4  rmarkdown_2.11   labeling_0.4.2   munsell_0.5.0   
[25] broom_0.7.11     compiler_4.1.2   httpuv_1.6.5     modelr_0.1.8    
[29] xfun_0.29        pkgconfig_2.0.3  htmltools_0.5.2  tidyselect_1.1.1
[33] fansi_1.0.2      withr_2.4.3      crayon_1.4.2     tzdb_0.2.0      
[37] dbplyr_2.1.1     later_1.3.0      grid_4.1.2       jsonlite_1.7.3  
[41] gtable_0.3.0     lifecycle_1.0.1  DBI_1.1.2        git2r_0.29.0    
[45] magrittr_2.0.1   scales_1.1.1     cli_3.1.1        stringi_1.7.6   
[49] farver_2.1.0     fs_1.5.2         promises_1.2.0.1 xml2_1.3.3      
[53] bslib_0.3.1      ellipsis_0.3.2   generics_0.1.1   vctrs_0.3.8     
[57] tools_4.1.2      glue_1.6.0       hms_1.1.1        processx_3.5.2  
[61] fastmap_1.1.0    yaml_2.2.1       colorspace_2.0-2 rvest_1.0.2     
[65] knitr_1.37       haven_2.4.3      sass_0.4.0