Last updated: 2022-10-23

Checks: 7 0

Knit directory: emlr_obs_preprocessing/

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(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 221ee12. 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:    data/
    Ignored:    output/

Untracked files:
    Untracked:  code/read_GLODAPv2_2022.Rmd

Unstaged changes:
    Modified:   code/Workflowr_project_managment.R

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/config_parameterization.Rmd) and HTML (docs/config_parameterization.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
html e949567 jens-daniel-mueller 2022-04-13 Build site.
html aea9afe jens-daniel-mueller 2022-04-07 Build site.
html 9451c4b jens-daniel-mueller 2022-04-06 Build site.
html 7e94d73 jens-daniel-mueller 2022-04-06 Build site.
Rmd 8d52a4b jens-daniel-mueller 2022-04-06 rerun all with lat max 65N
html f088f55 jens-daniel-mueller 2022-04-01 Build site.
html dde77eb jens-daniel-mueller 2022-04-01 Build site.
Rmd a1ea47d jens-daniel-mueller 2022-04-01 rerun all including arctic and North Atlantic biome
html 6e65117 jens-daniel-mueller 2022-02-16 Build site.
html f2871b9 jens-daniel-mueller 2021-11-20 Build site.
html 0908ee5 jens-daniel-mueller 2021-11-15 Build site.
html 7987bb7 jens-daniel-mueller 2021-10-21 Build site.
Rmd b64c54d jens-daniel-mueller 2021-10-21 added inventory layer depth
html 0659571 jens-daniel-mueller 2021-07-29 Build site.
Rmd d2d61c3 jens-daniel-mueller 2021-07-29 added ORCA depth_levels
html e49875a jens-daniel-mueller 2021-07-07 Build site.
html 6312bd4 jens-daniel-mueller 2021-07-07 Build site.
html 58bc706 jens-daniel-mueller 2021-07-06 Build site.
html f600971 jens-daniel-mueller 2021-07-02 Build site.
html 265c4ef jens-daniel-mueller 2021-06-04 Build site.
html c79346a jens-daniel-mueller 2021-06-03 Build site.
html 0efd00c jens-daniel-mueller 2021-05-31 Build site.
Rmd 8bd94f4 jens-daniel-mueller 2021-05-31 included G19 S04 comparison
html 0ef91d5 jens-daniel-mueller 2021-05-12 Build site.
html ace484d jens-daniel-mueller 2021-05-12 Build site.
html 6ff516e jens-daniel-mueller 2021-03-30 Build site.
html a5846c5 jens-daniel-mueller 2020-12-18 Build site.
Rmd 5538466 jens-daniel-mueller 2020-12-18 subsetted WOA depth levels to 33 standard depths
html 88967c0 jens-daniel-mueller 2020-12-16 Build site.
html fd1a2c9 jens-daniel-mueller 2020-12-15 cleaned for copying
html ed3e64c jens-daniel-mueller 2020-12-15 Build site.
html 2fdd2a7 jens-daniel-mueller 2020-12-14 Build site.
html cc07d29 jens-daniel-mueller 2020-12-14 Build site.
html 4ded3cd jens-daniel-mueller 2020-12-14 Build site.
Rmd a09b95f jens-daniel-mueller 2020-12-14 rebuild with new root folder
html 76a6cc9 jens-daniel-mueller 2020-12-14 Build site.
Rmd bef7ff9 jens-daniel-mueller 2020-12-14 rebuild with new root folder
html 474daac jens-daniel-mueller 2020-12-12 Build site.
html 5c773fa jens-daniel-mueller 2020-12-11 Build site.
html ae7aa2e jens-daniel-mueller 2020-12-11 Build site.
Rmd ec6f803 jens-daniel-mueller 2020-12-11 apply only lat max but not basinmak
html 914159f jens-daniel-mueller 2020-12-11 Build site.
Rmd 30eb59a jens-daniel-mueller 2020-12-11 created basin masks for analysis
html 9c5d86d jens-daniel-mueller 2020-12-11 Build site.
Rmd 8a8db38 jens-daniel-mueller 2020-12-11 renamed tem to temp
html 5b02360 jens-daniel-mueller 2020-12-03 Build site.
Rmd ac9d747 jens-daniel-mueller 2020-12-03 defined standard and sequence of inventory depth thresholds
html 999cd9d jens-daniel-mueller 2020-12-02 Build site.
html e28cc90 jens-daniel-mueller 2020-11-30 Build site.
Rmd cd676e8 jens-daniel-mueller 2020-11-30 created global parameterization file params_global.rds
html 825309e jens-daniel-mueller 2020-11-27 Build site.
html 58359ac jens-daniel-mueller 2020-11-27 Build site.
Rmd 92e10aa Jens Müller 2020-11-27 Initial commit
html 92e10aa Jens Müller 2020-11-27 Initial commit

library(tidyverse)
path_utilities  <- "/nfs/kryo/work/jenmueller/emlr_cant/utilities/"

1 Definition

Following global parameterizations were chosen to run all analysis and display results:

# CESM depth levels
depth_levels = c(0, 150,  500, 2000,
                 5, 155, 483, 1969,
                 3, 160, 534, 2054)

#GLODAP depth levels
depth_levels_33 <- c(
  0,
  10,
  20,
  30,
  50,
  75,
  100,
  125,
  150,
  200,
  250,
  300,
  400,
  500,
  600,
  700,
  800,
  900,
  1000,
  1100,
  1200,
  1300,
  1400,
  1500,
  1750,
  2000,
  2500,
  3000,
  3500,
  4000,
  4500,
  5000,
  5500
)

longitude_sections_basin <- c(335.5, 190.5, 70.5)
longitude_sections_regular <- seq(30.5, 380.5, 20)

params_global <-
  lst(
    lat_max = 65,
    lat_min = -85,
    lat_min_SO = -35,
    lat_equator = 0,
    lon_Atl_section = 335.5,
    lon_Pac_section = 190.5,
    lon_Ind_section = 70.5,
    lat_Atl_profile = 40.5,
    lat_section_N = 59.5,
    lat_section_S = -59.5,
    longitude_sections_basin = longitude_sections_basin,
    longitude_sections_regular = longitude_sections_regular,
    inventory_depth_standard = 3000,
    inventory_depths = c(100, 500, 1000, 3000, 10000),
    inventory_depth_layer = seq(0, 1e4, 500),
    plotting_depth = 4500,
    cruises_meridional = 1041,
    depth_levels = depth_levels,
    depth_levels_33 = depth_levels_33,
    breaks_cant_pos_inv = c(seq(0,16,2),Inf),
    breaks_cant_inv = c(-Inf,seq(-16,16,2),Inf),
    breaks_cant_inv_offset = c(-Inf, seq(-12, 12, 2), Inf),
    breaks_cant_pos = c(seq(0, 18, 1), Inf),
    breaks_cant = c(-Inf,seq(-16,16,2),Inf),
    breaks_cant_offset = c(-Inf,seq(-8,8,),Inf)
  )

2 Write file

params_global %>%
  write_rds(
    paste(path_utilities,
          "files/params_global.rds",
          sep = "")
    )

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] forcats_0.5.1   stringr_1.4.0   dplyr_1.0.7     purrr_0.3.4    
 [5] readr_2.1.1     tidyr_1.1.4     tibble_3.1.6    ggplot2_3.3.5  
 [9] tidyverse_1.3.1 workflowr_1.7.0

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