kartoza / GEEST

Gender Enabling Environments Spatial Tool (GEEST)
https://worldbank.github.io/GEEST/
MIT License
1 stars 2 forks source link

Factor: Financial Inclusion #38

Open timlinux opened 5 months ago

timlinux commented 5 months ago

image

Check and ensure that we have unit tests, implementation and verified results for this indicator

carolinamayh commented 4 months ago

I do not understand why a whole day of work is needed if the Contextual Dimension factors have no spatial variability within a country and only represent a single score for the entire nation. The user should be able to add this score, which is on a scale from 0 to 100, and it should be standardized to a scale from 0 to 5 and assigned to the entire territory.

carolinamayh commented 4 months ago

This factor was previously named Financial Access; the name should change to Financial Inclusion. @osundwajeff

dragosgontariu commented 3 months ago

error encountered:

Could not create layer D:/Munca/WB/Geest/St_Lucia/Testing/07082024/temp/countryBuff.shp: Creation of layer failed (OGR error: Failed to create file D:/Munca/WB/Geest/St_Lucia/Testing/07082024/temp\countryBuff.shp: No such file or directory)

@osundwajeff @mvmaltitz @javaftw

mvmaltitz commented 3 months ago

Input and result:

Image

mvmaltitz commented 2 months ago

Data

Link: https://drive.google.com/file/d/1-3UpliiCotIfNoTtB6_CmQoBjrj6z6bX/view?usp=sharing All data has been converted into EPSG:8859

Contextual Testing

Each Factors in Contextual Dimension completed.

Screenshot 2024-09-12 190544

Contextual_score also succeed with some Python error. Although the Contextual_score.tif exist but the value is incorrect, then it means the script failed to generate the correct value and save as a file.

2024-09-12T19:06:09     WARNING    Traceback (most recent call last):
              File "C:\Users/benny/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gender_indicator_tool\gender_indicator_tool.py", line 6009, in contextual_aggregation
              with rasterio.open(aggregation, "w", **meta1) as dst:
              File "C:\Users\benny\AppData\Roaming\Python\Python39\site-packages\rasterio\env.py", line 451, in wrapper
              return f(*args, **kwds)
              File "C:\Users\benny\AppData\Roaming\Python\Python39\site-packages\rasterio\__init__.py", line 341, in open
              dataset = writer(
              File "rasterio\\_io.pyx", line 1464, in rasterio._io.DatasetWriterBase.__init__
              File "rasterio\\_io.pyx", line 330, in rasterio._io._delete_dataset_if_exists
              File "rasterio\\_err.pyx", line 195, in rasterio._err.exc_wrap_int
             rasterio._err.CPLE_AppDefinedError: Deleting Contextual_score.tif failed: Permission denied

See ticket #134 and #135 for more full testing results