GEO-BON / bon-in-a-box-pipelines

BON in a Box 2.0 - Sampling optimisation and indicator pipelines
MIT License
10 stars 7 forks source link

Protcon pipeline #149

Open jmlord opened 5 months ago

jmlord commented 5 months ago

jj

Cambio de nombre

Update of studyarea_to_wkt to be used in the workshop of July 31, 2023

Borrador en español de los textos yml del dpc

esto es una pry¿ueba

Changes are made in the description of the .yml arguments for the dPC indicator, some sections are translated and some disclaimers are included.

A part of the routine that was missing for the dPC indicator, is inserted

We have updated the auk_filter step script from the filter request (e.g. bbox- sp ) to the eBird zf table. The inputs and outputs were adjusted and tested in ByB with the documentation revised by Lina and Helena. The next step is to integrate the pipeline with the covars script step. However The inputs, ebd_file=ebd_CO_relDec-2022 and ebd_sampling_file=ebd_samp_Col_relDec-2022-002, should be manually loaded into the repository/00_auk_filter/input directory, as their size is too large to be accommodated in GIT. We could consider downsizing the dataset to a specific region in order to provide a functional pilot without going through that step.

change the way of presenting the final results

cambiar manera de presentar los resultados finales

change the way of presenting the final results

Se ajusto auk_filter para salida en archivo zf. El input de entrada se configuro con la sp Setophaga fusca por temas de espacio. El scriot solo funciona con esa especie, debemos ajustar los big data para llamar la base de datos completa desde azure mediante un http request.

Rutina para preparar datos en el formato unmarked para que ingresen al modulo del modelo de ocupación

Codigo ebird format funcional

Fixed some .yaml file attributes for the protcon prompt.

pruebas protcon con diferentes unidades administrativas

eliminate tab

add the images of the documentation in Rmd for the protcon pipeline

-included author, name and external link in script of protcon pipe -deleted .DS_Store -deleted scripts/.DS_Store -deleted README.html -deleted protcon_test -correct errors in .gpkg for studyarea_to_WKT and spatial_to_DistanceMatrix

correct corrupt Colombian_protected_areas.gpkg file

delete redundant files for the Protcon calculation

All corrections and comment made by JM

reupload .gpkg corrupt file


jmlord commented 5 months ago

Straging version of this PR: https://github.com/GEO-BON/bon-in-a-box-pipelines/pull/81

glaroc commented 5 months ago

I made an API endpoint that returns a GEOJSON with all the WDPA protected for a given country:

https://geoio.biodiversite-quebec.ca/wdpa_country_geojson/?country_name=Nicaragua

Or for a state/province/region

https://geoio.biodiversite-quebec.ca/wdpa_state_geojson/?country_name=Colombia&state_name=Putumayo

So now we can make this pipeline general without the need for local files.

glaroc commented 3 months ago

Hi, I pushed a branch (https://github.com/GEO-BON/bon-in-a-box-pipelines/tree/protcon_wdpa) that is based on the WDPA data. So the idea is that this does not require local data, it fetches data from the API that returns both the protected areas within the state/province and the state/province polygon.

I wasn't sure what was the logic behind creating the spatial unit groups, so I left it as is. However, with the data I tested, it can create empty geometries that I am removing. Could someone at Humboldt who worked on this pipeline please try out the code from this branch and see if the results make sense ? @vicjulrin ?

jmlord commented 2 months ago

@jupinator see Guillaume's comment above