pyOpenSci / lessons

A repo containing lessons used in pyOpenSci training.
https://www.pyopensci.org/lessons
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Conditional lesson - flesh out conditional lesson check for file section #85

Open lwasser opened 1 month ago

lwasser commented 1 month ago

The first conditional lesson has a section that is not yet fleshed out.

To follow our activities, we could have them work on a conditional that checks if a file exists before opening it. We can use the data here if we want as an example. the goal is to move away from. using Earthpy and, instead, using the publication data throughout these lessons.

You can see in the screenshot below that the old example was some boulder data used in a class i taught. Now let's swap this out using the JSON data in this repo.

Screenshot 2024-10-27 at 6 08 36 PM