Vegind.py Outputs Blanks TIFs


#1

I tried all three methods, all three exit cleanly (0), but all three produce a white TIF. The original TIF is produced from a small 68 image test and looks fine, but the vegind.py doesn’t seem to work. Perhaps I’m using it wrong:

[root@survey WebODM]# python vegind.py /var/lib/docker/volumes/webodm_appmedia/_data/project/43/task/024d4077-f1be-4ab2-9170-dda39cc83eed/assets/odm_orthophoto/odm_orthophoto.tif vari

[root@survey WebODM]# python vegind.py /var/lib/docker/volumes/webodm_appmedia/_data/project/43/task/024d4077-f1be-4ab2-9170-dda39cc83eed/assets/odm_orthophoto/odm_orthophoto.tif tgi

[root@survey WebODM]# python vegind.py /var/lib/docker/volumes/webodm_appmedia/_data/project/43/task/024d4077-f1be-4ab2-9170-dda39cc83eed/assets/odm_orthophoto/odm_orthophoto.tif ngrdi

[root@survey WebODM]# ll /var/lib/docker/volumes/webodm_appmedia/_data/project/43/task/024d4077-f1be-4ab2-9170-dda39cc83eed/assets/odm_orthophoto/
total 15448
-rw-r--r--. 1 root root 3310592 Feb 23 23:19 odm_orthophoto.mbtiles
-rw-r--r--. 1 root root 2995208 Feb 25 13:37 odm_orthophoto_ngrdi.tif
-rw-r--r--. 1 root root 3053735 Feb 25 13:35 odm_orthophoto_tgi.tif
-rw-r--r--. 1 root root 3441586 Feb 23 23:19 odm_orthophoto.tif
-rw-r--r--. 1 root root 3006352 Feb 25 13:30 odm_orthophoto_vari.tif

#2

Anybody using this successfully? I’d love to be able to get this working properly. It looks great in the screenshots.


#3

Update: I was able to open the output in QGIS but it’s a single grey layer which probably explains why it wasn’t opening properly with regular picture viewers. Still, I expected it to be several layers like the regular GeoTIFF that it requires as input. Sadly I’m not familiar enough with Python to know where to start looking.