@@ -427,7 +427,7 @@ process_atl_output = function(
427427 sp.overlap = list ()
428428 biomass.box.invert = list ()
429429 length.age = list ()
430-
430+ message( " Reading in 'Nums', 'StructN', 'ResN', 'N' " )
431431 if (large.file == F ) {
432432 vars = list (' Nums' , ' StructN' , ' ResN' , ' N' )
433433 group.types = list (groups.age , groups.age , groups.age , groups.bp )
@@ -979,6 +979,7 @@ process_atl_output = function(
979979 growth.rel.init = list ()
980980 bio.consumed = list ()
981981
982+ message(" Reading in 'Eat', 'Grazing', 'Growth'" )
982983 if (large.file == F ) {
983984 vars = list (' Eat' , ' Grazing' , ' Growth' )
984985 group.types = list (groups.age , groups.bp , groups.age )
@@ -1014,28 +1015,20 @@ process_atl_output = function(
10141015 consumed_bio = data_eat %> %
10151016 dplyr :: filter(species == pred.names [i ]) %> %
10161017 dplyr :: left_join(boxvol , by = c(' polygon' , ' time' )) %> %
1017- dplyr :: mutate_(
1018- .dots = stats :: setNames(list (~ atoutput * vol ), " atoutput" )
1019- ) %> %
1020- dplyr :: mutate_(
1021- .dots = stats :: setNames(list (~ atoutput * bio.conv ), " atoutput" )
1022- ) %> %
1018+ dplyr :: mutate(atoutput = atoutput * vol ) %> %
1019+ dplyr :: mutate(atoutput = atoutput * bio.conv ) %> %
10231020 dplyr :: full_join(
10241021 dplyr :: filter(data.dietcheck , pred == pred.names [i ]),
10251022 by = c(species = " pred" , " time" , " agecl" )
10261023 ) %> %
1027- dplyr :: filter_( ~ time %in% ts_eat ) %> %
1028- dplyr :: rename_( .dots = c( pred = " species" ) )
1024+ dplyr :: filter( time %in% ts_eat ) %> %
1025+ dplyr :: rename( pred = species )
10291026 bio.consumed [[i ]] = consumed_bio %> %
1030- dplyr :: filter_(~ ! is.na(atoutput.x )) %> %
1031- dplyr :: filter_(~ ! is.na(atoutput.y )) %> %
1032- dplyr :: mutate_(
1033- .dots = stats :: setNames(list (~ atoutput.x * atoutput.y ), " atoutput" )
1034- ) %> %
1035- dplyr :: select_(
1036- .dots = names(. )[
1037- ! names(. ) %in% c(" atoutput.x" , " vol" , " atoutput.y" )
1038- ]
1027+ dplyr :: filter(! is.na(atoutput.x )) %> %
1028+ dplyr :: filter(! is.na(atoutput.y )) %> %
1029+ dplyr :: mutate(atoutput = atoutput.x * atoutput.y ) %> %
1030+ dplyr :: select(
1031+ ! dplyr :: any_of(c(" atoutput.x" , " vol" , " atoutput.y" ))
10391032 ) %> %
10401033 dplyr :: ungroup()
10411034
@@ -1203,7 +1196,7 @@ process_atl_output = function(
12031196 }
12041197
12051198 # Do catch -------------------------------------------------------------------
1206-
1199+ message( " Reading Catch " )
12071200 if (plot.catch | plot.spatial.catch | process.all | plot.all ) {
12081201 catch = atlantistools :: load_nc(
12091202 param.ls $ catch ,
0 commit comments