More Useful Libraries #14
Replies: 8 comments 8 replies
-
I agree. leafmap and geemap are maintained by the same person, and there is overlap in their functionality I'm a little familiar with geemap and have explored the image downloading functionality ... that was how I downloaded sentinel-2 data for coast train, before I started using CoastSat. I regret not using CoastSat from the start, however, because it is better at keeping track of the satellite positional error, masks imagery for clouds, and it doesnt appear to have limits on the size of image you can download, unlike geemap That said, I strongly agree geemap could be really useful and exactly what we need for webmapping, geojson ROI definition, etc Also, I didn't exhaustively explore image download options using geemap, and things may have improved since the summer Let's add geemap to the list of things to explore |
Beta Was this translation helpful? Give feedback.
-
Here is an example of how I was using geemap
assuming you have a geojson file containing multiple sites to download imagery, e.g.
extract the geographic coordinates (wgs84, or longitudes and latitudes) from the data
define start and end date, and maximum cloud cover
next,make an image collection
download data
finally, clean up images into folders
|
Beta Was this translation helpful? Give feedback.
-
I also have another version of this workflow that tries to download chunks of images if the given ROI polygon is too large, i.e. if the image area is larger than the GEE maximum download limit (I dont yet know how CoastSat circumvents this limitation - I imagine it uses a similar approach to below) in this version, the polygon is further subdivided into 4 x 4 = 16 equal pieces
those pieces are then combined as a
then work on each part in turn
as you can see, this is a much more complicated workflow than CoastSat ... |
Beta Was this translation helpful? Give feedback.
-
There are a few potential limitations with these workflows compared to CoastSat (need to be further explored):
However, that said, everything is currently on the table. We should explore geemap, wxee, and Coastsat as a mechanisms to download imagery - what are the relative merits? Geemap could be EXACTLY what we need as a graphical frontend |
Beta Was this translation helpful? Give feedback.
-
Adding this here. So many ways to query and download satellite data. This uses a STAC https://odc-stac.readthedocs.io/en/latest/notebooks/stac-load-e84-aws.html?s=09 |
Beta Was this translation helpful? Give feedback.
-
This combines webmapping with xarray. I really like the idea of storing our data cubes in xarray format... https://github.com/davidbrochart/xarray_leaflet |
Beta Was this translation helpful? Give feedback.
-
On xarray, this is a little old but mostly still valid https://rabernat.github.io/research_computing_2018/xarray.html |
Beta Was this translation helpful? Give feedback.
-
Useful Libraries
GeeMaps for Data Extraction and Loading Tifs
Website
Youtube Channel
Beta Was this translation helpful? Give feedback.
All reactions