Comments (4)
HI @Ohm-Np . I fixed all the issues. IT took me quite a while. that was really a pain. As for your last comment
"In mapme.forest package, if there are duplicate rows, then the saved raster file gets overwritten when polygons are passed individually and when passed as a big polygon, it throws error (no unique values)"
-> there are still duplicate WDPAIDs in the data. This is if a protected area has somehow two polygons that are listed spereatly. IF you use the WDPA_PID
however, they are all unique. So that might fix the Global Forest Watch problem right?
Please see my most recent push to main to obtain the new data.
Please also note that I just save one polygonset now called data/wdpa_kfw_spatial_latinamerica_2021-04-22_allPAs.gpkg
. In this dataset are all PAs and we can filter the KfW areas out later. It does not make too much sense to each time process both of them. so for the bigdata analysis it is enought to just process this file.
Please confirm if it works and if so you may close the issue.
from mapme.protectedareas.
I tried with the new gpkg and while running the script, it still says Data in column WDPA_PID does not uniquley identify observations
.
First I thought that the problem might be, there were NA values in WDPA_PID
of few WDPAIDs namely:
900715
, 903013
, 903016
, 26621
, 67744
& 900668
. I then removed only those rows and run the script, still there was same error.
I then noticed that there are still two polygons with same WDPAID
and WDPA_PID
: 10903
.
So, I think we should:
- replace NAs with respective WDPAIDs for
900715
,903013
,903016
,26621
,67744
&900668
- set WDPA_PID as
10903_A
and10903_B
respectively for duplicate ones
from mapme.protectedareas.
I have figured out the problem. I guess that now everything should run totally smooth. There should be no empty polygons anymore and no NAs in PID. Also, all PIDs should be unique. Could you check from main please? Also I created buffers which I would like to process as well (later). If everything runs smoothly you can close the issue...
from mapme.protectedareas.
That's great. It works fine now.
I will close this issue here.
from mapme.protectedareas.
Related Issues (20)
- Add covariates to panel dataset for regression HOT 2
- Account for multiple WDPA assignements in clustered standard errors HOT 1
- Typo in code/processing-scripts/01_grid_creation.R HOT 1
- Create overview of variables in document HOT 1
- The field GEOMETRY_TYPE is not included in WDPA dataset HOT 1
- Create Panel file: code snippets with same object names lead to issue HOT 2
- missing variable in matching frame HOT 2
- IUCN action types: Explain data generation
- Back of the envelop calculation to climate financing (avoided CO2 per EUR) HOT 1
- Results with action types
- IUCN action types: descriptive statistics
- Plot with different robustness checks
- Check occurence of multiple BMZ numbers for each WDPA ID HOT 2
- Account for missing 14 WDPA IDs HOT 1
- Establish correct database for estimation
- Recreate the parallel trend plot for PA level
- Redo regression analysis
- calculate meta study estimator with inverse-variance method
- Descriptive table 1
- BioDiv summary statistics table
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapme.protectedareas.