Closed gravity981 closed 3 years ago
We found and fixed an error that should resolve your first issue, so please try again (make sure to either run the update script or to start from scratch and do a re-install, so that your container clones the fixed version from GitHub. If that works, we can look at your ee.Initialize() issue.
On Aug 15, 2021, at 11:11, gravity981 @.***> wrote:
Hi there
I'm trying TouchTerrain running in docker to create STL tiles for later 3D printing. I was using the online version of the tool but the data is too big to be processed. So I want to do it on my own within docker.
I went through the instructions from TouchTerrain_jupyter_for_starters.ipynb. One of the final steps fails when I try it to run. Generating the STL model file produces the following output. Something in TouchTerrainEarthEngine.py seems to be wrong. Any idea? Am I missing some preconfiguration? I would really like to get it done with this tool. I tried others but this has far the most options :)
/TouchTerrain/standalone/touchterrain/common/TouchTerrainEarthEngine.py in get_zipped_tiles(DEM_name, trlat, trlon, bllat, bllon, polygon, polyURL, poly_file, importedDEM, printres, ntilesx, ntilesy, tilewidth, basethick, zscale, fileformat, tile_centered, CPU_cores_to_use, max_cells_for_memory_only, temp_folder, zip_file_name, no_bottom, bottom_image, ignore_leq, lower_leq, unprojected, only, original_query_string, no_normals, projection, use_geo_coords, importedGPX, gpxPathHeight, gpxPixelsBetweenPoints, gpxPathThickness, map_img_filename, smooth_borders, offset_masks_lower, fill_holes, **otherargs) 1102 pr(" cropped", old_shape[::-1], "to", npim.shape[::-1] ) 1103 -> 1104 for index, offset_layer in enumerate(offset_npim): 1105 offset_npim[index] = offset_layer[0:offset_layer.shape[0]-remy, 0:offset_layer.shape[1]-remx] 1106
UnboundLocalError: local variable 'offset_npim' referenced before assignment — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChHarding/TouchTerrain_for_CAGEO/issues/51, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYDF5K6HAAV47DSKNKBZ4DT47RJRANCNFSM5CGKDDXA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.
Chris Harding Associate Professor Department of Geological & Atmospheric Sciences
TouchTerrain.geol.iastate.edu
Hi there
I'm trying TouchTerrain running in docker to create STL tiles for later 3D printing. I was using the online version of the tool but the data is too big to be processed. So I want to do it on my own within docker.
I went through the instructions from
TouchTerrain_jupyter_for_starters.ipynb
. One of the final steps fails when I try it to run.Generating the STL model file
produces the following output. Something inTouchTerrainEarthEngine.py
seems to be wrong. Any idea? Am I missing some preconfiguration? I would really like to get it done with this tool. I tried others but this has by far the most features :)