ChHarding / TouchTerrain_for_CAGEO

Touch Terrain: A python app to create 3D printable terrain models (STL/OBJ) from only elevation data (via Google Earth Engine) or from a local geotiff. Has been used for CNC terrain models. Runs as a web app (http://touchterrain.org), as .py file (standalone.py) or as jupyter notebook. Docker image: https://github.com/ChHarding/TouchTerrain_jupyter_docker
http://touchterrain.geol.iastate.edu
218 stars 47 forks source link

Fix unbound error for offset_npim #52

Closed ansonl closed 3 years ago

ansonl commented 3 years ago

This fixes #51

offset_npim was not defined yet due to offset mask functionality currently only available for local DEM in standalone py file Fixed by defining offset_npim earlier so that it is defined when used from jupyter notebook.

rhode island test