Last updated: 2020-12-11

Checks: 7 0

Knit directory: emlr_obs_preprocessing/

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 7aaabdf. 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/

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 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/updata/emlr_cant/utilities/"

1 Definition

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

depth_levels = c(0, 150, 500, 2000)

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),
    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(-15, 15, 3), 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)
  )

params_global
$lat_max
[1] 65

$lat_min
[1] -85

$lat_min_SO
[1] -35

$lat_equator
[1] 0

$lon_Atl_section
[1] 335.5

$lon_Pac_section
[1] 190.5

$lon_Ind_section
[1] 70.5

$lat_Atl_profile
[1] 40.5

$lat_section_N
[1] 59.5

$lat_section_S
[1] -59.5

$longitude_sections_basin
[1] 335.5 190.5  70.5

$longitude_sections_regular
 [1]  30.5  50.5  70.5  90.5 110.5 130.5 150.5 170.5 190.5 210.5 230.5 250.5
[13] 270.5 290.5 310.5 330.5 350.5 370.5

$inventory_depth_standard
[1] 3000

$inventory_depths
[1]   100   500  1000  3000 10000

$plotting_depth
[1] 4500

$cruises_meridional
[1] 1041

$depth_levels
[1]    0  150  500 2000

$depth_levels_33
 [1]    0   10   20   30   50   75  100  125  150  200  250  300  400  500  600
[16]  700  800  900 1000 1100 1200 1300 1400 1500 1750 2000 2500 3000 3500 4000
[31] 4500 5000 5500

$breaks_cant_pos_inv
 [1]   0   2   4   6   8  10  12  14  16 Inf

$breaks_cant_inv
 [1] -Inf  -16  -14  -12  -10   -8   -6   -4   -2    0    2    4    6    8   10
[16]   12   14   16  Inf

$breaks_cant_inv_offset
 [1] -Inf  -15  -12   -9   -6   -3    0    3    6    9   12   15  Inf

$breaks_cant_pos
 [1]   0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18
[20] Inf

$breaks_cant
 [1] -Inf  -16  -14  -12  -10   -8   -6   -4   -2    0    2    4    6    8   10
[16]   12   14   16  Inf

$breaks_cant_offset
 [1] -Inf   -8   -7   -6   -5   -4   -3   -2   -1    0    1    2    3    4    5
[16]    6    7    8  Inf

2 Write file

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

sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: openSUSE Leap 15.1

Matrix products: default
BLAS:   /usr/local/R-4.0.3/lib64/R/lib/libRblas.so
LAPACK: /usr/local/R-4.0.3/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.0   stringr_1.4.0   dplyr_1.0.2     purrr_0.3.4    
 [5] readr_1.4.0     tidyr_1.1.2     tibble_3.0.4    ggplot2_3.3.2  
 [9] tidyverse_1.3.0 workflowr_1.6.2

loaded via a namespace (and not attached):
 [1] tidyselect_1.1.0 xfun_0.18        haven_2.3.1      colorspace_2.0-0
 [5] vctrs_0.3.5      generics_0.0.2   htmltools_0.5.0  yaml_2.2.1      
 [9] blob_1.2.1       rlang_0.4.9      later_1.1.0.1    pillar_1.4.7    
[13] withr_2.3.0      glue_1.4.2       DBI_1.1.0        dbplyr_1.4.4    
[17] modelr_0.1.8     readxl_1.3.1     lifecycle_0.2.0  munsell_0.5.0   
[21] gtable_0.3.0     cellranger_1.1.0 rvest_0.3.6      evaluate_0.14   
[25] knitr_1.30       httpuv_1.5.4     fansi_0.4.1      broom_0.7.2     
[29] Rcpp_1.0.5       promises_1.1.1   backports_1.1.10 scales_1.1.1    
[33] jsonlite_1.7.1   fs_1.5.0         hms_0.5.3        digest_0.6.27   
[37] stringi_1.5.3    rprojroot_2.0.2  grid_4.0.3       cli_2.2.0       
[41] tools_4.0.3      magrittr_2.0.1   crayon_1.3.4     whisker_0.4     
[45] pkgconfig_2.0.3  ellipsis_0.3.1   xml2_1.3.2       reprex_0.3.0    
[49] lubridate_1.7.9  assertthat_0.2.1 rmarkdown_2.5    httr_1.4.2      
[53] rstudioapi_0.13  R6_2.5.0         git2r_0.27.1     compiler_4.0.3