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
85 stars 30 forks source link

programmatic beginnings in R #148

Closed jules32 closed 1 year ago

jules32 commented 1 year ago

Hi R Mentors @cassienickles @BriannaLind @mjami00 @jessnicwelch !

This is an attempt to Find Data programmatically in R using reticulate to wrap the earthdata python library. It works! And I wanted to see what you think are next steps. Seems like displaying the JSON output not as long strings inside a list but instead in a pretty way would be good, to set us up for how we access JSON data (this will be the following How To in the Cookbook). We can review this in coworking and go from there.

Anyways, this is what the output currently shows when you run in the console:

image

A few resources I've been looking at:

jules32 commented 1 year ago

Here is a screenshot previewing what I've done. The file that I've edited to make these changes is programmatic.qmd

image
jules32 commented 1 year ago

Merging to enable further development