Project

General

Profile

Support #11021 » RLOGb8345554-8a50-446c-bf59-aec05145675a.txt

Paul Taconet, Jan 25, 2018 12:40 PM

 
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_ca3c3b66-ab4c-4a6e-b8b6-bfb47443581d/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_ca3c3b66-ab4c-4a6e-b8b6-bfb47443581d/sai_project/a0f20cfd-cc13-4d2f-befb-1759141612cdmain')
24
setting working directory
25
setting working directory /home/gcube/tomcat/webapps/wps/ecocfg/rscr_ca3c3b66-ab4c-4a6e-b8b6-bfb47443581d/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
null
76
Loading required package: dplyr
77

    
78
Attaching package: ‘dplyr’
79

    
80
The following objects are masked from ‘package:stats’:
81

    
82
    filter, lag
83

    
84
The following objects are masked from ‘package:base’:
85

    
86
    intersect, setdiff, setequal, union
87

    
88
Loading required package: data.table
89

    
90
Attaching package: ‘data.table’
91

    
92
The following objects are masked from ‘package:dplyr’:
93

    
94
    between, first, last
95

    
96
Loading required package: DBI
97
Joining, by = c("source_authority", "gear")
98
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
99
Joining, by = c("source_authority", "species")
100
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
101
Joining, by = c("source_authority", "flag")
102
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
103
Joining, by = c("source_authority", "schooltype")
104
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
105
Joining, by = c("source_authority", "catchtype")
106
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
107
Joining, by = c("source_authority", "gear")
108
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
109
Joining, by = c("source_authority", "species")
110
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
111
Joining, by = c("source_authority", "flag")
112
Using 'sum_value_by_dimension' as value column. Use 'value.var' to override
113
Joining, by = c("source_authority", "flag", "gear", "species", "unit", "year")
114
Joining, by = "unit"
115
Joining, by = "unit"
116
Joining, by = "unit"
117
Joining, by = "unit"
118
Joining, by = "unit"
119
trying URL 'https://raw.githubusercontent.com/ptaconet/rtunaatlas_scripts/master/tunaatlas_world/create_own_tuna_atlas/create_own_tuna_atlas_catch_effort.R'
120
Content type 'text/plain; charset=utf-8' length 27047 bytes (26 KB)
121
==================================================
122
downloaded 26 KB
123

    
124
Error in push_R_script_to_server(metadata_and_parameterization, virtual_repository_with_R_files,  : 
125
  object 'gcube_username' not found
126
Calls: source ... withVisible -> eval -> eval -> push_R_script_to_server
127
In addition: Warning messages:
128
1: In postgresqlExecStatement(conn, statement, ...) :
129
  RS-DBI driver warning: (unrecognized PostgreSQL field type unknown (id:705) in column 2)
130
2: In postgresqlExecStatement(conn, statement, ...) :
131
  RS-DBI driver warning: (unrecognized PostgreSQL field type unknown (id:705) in column 3)
132
Execution halted
133
null
(2-2/3)
Add picture from clipboard (Maximum size: 8.91 MB)