I’m trying to get the Coastal Vulnerability 3.9.0 model running and can’t get past the following error AttributeError: ‘NoneType’ object has no attribute ‘TransformPoint’ . Attached is the logfile. What might be the problem and solution?
Info in the Log file below;
2022-03-17 09:05:31,280 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/Nomsy PC/Desktop/InVest CV Datasets/Output_Invest_170322\InVEST-Coastal-Vulnerability-log-2022-03-17–09_05_30.txt
2022-03-17 09:05:31,856 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.coastal_vulnerability 3.9.0:
aoi_vector_path C:/Users/Nomsy PC/Desktop/Landsat images/2000_Landsat7/NEW_AOI/AOI_CURRENT.shp
bathymetry_raster_path C:/Users/Nomsy PC/Desktop/InVest CV Datasets/GEBCO DEM/GEBCO_11_Feb_2022_b2c6b6edd514/gebco_2021_n4.5421600341796875_s4.2125701904296875_w6.540985107421875_e7.6629638671875.tif
dem_averaging_radius 10
dem_path C:/Users/Nomsy PC/Desktop/InVest CV Datasets/GEBCO DEM/GEBCO_11_Feb_2022_b2c6b6edd514/gebco_2021_n4.5421600341796875_s4.2125701904296875_w6.540985107421875_e7.6629638671875.tif
geomorphology_fill_value 1
geomorphology_vector_path
habitat_table_path C:/Users/Nomsy PC/Desktop/InVest CV Datasets/Rivers State_Habitat/Natural_Habitats.csv
landmass_vector_path C:/Users/Nomsy PC/Desktop/GEBCO/NIG/NG POI/nigeria_poi.shp
max_fetch_distance 5000
model_resolution 250
n_workers -1
population_radius
population_raster_path
results_suffix
shelf_contour_vector_path C:/Users/Nomsy PC/Desktop/GEBCO/NIG/NG COASTLINE/nigeria_coastline.shp
slr_field UNKNOWN
slr_vector_path
workspace_dir C:/Users/Nomsy PC/Desktop/InVest CV Datasets/Output_Invest_170322
wwiii_vector_path C:/Users/Nomsy PC/Desktop/InVest CV Datasets/Wavewatch_global/WaveWatchIII_global.shp
2022-03-17 09:05:31,927 coastal_vulnerability.execute(285) INFO Validating arguments
2022-03-17 09:05:31,976 validation._wrapped_validate_func(911) DEBUG Using ARG_SPEC for validation
2022-03-17 09:05:31,976 validation._wrapped_validate_func(915) INFO Starting whole-model validation with ARGS_SPEC
2022-03-17 09:05:31,978 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:32,407 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:32,410 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:32,611 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:32,612 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:32,778 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:32,856 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:32,951 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:32,951 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:33,032 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:33,033 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:33,069 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:33,071 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:33,074 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:33,075 validation.timeout(625) DEBUG Starting file checking thread with timeout=5
2022-03-17 09:05:33,138 validation.timeout(637) DEBUG File checking thread completed.
2022-03-17 09:05:33,428 utils._log_gdal_errors(80) ERROR [errno 1] PROJ: proj_as_wkt: Transformation cannot be formatted as WKT1 TOWGS84 parameters
2022-03-17 09:05:33,432 utils._log_gdal_errors(80) ERROR [errno 1] PROJ: proj_create: unrecognized format / unknown name
2022-03-17 09:05:33,433 utils._log_gdal_errors(80) ERROR [errno 6] Cannot find coordinate operations from ' to
EPSG:4326’
2022-03-17 09:05:33,434 model._logged_target(1652) ERROR Exception while executing <function execute at 0x00000037C0680828>
Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\coastal_vulnerability.py”, line 286, in execute
File “site-packages\natcap\invest\validation.py”, line 916, in _wrapped_validate_func
File “site-packages\natcap\invest\coastal_vulnerability.py”, line 2952, in validate
File “site-packages\natcap\invest\validation.py”, line 843, in validate
File “site-packages\natcap\invest\validation.py”, line 580, in check_spatial_overlap
File “site-packages\pygeoprocessing\geoprocessing.py”, line 2918, in transform_bounding_box
File “site-packages\pygeoprocessing\geoprocessing.py”, line 2914, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 2912, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 2891, in _transform_point
AttributeError: ‘NoneType’ object has no attribute ‘TransformPoint’
2022-03-17 09:05:33,437 model._logged_target(1655) INFO Execution finished
2022-03-17 09:05:33,472 utils.prepare_workspace(129) INFO Elapsed time: 2.16s