iwfm.gw_well_lay_elev¶
- iwfm.gw_well_lay_elev(d_wellinfo, elem_nodes_d, node_xy_d, strat, verbose=False)[source]¶
Find aquifer and aquitard layer elevations at each well by inverse-distance weighting from the nodes of the element containing the well.
- Parameters:
d_wellinfo (dict) – key = well name, value = list with [0] = well x, [1] = well y, [4] = ID of the element containing the well (other entries are carried through unchanged)
elem_nodes_d (dict) – key = element ID, value = list of the element’s node IDs (0 entries for triangles are skipped)
node_xy_d (dict) – key = node ID, value = (x, y) coordinates
strat (list) – nodal stratigraphy from iwfm_read_strat: one row per node as [node_id, lse, aquitard_thick_1, aquifer_thick_1, …]
verbose (bool, default=False, optional) – True = command-line output on
- Returns:
new_d_wellinfo – key = well name, value = the input list with two entries appended: the element’s node IDs, and [aquifer_top, aquifer_bot, aquitard_top, aquitard_bot], each a list of nlayers elevations interpolated to the well location
- Return type: