Extract the spatial reference information from the DataArray coordinates, into an affine.Affine object for writing to e.g. rasterio supported formats.
a (xarray.DataArray) –
affine.Affine
previous
imod.util.spatial_reference
next
imod.util.to_ugrid2d