You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason to use RasterStack specifically here? This is easier using RasterSeries as what you have is a series of rasters of identical size and type along a time dimension.
Something like this should work:
using Rasters, ArchGDAL
# a RasterSeries can be created from the list of files
series =RasterSeries(tif_filenames, Band(basename.(tiff_filenames))
# combine turns the slices of a RasterSeries into a single Raster we can write as one file.
raster = Rasters.combine(series, Band)
# Now we can write the geotiffwrite("output_filename.tif", raster)
I want to create a GeoTIFF file with a screenshot of the 'rasstack' variable. Can someone assist with this?
The text was updated successfully, but these errors were encountered: