Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTO] update cube_preprocessing #230

Open
wants to merge 22 commits into
base: uat
Choose a base branch
from

Conversation

FaunabeheerenInvasieveSoorten

Brief description

This is an automatically generated PR.
The following steps are all automatically performed:

  • rerun occurrence_indicators_preprocessing to create and upload
    df_timeseries.rData to the UAT bucket.
  • df_timeseries.rData is combined with grid.RData from the UAT bucket using
    alienSpecies::createTimeseries(). The result is also stored on the UAT bucket.

Note to the reviewer: the workflow automation is still in a development phase.
Please, check the output thoroughly before merging to main.
run_occurrence_indicators_preprocessing.r downloads
./data/interim/intersect_EEA_ref_grid_protected_areas.tsv from
trias-project/indicators then it runs
./src/05_occurrence_indicators_preprocessing.Rmd based on the script from trias-project/indicators/.

Copy link
Collaborator

@SanderDevisscher SanderDevisscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use correct secrets to supply username, pswd & email to rgbif functions

#Load the be_alientaxa_cube, GRIIS checklist, and shapefile of Belgium
#-------------------------------------------------------------------------
be_alientaxa_cube <- read_csv(
file = "https://zenodo.org/records/10527772/files/be_alientaxa_cube.csv?download=1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switch to artifact use "./cube_data/be_alientaxa_cube.csv"

wk::wk_orient()#Due to changes in GBIF’s polygon interpretation, you might get an error when using polygons wound in the “wrong direction” (clockwise, i.e., default of sf). Reorient the polygon using the wk package

#Read taxonomic info of alien cube
data_file <- here::here(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer updated! If this is needed this should be add to the get_occ_cube flow. Else delete logic to read it from script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add check to highlight species on GRIIS missing from be_alientaxa_cube
3 participants