1
|
R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
|
2
|
Copyright (C) 2017 The R Foundation for Statistical Computing
|
3
|
Platform: x86_64-pc-linux-gnu (64-bit)
|
4
|
|
5
|
R is free software and comes with ABSOLUTELY NO WARRANTY.
|
6
|
You are welcome to redistribute it under certain conditions.
|
7
|
Type 'license()' or 'licence()' for distribution details.
|
8
|
|
9
|
Natural language support but running in an English locale
|
10
|
|
11
|
R is a collaborative project with many contributors.
|
12
|
Type 'contributors()' for more information and
|
13
|
'citation()' on how to cite R or R packages in publications.
|
14
|
|
15
|
Type 'demo()' for some demos, 'help()' for on-line help, or
|
16
|
'help.start()' for an HTML browser interface to help.
|
17
|
Type 'q()' to quit R.
|
18
|
|
19
|
> setwd("/home/gcube/tomcat/webapps/wps/config/../ecocfg/rscr_88ca8e87-5f0c-4ae4-abe4-03b2a1fa6b4d/sai_project")
|
20
|
> gcube_token<<-"0b999a4f-f160-4697-9166-b68e0071f128-843339462"
|
21
|
> gcube_username<<-"paultaconet"
|
22
|
> gcube_context<<-"/d4science.research-infrastructures.eu/gCubeApps/RPrototypingLab"
|
23
|
> source('/home/gcube/tomcat/webapps/wps/config/../ecocfg/rscr_88ca8e87-5f0c-4ae4-abe4-03b2a1fa6b4d/sai_project/96febf27-7f5f-418b-a41c-175871d821b9main')
|
24
|
setting working directory
|
25
|
setting working directory /home/gcube/tomcat/webapps/wps/ecocfg/rscr_88ca8e87-5f0c-4ae4-abe4-03b2a1fa6b4d/sai_project
|
26
|
setting working directory OK
|
27
|
setting values to parameters
|
28
|
setting values to parameters OK
|
29
|
create metadata_and_parameterization object
|
30
|
create metadata_and_parameterization object OK
|
31
|
source R scripts to use in the algo
|
32
|
source R scripts to use in the algo OK
|
33
|
Start generating dataset
|
34
|
Starting generation of the dataset...
|
35
|
Begin: Retrieving primary datasets from Tuna atlas DB...
|
36
|
Retrieving IOTC georeferenced dataset from the Tuna atlas database...
|
37
|
|
38
|
retrieving dataset
|
39
|
dimension schooltype is missing in the dataset. Adding this dimension to the dataset and filling it with values UNK (unknown)
|
40
|
dimension catchtype is missing in the dataset. Adding this dimension to the dataset and filling it with values UNK (unknown)
|
41
|
retrieving dataset
|
42
|
dimension schooltype is missing in the dataset. Adding this dimension to the dataset and filling it with values UNK (unknown)
|
43
|
dimension catchtype is missing in the dataset. Adding this dimension to the dataset and filling it with values UNK (unknown)
|
44
|
retrieving dataset
|
45
|
dimension catchtype is missing in the dataset. Adding this dimension to the dataset and filling it with values UNK (unknown)Retrieving IOTC georeferenced dataset from the Tuna atlas database OK
|
46
|
Retrieving RFMOs nominal catch...
|
47
|
|
48
|
retrieving dataset Retrieving RFMOs nominal catch OK
|
49
|
Retrieving primary datasets from the Tuna atlas DB OK
|
50
|
Mapping code lists...
|
51
|
Reading the CSV containing the dimensions to map + the names of the code list mapping datasets. Code list mapping datasets must be available in the database.
|
52
|
Mapping code lists OK
|
53
|
Mapping code lists of georeferenced georef_dataset datasets...
|
54
|
|
55
|
mapping dimension gear with code list mapping
|
56
|
mapping dimension species with code list mapping
|
57
|
mapping dimension flag with code list mapping
|
58
|
mapping dimension schooltype with code list mapping
|
59
|
mapping dimension catchtype with code list mappingMapping code lists of georeferenced georef_dataset datasets OK
|
60
|
Mapping code lists of nominal georef_dataset datasets...
|
61
|
|
62
|
mapping dimension gear with code list mapping
|
63
|
mapping dimension species with code list mapping
|
64
|
mapping dimension flag with code list mappingMapping code lists of nominal georef_dataset datasets OK
|
65
|
Raising georeferenced dataset to nominal dataset
|
66
|
Raising georeferenced dataset of IOTC, ICCAT and IATTC - if included in the Tuna Atlas - by gear,flag,species,year,source_authority,unit
|
67
|
Raising georeferenced dataset to nominal dataset OK
|
68
|
Aggregating data that are defined on quadrants or areas inferior to 5° quadrant resolution to corresponding 5° quadrant...
|
69
|
Aggregating data that are defined on quadrants or areas inferior to 5° quadrant resolution to corresponding 5° quadrant OK
|
70
|
Reallocating data that are in land areas...
|
71
|
Please ignore here-under warning messages 'unrecognized PostgreSQL field type unknown'Removing data that are in land areas...
|
72
|
Removing data that are in land areas OK
|
73
|
End: Your tuna atlas dataset has been created! Your output data.frame is called 'dataset'
|
74
|
End generation of the dataset
|
75
|
Uploading indian_ocean_catch_1m_1952_11_01_2016_01_01_tunaatlasird.R to /Workspace/MySpecialFolders/FAO_TunaAtlas/R_scripts/datasets_creation
|
76
|
null
|
77
|
Loading required package: dplyr
|
78
|
|
79
|
Attaching package: ‘dplyr’
|
80
|
|
81
|
The following objects are masked from ‘package:stats’:
|
82
|
|
83
|
filter, lag
|
84
|
|
85
|
The following objects are masked from ‘package:base’:
|
86
|
|
87
|
intersect, setdiff, setequal, union
|
88
|
|
89
|
Loading required package: data.table
|
90
|
|
91
|
Attaching package: ‘data.table’
|
92
|
|
93
|
The following objects are masked from ‘package:dplyr’:
|
94
|
|
95
|
between, first, last
|
96
|
|
97
|
Loading required package: DBI
|
98
|
Joining, by = c("source_authority", "gear")
|
99
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
100
|
Joining, by = c("source_authority", "species")
|
101
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
102
|
Joining, by = c("source_authority", "flag")
|
103
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
104
|
Joining, by = c("source_authority", "schooltype")
|
105
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
106
|
Joining, by = c("source_authority", "catchtype")
|
107
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
108
|
Joining, by = c("source_authority", "gear")
|
109
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
110
|
Joining, by = c("source_authority", "species")
|
111
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
112
|
Joining, by = c("source_authority", "flag")
|
113
|
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
|
114
|
Joining, by = c("source_authority", "flag", "gear", "species", "unit", "year")
|
115
|
Joining, by = "unit"
|
116
|
Joining, by = "unit"
|
117
|
Joining, by = "unit"
|
118
|
Joining, by = "unit"
|
119
|
Joining, by = "unit"
|
120
|
trying URL 'https://raw.githubusercontent.com/ptaconet/rtunaatlas_scripts/master/tunaatlas_world/create_own_tuna_atlas/create_own_tuna_atlas_catch_effort.R'
|
121
|
Content type 'text/plain; charset=utf-8' length 27047 bytes (26 KB)
|
122
|
==================================================
|
123
|
downloaded 26 KB
|
124
|
|
125
|
Creating a generic function for ‘toJSON’ from package ‘jsonlite’ in package ‘googleVis’
|
126
|
Error in authenticate(username, token, type = "basic") :
|
127
|
object 'username' not found
|
128
|
Calls: source ... request_build -> as.request -> authenticate -> stopifnot
|
129
|
In addition: Warning messages:
|
130
|
1: In postgresqlExecStatement(conn, statement, ...) :
|
131
|
RS-DBI driver warning: (unrecognized PostgreSQL field type unknown (id:705) in column 2)
|
132
|
2: In postgresqlExecStatement(conn, statement, ...) :
|
133
|
RS-DBI driver warning: (unrecognized PostgreSQL field type unknown (id:705) in column 3)
|
134
|
Execution halted
|
135
|
null
|