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
191 stars 44 forks source link

gcloud not available from within the dev container #87

Open MaxKessler5 opened 7 months ago

MaxKessler5 commented 7 months ago

I'm trying to run the project from within the dev container, using vs code on a windows machine. When I open a terminal in the dev container, it doesn't recognize gcloud as a command. This (seems to be) getting in the way of authenticating with earth engine. Is my container set up improperly? Is the gcloud command not necessary within the container?

ChHarding commented 7 months ago

Max,

Sadly, I’m so not an expert when it comes to docker and specifically devcontainers. The .devcontainer folder files where recently created by Thomas Pentenrieder whom I’m working with regarding issues #83 - 86. It seem logical that you would have to install a gcloud “app” if you want to use that but I don’t know how that would be done, sorry! IIRC I authenticate with earthengine using a credentials file, in ~/.config/earthengine but I can’t quite remember how I got that file created (It’s been years) BTW as people start using devcontainers I would very much like to add a How-to of sorts to my ReadMe.md so I would appreciate any help you and others could provide in setting this up.

Cheers

Chris

On Jan 7, 2024, at 16:38, MaxKessler5 @.**@.>> wrote:

I'm trying to run the project from within the dev container, using vs code on a windows machine. When I open a terminal in the dev container, it doesn't recognize gcloud as a command. This (seems to be) getting in the way of authenticating with earth engine. Is my container set up improperly? Is the gcloud command not necessary within the container?

— Reply to this email directly, view it on GitHubhttps://github.com/ChHarding/TouchTerrain_for_CAGEO/issues/87, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEYDF5LGOZDROWKQSCEIOFLYNMPXTAVCNFSM6AAAAABBQUJM32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DSMZSGQ2DIMI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Chris Harding Associate Professor Department of Geological & Atmospheric Sciences Touchterrain.geol.iastate.eduhttp://Touchterrain.geol.iastate.edu