wellmap.j_from_col

wellmap.j_from_col(col)[source]

Convert the given column name into an index number.

Note that column names count from 1. It doesn’t matter if the name is zero-padded or not.

Example:

>>> j_from_col('1')
0
>>> j_from_col('01')
0

See also: Well formats