Out of memory error (opening too many rasters at once!) #647
-
Hello! I'm trying to figure out how to get around this error. I think the issue is that I'm working on two DEM downloads for different areas, at the same time. Each download and plotting operation is sizeable by itself, but I'm not sure how to separate them so they're being done together. All together it ends up being nine rasters, which rasterio is trying to download, merge, and plot all at once. I need to at least separate these by the two different gdf's, but I don't know the syntax / language to make that work. Does anyone know how to do that? Thanks!!! ~Michael |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
Update: I figured it out! In the first code block in the post above, I wrote "if not glob(srtm_pattern)" instead of "if not glob(srtm_p_pattern)". Once I added in the p, the rest worked!