topoflow36 icon indicating copy to clipboard operation
topoflow36 copied to clipboard

Missing dependency: gdal

Open mosoriob opened this issue 3 years ago • 3 comments

The setup.py doesn't include a reference to the gdal package


ERROR: Could not find RTI file for:
      /tmp/TF_Tests/Tana_120sec/__topo/Tana_120sec.rti
 

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-7-c289afbe6c07> in <module>
      6 rti_file    = topo_dir + site_prefix + '.rti'
      7 grid_info   = rti_files.read_info( rti_file )  # needed for DEM ncols & nrows
----> 8 from topoflow.utils import regrid

/opt/conda/lib/python3.7/site-packages/topoflow/utils/regrid.py in <module>
     40 #-------------------------------------------------------------------
     41 import numpy as np
---> 42 import gdal, osr  ## ogr
     43 import glob, sys
     44 import os, os.path

ModuleNotFoundError: No module named 'gdal'


mosoriob avatar Jul 28 '21 14:07 mosoriob