imod.util.transform# imod.util.transform(a: DataArray) → Affine[source]# Extract the spatial reference information from the DataArray coordinates, into an affine.Affine object for writing to e.g. rasterio supported formats. Parameters: a (xarray.DataArray) Return type: affine.Affine