NASA-Openscapes / earthdata-cloud-cookbook

A tutorial book of workflows for research using NASA EarthData in the Cloud created by the NASA-Openscapes team
https://nasa-openscapes.github.io/earthdata-cloud-cookbook
Other
83 stars 30 forks source link

Cloud clinic #208

Closed asteiker closed 1 year ago

asteiker commented 1 year ago

@jules32 I have not yet updated the quarto yml to add the notebook in the TOC. I also did not test quarto's image caption formatting in the notebook.

jules32 commented 1 year ago

Thanks @asteiker ! I will review and update quarto yml etc starting at 9:30 PT this morning

jules32 commented 1 year ago

I've started by reading and lightly editing the Google Doc, and am now following along in the JupyterHub after Kernel > ‘Restart Kernel and Clear All Outputs’.

I got this warning upon loading libraries, is there a way to suppress so not worrisome for learners?

image
andypbarrett commented 1 year ago

Try this at the top of your imports

import warnings
warnings.simplefilter("ignore")

https://docs.python.org/3/library/warnings.html#temporarily-suppressing-warnings

jules32 commented 1 year ago

@asteiker will this (screenshot below) give folks a problem in the Harmony portion of the Clinic if they haven't already set up a .netrc file? Or does earthaccess do this in the background for folks and so this will be smooth since they've already run auth = earthaccess.login(strategy="interactive", persist=True)?

image
jules32 commented 1 year ago

Hi @asteiker, I've gone through and have been able to run all the code and build the quarto book! I will push that all now.

All my edits were about clarity for the teaching flow, and with that, the headers. Please please undo/take further any of the changes I made. Here are a few high-level things:

image image

Next steps

jules32 commented 1 year ago

OK, pushed! And thanks @andypbarrett for the python warnings help :)

asteiker commented 1 year ago

@jules32:

jules32 commented 1 year ago

Awesome @asteiker ! I can help merge at 10am MT if you need me, I can plan to check things then in any case, and review & move the Google Doc too

asteiker commented 1 year ago

@jules32 Great let's do it together! I still need an approved review in order to merge as well. I made a small update to clarify earthaccess provides data searching and accessing capabilities, with xarray providing the subsetting.

The warning is still showing up for me in the import code block, so this is first up for me. But I can explain the warning message.