getAggNodeBenthosLayerFiles: Produce an average spatial layer as first step to do a map

Description Usage Arguments Examples

View source: R/getAggNodesBenthosLayerFiles.R

Description

This function generates an average layer as a first step to generate maps from popnodes files Two different types of files are going to be written behind the scene i.e. one file storing the stack of all input files and keeping the sce dimension, the other doing the averaging per sce.

Usage

1
getAggNodeBenthosLayerFiles(general, a_tstep = "34321")

Arguments

fname

First name

lname

Last name

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Not run: 
general <- setGeneralOverallVariable (pathToRawInputs =file.path("C:", "Users", "fbas", 
                                                "Documents", "GitHub", paste0("DISPLACE_input_gis_", 
                                                 "DanishFleet")),
                                      pathToDisplaceInputs = file.path("C:", "Users", "fbas", 
                                                "Documents", "GitHub", paste0("DISPLACE_input_", "DanishFleet")),
                                      pathToOutputs =file.path("C:","DISPLACE_outputs"),
                                      caseStudy="DanishFleet",
                                      iGraph=41,
                                      iYear="2015",
                                      iCountry="DEN",
                                      nbPops=39,
                                      nbSzgroup=14,
                                      theScenarios= c("svana_baseline",
                                                      "svana_sub1mx20",
                                                      "svana_sub4mx20",
                                                      "svana_sub4mx5ns20bt",
                                                      "svana_sub4mx20ns5bt",
                                                      "svana_sub4mx5ns5bt" ),
                                      nbSimus=20,
                                      useSQLite=FALSE    
                                      )


getAggNodeBenthosLayerFiles (general,  a_tstep="34321")
 #=> produce files in output folders....
 
## End(Not run)

frabas/displaceplot documentation built on May 3, 2019, 4:06 p.m.