Changes between Version 3 and Version 4 of Import SIBIC data to dbeel


Ignore:
Timestamp:
Nov 20, 2018 3:20:25 PM (6 years ago)
Author:
maria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Import SIBIC data to dbeel

    v3 v4  
    11back to start page [[..]] 
     2[[PageOutline]] 
     3* [#OPERATION Operations of electrofishing] 
     4* [#EFFICIENCY Estimation of electrofishing efficiency] 
    25 
    36=== Tickets === 
     7#93 and #94 
    48 
    5 = Import impact data to dbeel = 
     9= Import SIBIC data to dbeel = 
    610 
    7 The different data from data providers are imported in the schema sudoang of the dbeel database. [[BR]] 
    8 You can see the code in: source:eda/EDAcommun/sql/sudoang/dbeel_sudoang_obstruction.sql  [[BR]] 
     11Note: for the moment María and Cédric don't have exactly the same number of data as some schema (meuse, iav...) were not saved in Maria's database, to be fixed later. 
     12 
     13For the moment, we used the structure of the dbeel database (developed for the POSE Project). Firstly we use empty tables from dbeel database to import data from SIBIC database, whose structure is also defined in ... We will try to conserve the structure of the SIBIC as much as possible to exchange with their providers. 
     14 
     15You can see the code in: 
     16 
     17file: source:eda/EDAcommun/sql/sudoang/dbeel_sudoang_electrofishing.sql  [[BR]] (use source explorer in the tabs to see the code) 
     18 
     19The steps realized until now are: 
     20 1. Integrate the name of establishments and data providers [[BR]] 
     21 2. Create station table from dbeel and insert the data from SIBIC [[BR]] 
     22 3. Correct the country of the station in the SIBIC database (using a view of dblink) [[BR]] 
     23 4. Integrate data from SIBIC for electrofishing (there are 140 methods of fishing and 19 of electrofishing, but there is not the type of electrofishing, we set "unknown") [[BR]] 
     24 5. Standardize the format of the date, area and density [[BR]] 
     25 6. Create temp_pesca_electrica, where all operations are included, also the operations where there are not eels (run2 is not included in the SIBIC database) [[BR]] 
     26 7. Check the efficiency used to calculate the density [[BR]] 
     27 
     28 
     29== Operations of electrofishing == 
     30[=#OPERATION] 
     31The spanish operations are available: 
     32 
     33[[Image(source:eda/data/Docs/trac/sudoang/fishing_operation_sibic.png, 400px)]] 
     34 
     35The operations in black indicate where eels are fished (1428 locationid). [[BR]] 
     36 
     37We can observe that there are not operations in Portugal. In fact, there are also operations in Portugal, but eels are indicated only in level of abundance: 
     38 
     39[[Image(source:eda/data/Docs/trac/sudoang/absence_presence_aang_pt.png, 200px)]] 
     40[[Image(source:eda/data/Docs/trac/sudoang/absence_presence_aang_pt_legend.png, 200px)]] 
     41[[Image(source:eda/data/Docs/trac/sudoang/abundance_order_aang_PT.png, 200px)]] 
     42[[Image(source:eda/data/Docs/trac/sudoang/abundance_order_aang_PT_legend.png, 200px)]] [[BR]] 
     43 
     44 
     45== Estimation of electrofishing efficiency == 
     46[=#EFFICIENCY] 
     47We also analyzed the electrofishing efficiency for the Spanish operations: 
     48 
     49[[Image(source:eda/data/Docs/trac/sudoang/efficiency.png,600px)]] [[BR]] 
     50 
     51Where we can see the efficiency estimated by year and basin when the density, area and first pass are availables. [[BR]] 
     52The most common efficiency is around 0.52. In orange the efficiency up to one, where there must be some problems of estimation.