You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reference to /vsimem/reprojected.tif appears to act like a temporary file on some sort of RAM disk provided by GDAL. One issue might crop up if a user of this library runs this function more than once from different threads in the same process: they would conflict over usage of this virtual file. According to the docs, it is possible for multiple threads to access the same virtual file through GDAL, and coordination is the responsibility of the programmer. So you may want to use generated file names (and ensure clean-up with a finally clause, which is another bug that is not yet resolved).
The text was updated successfully, but these errors were encountered:
GreenEx_Py/GreenExp/visibility.py
Line 119 in f24db15
The reference to
/vsimem/reprojected.tif
appears to act like a temporary file on some sort of RAM disk provided by GDAL. One issue might crop up if a user of this library runs this function more than once from different threads in the same process: they would conflict over usage of this virtual file. According to the docs, it is possible for multiple threads to access the same virtual file through GDAL, and coordination is the responsibility of the programmer. So you may want to use generated file names (and ensure clean-up with afinally
clause, which is another bug that is not yet resolved).The text was updated successfully, but these errors were encountered: