GDAL and CUDA are pre-installed on all ephemeral VM kernels for geospatial analysis and GPU acceleration
import rasterio import geopandas as gpd # Read raster data with rasterio.open('/workspace/data/satellite.tif') as src: data = src.read() # Read vector data gdf = gpd.read_file('/workspace/data/shapefile.shp')
import cupy as cp import numpy as np # GPU-accelerated array operations gpu_array = cp.array(np.random.random((1000, 1000))) result = cp.linalg.svd(gpu_array)
/guides