in3Utils.generateTopo.addDrop

addDrop(cfg, x, y, zv)[source]

Add a drop to a given topography

The drop is added in the x drection

Parameters
  • cfg (configparser) – configuration for generateTopo

  • x (2D numpy array) – x coordinate of the raster

  • y (2D numpy array) – y coordinate of the raster

  • zv (2D numpy array) – z coordinate of the raster

Returns

zv – z coordinate of the raster taking the drop into account

Return type

2D numpy array