-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving Episode 5 #47
Comments
Definitely helpful, thanks @vinisalazar ! On the first point, when I unzip the folder on my Mac, the result is a data folder that contains the sub directories for each dataset. Is this not the case on your end? I can test this out on windows tomorrow, I thought that when the .zip is extracted, the result is always a folder called "data" that contains the subdirectories, so a data folder wouldn't need to be created. On the second point, I agree we could improve the introduction of plotting with matplotlib + xarray's 'plot' methods, it'd probably be good to discuss briefly how they complement each other. First, I think it'd be best to remove Episode 6's use of the The second part of Episode 7 currently focuses on running a calculation to get a Canopy Height Model and making a pretty plot. This could formally introduce customizing plots with matplotlib and earthpy, since that sets up the later episodes. I think it's ok to still keep the code that use |
Hi @rbavery,
I tried it again and that is indeed the case. Sorry for that.
That is a fair point that people should be familiar with Matplotlib. Thinking about it now, expanding the "Plotting Tip" block in Episode 05 could be a way of having the Matplotlib introduction. And then on Episode 7, learners will already be more familiar. What do you think? Edit: I actually reconsidered. Having the Plotting Tip in the middle of Episode 5 might be confusing. All plotting functions in that episode can be done with xarray's methods. In Episode 7, plotting functions depend more on Matplotlib. So maybe it would be nice to place it right before the "Harvard Forest Digital Terrain Model" plot, considering that Episode 6 will be merged. |
I will submit a PR with a tentative approach. |
Great, that sounds good to me. If you don't get to it, I'll work on the episode 6 refactor to focus on reproject_match and dealing with no data values with masking. Thanks a bunch for your comments and help, much appreciated! |
…arpentries-incubator#22). - Move the 'Plotting Tip' block from Episode 05 to Episode 06 - Add a new block 'Customizing plots with Matplotlib in Episode 06
it's addressed see #19 |
Hi, I have a couple of concerns for Episode 5:
surface_HARV = rioxarray.open_rasterio("data/NEON-DS-Airborne-Remote-Sensing/HARV/DSM/HARV_dsmCrop.tif")
line. In the setup page, instructions state that the downloaded data should be moved inside thegeospatial-python
directory and then unzipped. This may cause FileNotFoundErrors, that are easy to solve, but could be avoided. I propose that either the"data/"
string is removed from theopen_rasterio
function OR that the setup instructions state that adata
directory needs to be created (I believe the former is easier).I hope this is helpful for the discussion.
Best wishes,
V
The text was updated successfully, but these errors were encountered: