AgWISE-EiA / datasourcing

0 stars 3 forks source link

Function extract_geoSpatialPointData not working for Zambia #1

Open lpmorenoc opened 4 months ago

lpmorenoc commented 4 months ago

The system is currently crashing according to @asila: "We are finalizing on data sourcing Zambezi river basin but we are experiencing system crash while sourcing for Zambia due to the large spatial coverage (~20880 points). The system has worked well for Malawi, Zimbabwe and Mozambique."

@asila suggested to modify the function so the geo-spatial data is extracted province by province. @meklitC what do you think?

Here a print screen of the error:

image
asila commented 4 months ago

More details about the cause of the error:

  1. Dropping a about two provinces the script works.
  2. Reducing the resolution from 0.05 to 0.5 the script also works

This means that reducing the data points in the AOI.RDS file the script works well.