User Tools

Site Tools


the_capri_data_base

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
the_capri_data_base [2021/12/13 13:40] – [COCO2: Final completions] himicsthe_capri_data_base [2021/12/14 12:51] – [Annex: Testing procedure and checking intermediate steps in COCO (biofuels)] himics
Line 1034: Line 1034:
  
  
-====Code lists for the COCO database====+====Annex: Code lists for the COCO database====
  
 This section includes detailed code lists, which are in use in the COCO database. This section includes detailed code lists, which are in use in the COCO database.
Line 1146: Line 1146:
 | GFCO | Other gross fixed capital formation | | GFCO | Other gross fixed capital formation |
  
 +====Annex: Detailed description of Eurostat data processing in COCO (coco1_eurostat.gms)====
 +
 +The program starts by importing pre-processed data from Eurostat. The pre-processing includes simple data selection routines and also manual checks. The Eurostat domains are processed one by one, and the corrections are done for each Member State ((Eurostat offers data for Belgium and Luxembourg separately, whereas the database combines both countries to the model region "BL000" (Belgium and Luxembourg). The key reason is that Eurostat offers data mainly for the aggregate Belgium and Luxembourg up to the year 1999, especially for all market balances. Furthermore, Luxembourg has a rather small agricultural sector (2004 total output was about EUR 250 million) with some similarities to Belgium.))
 +
 +Below we discuss the specific data-processing tasks related to Eurostat table groups.
 +The first Eurostat Table Group is “p_AgriProd” covering market balances and activity levels. 
 +
 +//Corrections and complements for all MS://
 +
 +
 +  * The following  data are not anymore available form Eurostat, starting with the 2010 data extractionBeginning with Eurostat selection 2010 some data are missing from the Eurostat website: 
 +    * DWH1, RAP1, POT1, POT2, ROO1 and ROO2 are not longer supported 
 +    * data for slaughter heads and slaughter tons for calves are only available for recent years  
 +    * deliveries to dairy of RMLK missing for earlier years in selection starting with February 2018
 +For an Interim solution, data for the missing data points are collected from an earlier Eurostat selection (March 2010). 
 +  * UNFCCC data is included, here sheep and goats population, to prolong data of some countries where Eurostat data collection stopped 2008/2009.
 +  * Recent dairy sector data from Eurostat via DG supplements the ordinary dairy data downloaded from the website of Eurostat.
 +  * Sugar trade data from the market balances of Eurostat is extended with Comext (Eurostat) data.
 +  * For the milk products WMIO, SMIP, FRMI and COCM some market balance positionpositions are corrected: “industrial use” is added to “feed on market and “processing” is added to “human consumption.
 +  * COCO code "FRUI" is aggregated from auxiliary data for fruit trees, plus soft fruits, plus strawberries.
 +  * All activities for the aggregate ILAM are added up from SHEP and GOAT.
 +  * The units for wine balance sheets are converted from 1000hl to 10000hl=1000000l
 +  * A rice milled equivalent balance without paddy rice (separate product) is constructed.
 +  * Survey data on buffaloes are used to increase the bovine stock data to cover the whole cattle herd.
 +
 +//Corrections and complements for specific MS://
 +
 +Due to years of database updates, a number of corrections on input data are carried out. For special cases in some MS, data are read in from additional data sources:
 +
 +  * Belgium-Luxemburg: trade for potatoes (Eurostat: EU trade since 1988 by HS2-HS4 [DS-016894])
 +  * France: market balances for cereal products (Agreste, Direction générale des douanes et droits indirects (DGDDI))
 +  * Denmark: market balances for some cereal products (StatBank Denmark)
 +  * Finland: market balances for some cereal products (Natural Resources Institute Finland, Balance sheet for food commodities)
 +  * Germany: activity levels for textile crops (BMELF)
 +  * Ireland: trade for citrus fruits and some milk products (Eurostat: EU trade since 1988 by HS2-HS4 [DS-016894]) and activity levels for grass land (StatBank Ireland)
 +  * Austria: production of cow milk, fruit products and potatoes (Statistisches Amt Österreich)
 +  * Czechia: trade of life animals (Eurostat: EU trade since 1988 by CN8 [DS-016890])
 +  * Lithuania: human consumption cereal products (calculated from data from statistical yearbook 2018)
 +  * Slovenia: slaughtering (SiStat Slovenia)
 +  * Romania: data for the meat and in the milk sectors (Romanian experts)
 +  * Trade data for sugar are collected from Eurostat COMEXT data.
 +
 +
 +The remaining domains/table groups only require a few case-by-case corrections: 
 +
 +  * The second Eurostat Table Group is “p_ExchRate” covering exchange rates
 +  * The third Eurostat Table Group is “p_EcoAct” covering the economic accounts for agriculture. 
 +  * The fourth Eurostat Table Group is “p_AgriPri” covering agricultural producer prices.
 +
 +
 +
 +====Annex: Testing procedure and checking intermediate steps in COCO (biofuels)====
 +
 +The COCO module produces various reporting files on the intermediate data processing steps. These files can be used to trace back potential errors in the COCO database to their origin. These debugging files also contain meta-information on the input data and settings used for producing the COCO database. 
 +
 +The following example is a walk-through on the typical data processing steps, covring biofuels data preparation in France.
 +
 +The reporting file 'C:\Users\himics\c\dairybiof\output\results\coco\biof_data_with_prep\chk_biof_data_with_prep_FR000000.gdx' reports on the data preparation for biofuels for France (FR000) in COCO1. The file includes the set ‘meta_prepare_biofuel_data’, with meta-information on the recent coco1 run (e.g. creation date of file, GAMS version used).
 +
 +{{coco_biof_1.png?nolink|}}
 +
 +The set //biofCheckItems// in the same reporting .gdx file shows all biofuel items potentially filled with numbers.
 +
 +{{coco_biof_2.png?nolink|}}
 +
 +The complete list of the biofuel items in //biofCheckItems// includes codes which are additional to the CAPRI activity codes (see Annex on code lists above). The full code list includes the following items: 
 +
 +| bioECere | Ethanol processed from cereals |
 +| bioESuga | Ethanol processed from sugar beets |
 +| bioETwin | Ethanol processed from wine |
 +| bioEFrui | Ethanol processed from fruits |
 +| bioEOcro | Ethanol processed from other agricultural crops |
 +| bioEExog | Ethanol processed from crops not explicit in biofuel modelling (fruits, potatoes, other crops) |
 +| bioARES | Biofuels processed from crops residues |
 +| bioORES | Biofuels processed from forest residues and waste material (municipal waste, waste oil, other waste) |
 +| SECG | Biofuel quantities from second generation |
 +| MAPRagr | Ethanol production from agricultural sources |
 +| EloBio | Biofuel production and demand data from DG Energy project EloBio |
 +| DG\_Agri | Ethanol data from DGAgri website and supplementary files |
 +| ProdCom | Eurostat: PRODCOM ANNUAL SOLD (NACE Rev. 2.) [DS-066341] |
 +| EIA | Independent Statistics & Analysis, US Energy Information Administration |
 +| comext | Eurostat: Comext |
 +| Energy\_bal | Eurostat: Supply, transformation, consumption - renewable energies - annual data [nrg\_107a] |
 +| Energy\_dem | Eurostat: Supply, transformation, consumption - renewable energies - annual data [nrg\_102a, nrg\_1073a] |
 +| final | results of the calculations |
 +| ODOM | other domestic use (activity from biostock calculations |
 +| APRagr | Ethanol production from agricultural sources |
 +| INDt | Sum of model results for BIOF and INDM |
 +| BIOi, INDi, DOMi | intermediate activities to save data from model initialisation for later documentation. |
 +
 +
 +Biofuels production (levels) are calculated for biodiesel (BIOD) and bioethanol (BIOE). Input data and final initialization values before the consistency models are run are documented on the parameter //p_prepare_biofuelsMS// (see examples below). The results of the consistency models m_bioFitD (BIOD) and m_bioFitE (BIOE) are documented on the parameter //p_biofDatatMS// (see examples below).
 +
 +
 +
 +
 +
 +====Annex: Testing procedure and checking intermediate steps in COCO (dairy)====
 +
 +The following three examples show how to use the intermediate reporting files to trace the data preparation steps. Screenshots demonstrate the arrangement of the reporting parameters by using the CAPRI Graphical User Interface.
 ===== The Regionalised Data Base (CAPREG) ===== ===== The Regionalised Data Base (CAPREG) =====
 ==== Data requirements and sources at the regional level ==== ==== Data requirements and sources at the regional level ====
the_capri_data_base.txt · Last modified: 2024/05/31 13:49 by massfeller

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki