Skip to content

Convert a species occurrence cube to an EBV NetCDF cube

Estupinan-Suarez LM (2024). Convert a species occurrence cube to an EBV NetCDF cube. https://docs.b-cubed.eu/tutorials/cube-to-ebv-netcdf/, https://doi.org/10.5281/zenodo.13798783

In 2024, we published the first two Essential Biodiversity Data (EBV) datasets to the EBV Data Portal derived from a species occurrence cube and using B-Cubed software (especially the ebvcube R package). The datasets we published are:

  1. Annex I of the Birds Directive (~200 species) https://doi.org/10.25829/mbw554
  2. The list of Invasive Alien Species of EU concern (88 species) https://doi.org/10.25829/w0vf54

The workflow we used to create the species occurrence cube and convert it to an EBV NetCDF cube - the format used by the EBV Data Portal - is described below.

The following table lists the steps and scripts we used to mobilize data from GBIF to the EBV Data Portal for the Birds Directive Annex I. Scripts can be found in the directory scripts/Rmd/birds.

StepCodeOutput
Pre-processing notebook - Harmonisation of species keys for the JSON query of species listed in the Annex I of the Birds Directive*00_preparing_specieskeyPdf
Notebook 01 - Prototype for creating a occurrence cube of birds listed in the Annex I of the Birds Directive01_birds_create_occurrence_cubesPdf
Notebook 02 - Data exploration of species listed in the Birds Directive Annex I02_birds_annex1_data_explorationPdf
Notebook 03 - Calculation of Metrics for the Birds Directive Annex I Using Occurrence Cubes (Part I)03_birds_annex1_computing_metrics_1_2_3Pdf
Notebook 04 - Calculation of Metrics for the Birds Directive Annex I Using Occurrence Cubes (Part II)04_birds_annex1_computing_metrics_4_5_6Pdf
Notebook 05 - Creation of the EBV NetCDF for the Birds Directive occurrences cube metrics05_birds_metrics2ebvcubePdf

The following table lists the steps and scripts we used to mobilize data from GBIF to the EBV Data Portal for the Invasive Alien Species (IAS) of Union Concern. Scripts can be found in the directory scripts/Rmd/ias.

StepCodeOutput
Inputs for occurrence cubes rasterisation using the 10 Km EEA vector grid*00_eeagrid10km_to_centroidsPdf
Notebook 01 - Prototype for creating a occurrence cube of IAS01_ias_create_occurrence_cubesPdf
Notebook 02 - Data exploration of the IAS occurrence cube02_ias_data_explorationPdf
Notebook 03 - Metrics computation for the IAS occurrences cube03_ias_computing_metrics_cubesPdf
Notebook 04 - Creation of the EBV NetCDF for the IAS occurrences cube metrics004_ias_metrics2ebvcubePdf