Analyze floods using ONLY Python! (aka spatial data science)
ฝัง
- เผยแพร่เมื่อ 23 ก.ค. 2024
- 🛳️ Work with me 1-on-1 on MentorCruise ➡️ mentors.to/mattforrest ⬅️
📖 My Spatial SQL book is out now! ➡️ spatial-sql.com/ ⬅️
🎓 Top GIS courses on Coursera! ➡️ imp.i384100.net/NkVA6V ⬅️
Analyzing climate change and potential flooding is incredibly important as our world changes, and one way to do this is to use Python and GIS data known as digital elevation models. In this tutorial, we will create a relative elevation model, or model the data relative to the height of a body of water, in this case, the Mississippi River near Cape Girardeau, MO.
0:00 Intro
1:12 What are relative elevation models?
5:42 Downloading USGS data
8:59 Xarray, Rasterio, other libraries, and data prep
11:54 Geocode river using OSMnx
13:53 Create the river elevation model with Xarray and rioxarray
20:09 Visualize with Datashader and wrap-up
Download the data in the tutorials here:
➡️ USGS DEM File: www.sciencebase.gov/catalog/i...
➡️ Notebook and Files on GitHub: github.com/mbforr/youtube-exa...
📝 Original Notebook: github.com/DahnJ/REM-xarray/b...
🏞️ More info on REMs: dancoecarto.com/creating-rems...
✅ Check out my Notion Productivity Template here: mbforr.gumroad.com/l/notion-p...
📚 FREE CARTO Account for Students: docs.carto.com/faqs/categorie...
Check out some other posts and resources here:
Learn Spatial SQL: forrest.nyc/learn-spatial-sql/
40+ Resources for Spatial SQL: forrest.nyc/40-spatial-sql-re...
75+ Geospatial Python and Spatial Data Science Resources and Guides: forrest.nyc/75-geospatial-pyt...
Other courses to get started with GIS, spatial data science, and data science (affiliate links):
Geographic Information Systems (GIS) Specialization from UC Davis: imp.i384100.net/n1Kyxo
Spatial Data Science and Applications from Yonsei University: imp.i384100.net/9W6E6W
Python for Everybody from University of Michigan: imp.i384100.net/BX3P31
Remote Sensing Image Acquisition, Analysis and Applications: imp.i384100.net/Xxe4Ay
Google Data Analytics Professional Certificate: imp.i384100.net/oeKO9b
IBM Data Science Professional Certificate: imp.i384100.net/n1KyK6
#gis #hydrology #python
➕ Follow me on LinkedIn: / mbforr
🎙️Check out the Modern GIS episode on the MapScaping Podcast: mapscaping.com/podcast/what-i...
🌐 My personal website: forrest.nyc
🚀 My top links and resources: forrest.nyc/links-and-guides-... - วิทยาศาสตร์และเทคโนโลยี
You've done amazing job, Matt. Good luck!
Thanks so much appreciate it!
This is increadible!! Excellent video format, very well explained. I'm trully in awe of your content, complex information explained simply and summarized. If you are able, please do more videos like this one.
Will do!
Thank you so much for this! 🙂
Happy to help!
Thank you for your service
Happy to help!
Thanks Matt
Glad it was helpful!
Thanks you, i like your video❤
Thanks!
Any tips on how to download the initial raster? It is looking for a log in but I can't seem to create one.
There shouldn’t be a log in. Make sure to add a bounding box to the map and once you pick an image the link is further down the page.
That's really interesting and helpful specially when it comes to analysing feasibility studies for large projects. Can you develop it into a QGIS plugin?
You definitely could and there is an example of this in QGIS in the description!
Great! Only I had the same problem at the end. How did you flip the image?
I think is just rotated it in Preview
Thank you 💕 so much 🥰 sir
Thanks!!
Thank you so much for this tutorial , i want to learn spatial data science for climate change/ Environmental science. what skill or tools should I learn?
QGIS then Python then SQL
What ide is best for gis and python
For me it’s Jupyter Lab!
Is it similar to HAND-FIM developed by NOAA-OWP
maybe
Not sure will try and figure that out!
please do a tutorial on how to work with osmnx to perform network analysis
Great idea thanks!
Is the flood only based on the morphology of the river? There is no flow data, right? How could the calculation of a specific flow be added?
It uses the xarray function for it accumulation calculation you have to pull individual steam as per you requirement and scale, I also suggest you to use some kind of weightage value like precipitation prediction value.
Correct no flow data in this one but it can be added!
We can use precipitation as weightage it would have been just a boom