Webinar: Introduction to Geospatial Analysis in R
HTML-код
- Опубликовано: 10 сен 2024
- Short Description: During this webinar we will provide an overview of common geospatial operations in R including: how to import data files into R, overlay layers, reduce spatial extent, select and reclassify values, and make a map.
-------------------------------------------------------------------------
Detailed Description:
The open-source software environment R is gaining popularity among many scientists, including geologists, biologists, and environmental scientists. R provides an alternative to traditional GIS software with numerous packages for geospatial analysis. This webinar will begin with a brief introduction to an example geospatial dataset from the ORNL DAAC and an overview of common geospatial operations in R. Next, we will demonstrate how to import files into R, overlay layers, reduce spatial extent, select and reclassify values, and make a map.
There is a simpler way to aligning the crs - namely: st_transform(threestates, crs = crs(fire)). The code of course will never be up to date (what I am writing now will undoubtedly change in the next year or two) but the general procedures of making these maps will not. This is a great lesson by the way. Clear and concise.
I cannot thank NASA enough for sharing this with people like me. I'm continuously learning from NASA.
LOVE RESPECT and REGARDS FROM INDIA
We are glad that you found the webinar useful to your work.
Wow. I totally understand this! Thanks so much!!!
That's great! Thanks so much for the feedback.
Some of the links in the video could have beenn added to the description section of the video for easy access. Great work!
Thanks
You are right, and thank you for this excellent point. This is an older webinar, and we started adding the links to more recent events.
myStates
R Studio for me doesn't like the spTransform function. It outputs an error message saying "Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘spTransform’ for signature ‘"sf", "CRS"’". Does anyone have any ideas why this is happening?
I encourage you to post this question within the Earthdata Forum at forum.earthdata.nasa.gov. You can also try emailing support@earthdata.nasa.gov or reach out to the ORNL DAAC User Services Office at uso@ornl.gov.
spTransform did not work for me since my objects are sf rather than sp. st_transform(fire, crs = crs(threestates)) works. However, after trying to crop the rasters things break down. I did get it to work with raster::crop. So another package was interfering.
Good morning Haraldur, there are a number of newer R and Python-based tutorials found on the NASA ORNL DAAC's GitHub page at: github.com/ornldaac/. Also, for questions about their command line tutorials, please feel free to reach out to them directly at: uso@daac.ornl.gov
@@NASAEarthdata
Excellent. I will check it out.
Thanks.
This is great. My only disappointment is that the R code looks very "clunky" and the authors are using "print" and not using the tidyverse which works fine with sf files.
Mega gram? What is that? I expected milligram or mirco gram.