Title: | madrat data preparation for data connected to fish |
---|---|
Description: | Package contains routines to prepare data for validation exercises. |
Authors: | Jasmin Wehner [aut], Benjamin Leon Bodirsky [aut, cre] |
Maintainer: | Benjamin Leon Bodirsky <[email protected]> |
License: | LGPL-3 | file LICENSE |
Version: | 0.2.8 |
Built: | 2024-11-21 04:35:52 UTC |
Source: | https://github.com/pik-piam/mrfish |
Package contains routines to prepare data for validation exercises.
Maintainer: Benjamin Leon Bodirsky [email protected]
Authors:
Jasmin Wehner
Useful links:
calculates fish data as Mt dry matter, distinguishing capture and aquaculture as well as fishing areas
calcFAO_fishery(by_fishing_area = FALSE)
calcFAO_fishery(by_fishing_area = FALSE)
by_fishing_area |
if TRUE, all fishing areas are provided. if FALSE, only marine and inlandwaters are distinguished |
Magpie object with fish data in dry matter
Jasmin Wehner, Benjamin Leon Bodirsky
Derive relative change of marine fish production (capture AND marine aquaculture) based on scenarios by Cheung et al 2018.
calcFishCCimpacts( impacts = c("marine_capture", "marine_aquaculture"), total = FALSE, proxies = c("Mediterranean and Black Sea", "Pacific Antarctic") )
calcFishCCimpacts( impacts = c("marine_capture", "marine_aquaculture"), total = FALSE, proxies = c("Mediterranean and Black Sea", "Pacific Antarctic") )
impacts |
fish types being affected by CC impacts. So far only available for "marine_capture" and "marine_aquaculture" |
total |
if TRUE, aggregated to total production over all fish types |
proxies |
fishing areas where we use proxie regions if no impact data is available. |
Data for each FAO Major Fishing area
Jasmin Wehner, Benjamin Leon Bodirsky
## Not run: a <- calcOutput(type="FishCCimpacts")
## Not run: a <- calcOutput(type="FishCCimpacts")
Convert data based on AQUASTAT database (http://www.fao.org/nr/water/aquastat/data/query/index.html?lang=en)
convertAQUASTAT(x)
convertAQUASTAT(x)
x |
MAgPIE object containing AQUASTAT data on country level |
magpie objects with results on contury level
Kristine Karstens
## Not run: readSource("AQUASTAT", subtype="ConsAgri", convert=TRUE) ## End(Not run)
## Not run: readSource("AQUASTAT", subtype="ConsAgri", convert=TRUE) ## End(Not run)
Converts readFAO_fishery output to complete MAgPIE object containing fishery data on country level (in tonnes)
convertFAO_fishery(x, subtype)
convertFAO_fishery(x, subtype)
x |
magpie object with uncoverted source data |
subtype |
"capture" takes all fishdata into account that has been declared as capture fishery "aquaculture" takes all fishdata into account that has been listed as aquaculture fishery |
Fishery data as complete MAgPIE object on country level
Jasmin Wehner,Benjamin Leon Bodirsky
Correct magpie objects
correctCheung2016(subtype)
correctCheung2016(subtype)
subtype |
"Area" data subtype. Areas in square km for each Large Marine Ecosystem obtained from Seaaroundus.org "PrimProdinmgCday" data subtype. Primary Production in mg C day^-1 for each Large Marine Ecosystem obtained from Seaaroundus.org "Degrees" data subtype. relative change to fishery production in degree1p5,degree2p5,degree3p5 scenarios. obtained from Cheung et al 2016 |
magpie object of the corrected Cheung et al 2016 data and converted x_PrimProdinmgCday into tCyr^(-1)^km2^(-1)
Jasmin Wehner
Converts readCheung2018 output to complete MAgPIE object containing fishery data on aggregated FAO Major Fishing areas
correctCheung2018(x, subtype)
correctCheung2018(x, subtype)
x |
unconverted magpie object from the read function. |
subtype |
"General" data subtype. Areas in square km and Primary Production in mg C day^-1 or Mt yr^-1 for each Exclusive Economic Zone obtained from Seaaroundus.org "models" data subtype: DBEM Model output for RCP2.6;RCP8.5 obtained from Cheung et al 2018 "ModelOutputDynModel" data subtype. Dynamic Model output for RCP2.6;RCP8.5 obtained from Cheung et al 2018 |
Fishery data as complete MAgPIE object on country level
Benjamin Leon Bodirsky, Jasmin Wehner
Read in data based on AQUASTAT database (http://www.fao.org/nr/water/aquastat/data/query/index.html?lang=en)
readAQUASTAT(subtype = "ConsAgri")
readAQUASTAT(subtype = "ConsAgri")
subtype |
"Conservation_agriculture_area_4454": multicropping factor on cropped (excluding fallow) land,
|
magpie objects with results on contury level
Kristine Karstens
## Not run: readSource("AQUASTAT", subtype="ConsAgri", convert=TRUE) ## End(Not run)
## Not run: readSource("AQUASTAT", subtype="ConsAgri", convert=TRUE) ## End(Not run)
Read-in a csv file as magclass object in absolut and percentage values
readCheung2016(subtype)
readCheung2016(subtype)
subtype |
"Area" data subtype. Areas in square km for each Large Marine Ecosystem obtained from Seaaroundus.org "PrimProdinmgCday" data subtype. Primary Production in mg C day^-1 for each Large Marine Ecosystem obtained from Seaaroundus.org "Degrees" data subtype. relative change to fishery production in degree1p5,degree2p5,degree3p5 scenarios. obtained from Cheung et al 2016 |
magpie object of the fishery data with Area, Primary Productivity and Degrees subtypes
Jasmin Wehner
Read-in a csv file as magclass object in percentage values
readCheung2018(subtype)
readCheung2018(subtype)
subtype |
"General" data subtype. Areas in square km and Primary Production in mg C day^-1 for each Exclusive Economic Zone obtained from Seaaroundus.org "models" data subtype. DBEM Model output for RCP2.6;RCP8.5 and Dynamic Model output for RCP2.6;RCP8.5 obtained from Cheung et al 2018 |
magpie object of the fishery data with respecitive model outputs
Jasmin Wehner
Read-in a csv file as magclass object in tonnes
readFAO_fishery(subtype)
readFAO_fishery(subtype)
subtype |
"capture" takes all fishdata into account that has been declared as capture fishery "aquaculture" takes all data into account that has been listed as aquaculture fishery |
magpie object of the fishery data with Capture or Aquaculture
Benjamin Leon Bodirsky, Jasmin Wehner