ICESAT-2HackWeek / coastal_topobathy

Team project aimed at extracting sections of tracklines, and identifying bathymetry and coastal morphology - can be extended to other questions!
https://icesat-2hackweek.github.io/coastal_topobathy/
4 stars 7 forks source link

AK_topobathy_vis example not running (for me) #9

Closed eeholmes closed 2 years ago

eeholmes commented 2 years ago

This example notebook was created from Noelle's notebook: https://github.com/ICESAT-2HackWeek/coastal_topobathy/blob/main/examples/AK_topobathy_vis.ipynb

But I can't get the notebook to run. This line doesn't work for me

topobathyColl = ee.ImageCollection('projects/uaf-coastal-mapping/assets/USACE_AK_DEM')
print('Number of DEMs in the collection (all of AK 2019): ', topobathyColl.size().getInfo())

Is there some set-up needed on the GEE side? Creation of a 'projects' folder with those assets? I've never worked with GEE so I am probably missing something simple.

@nkhelder @jonm3D

Thanks!

iled commented 2 years ago

What error is it throwing?

IIRC, I ran this notebook successfully when refactoring. One requirement is to have an active GEE account and run the cells that do the authentication.

eeholmes commented 2 years ago

Here is the error I get. Resource not found.The ee initialization code above runs fine or at least throws no error.

image
eeholmes commented 2 years ago

I am pretty sure there is a step I have to do on my end with GEE to access these resources. I'll go back to the tutorials.

iled commented 2 years ago

Just to confirm there are no issues with the account, can you see the asset details here? https://code.earthengine.google.com/?asset=projects/uaf-coastal-mapping/assets/USACE_AK_DEM

eeholmes commented 2 years ago

How very odd. Now it works. I ran this tutorial https://github.com/ICESAT-2HackWeek/website2022/blob/main/book/tutorials/DataVisualization/Visualization_Earth_Engine_geemap_IS2_HW_2022.ipynb which worked. And now the AK example notebook is working. I didn't have to login into GEE or anything.

I'm going to close this issue.