-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I tried to test fmesh and followed all steps from the Readme. However, the from_kml function is not able to read the kml files, both the ones I created with google earth as well as the ones provided with the respository like Baffin_Bay.kml. The files are opened, but features is not callable function but an empty list and I receive the following error message:
Traceback (most recent call last):
File "/Users/nhutter/Documents/Research/fesom/tools/fmesh/fmesh.py", line 1094, in <module>
main()
File "/Users/nhutter/Documents/Research/fesom/tools/fmesh/fmesh.py", line 1080, in main
result, regions, longitudes, latitudes = define_resolutions(settings)
File "/Users/nhutter/Documents/Research/fesom/tools/fmesh/fmesh.py", line 685, in define_resolutions
internal, outer = from_kml(reg["path"])
File "/Users/nhutter/Documents/Research/fesom/tools/fmesh/fmesh.py", line 258, in from_kml
for feature_0 in k.features():
TypeError: 'list' object is not callable
I installed a fresh condo environment for fmesh and fastkml version 1.1.0 was installed. Do you have an idea what could cause this error, potentially a version mismatch of the packages?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels