wellmap.iter_col_indices
- wellmap.iter_col_indices(pattern)[source]
Yield all of the well indices in the given column(s).
The given pattern can either specify a single column (e.g. “1”) or several, using the pattern syntax (e.g. “1,2”, “1-3”, “1,3,…,11”).
Examples:
>>> list(iter_col_indices('1')) [0] >>> list(wellmap.iter_col_indices('1,2')) [0, 1] >>> list(wellmap.iter_col_indices('1-3')) [0, 1, 2]
See also: Well formats