Replies: 6 comments 3 replies
-
August 31, 2023 - R co-working@BriannaLind screenshared and tried to access NASA data (that has major credentialling associated with it) from R Studio in openscapes2i2c. @cboettig talked through. Underlying concept of using gdal to do heavy lifting and avoiding complications from authentication when possible. @jules32 @mjami00 @stefaniebutland @betolink had awesome contributions throughout. Annotating Bri’s code
Take Aways
|
Beta Was this translation helpful? Give feedback.
-
Sept 14 brief notesCarl has created: https://boettiger-lab.github.io/earthdatalogin 😍
|
Beta Was this translation helpful? Give feedback.
-
Sept 28 updatesTL;DR and next stepsTL; DR means Too Long, Didn't Read @cboettig has been working on https://boettiger-lab.github.io/earthdatalogin 😍 - check out the Articles (screenshots below). Today, he screenshared workin in GitHub Codespaces to launch small instance in cloud. This is where he's been shaking out some bugs with the R environment for working in the cloud and so we can then develop R workflows for Cookbook that parallel the experience for Python workflows. Carl: "the goal is for my students not to be stressing/thinking about data formats, I want them to think about raster data, which then we can use tools/workflows like Next steps: Calling all testers!
|
Beta Was this translation helpful? Give feedback.
-
Nov 9, 2023 update from R/Codespaces breakout roomFrom @eeholmesToday @cboettig and I started by discussing this blog https://openscapes.org/blog/2023-11-07-coiled-openscapes/ that compares cost and speed for downloading data to a laptop versus working in the cloud. Carl had written up a variant of the example in the blog in R and walked me through that code. A key difference is that his code does not download all the data but instead only downloads the needed cropped area. Pre-cropping before downloading makes the laptop speed 20 minutes instead of 383 minutes: https://github.com/boettiger-lab/earthdatalogin/blob/edl_search/inst/examples/sst.R
Then he showed me the Python files at https://planetarycomputer.microsoft.com/dataset/modis-15A3H-061#Example-Notebook and we waxed about how it would be a huge boon to the R community if there were R examples of the Python examples. We ended up here because one of Carl's examples involves some legacy file formats that does not allow subsetting (you have to download the whole file). When Planetary Computer re-hosted the data, they converted to a modern file format that is a) faster and b) allows subsetting. Note 'subsetting' is not the right word, but I can't remember the word Carl used. Then he quickly showed me an example of duckdb with gbif: https://github.com/cboettig/example-notebooks/blob/main/gbif-notebooks/gbif-duckdb-aws.ipynb We joked about how this formatting is so very R like. R programmers have a hard time living without their "pipes" and here Carl has re-created something that feels pipelike in Python. This is very amusing if you are an R programmer.
Last time we had talked about the devcontainer files that Carl created here https://github.com/cboettig/nasa-topst-env-justice. Since then he made some tweaks that improved the user experience and I showed off the codespaces at the NMFS R User Group meeting yesterday. Today we ran into one of the issues that I worried about which is 'what to do if the devcontainer file is updated?'. I could have updated my fork of nasa-topst-env-justice, but I had run into a new problem. For the first time, I used up all my free Codespace minutes. Meh 😞 so Carl instead ran the code today. From @cboettigCredit to @stefaniebutland who shared the cool blog post yesterday on https://openscapes.org/blog/2023-11-07-coiled-openscapes/ . We were looking at how to do that in R, on a local machine using range requests so that it would still be fast but also cost-free to user. |
Beta Was this translation helpful? Give feedback.
-
From @cboettig 🎉 👍 Just wanted to share that a first release of the R package, earthdatalogin , is now on CRAN: https://cran.r-project.org/web/packages/earthdatalogin/ . Includes 5 vignettes covering various use cases. |
Beta Was this translation helpful? Give feedback.
-
In Coworking today - Carl and Eli: |
Beta Was this translation helpful? Give feedback.
-
Following a conversation between @BriannaLind and @cboettig at the ESA conference, we are going to have breakout rooms in Thursday coworking sessions focused on enhancing R support in the Cookbook. Carl Boettiger (@cboettig) is an amazing person in many ways; he's a co-founder of rOpenSci, faculty of Environmental Science, Policy & Management at Berkeley, and a contributor to so, so many open source efforts in at the interface of environment, R, cloud, data, python.
Some starting links Carl has shared:
Beta Was this translation helpful? Give feedback.
All reactions