Skip to content

Commit c9a77ea

Browse files
Disable auto-detection of extra columns for CLN wells
CLN wells are less likely to come from Groundwater Vistas exports and often have trailing comments like "Node Q" that would be incorrectly parsed as data columns. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 09caf6d commit c9a77ea

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

flopy/pakbase.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,14 +1169,16 @@ def load(
11691169
current_cln = pak_type.get_empty(
11701170
itmp_cln, aux_names=aux_names, structured=False, **usg_args
11711171
)
1172+
# Disable auto-detection for CLN wells - they're less likely
1173+
# to come from Groundwater Vistas and often have trailing comments
11721174
current_cln = ulstrd(
11731175
f,
11741176
itmp_cln,
11751177
current_cln,
11761178
model,
11771179
sfac_columns,
11781180
ext_unit_dict,
1179-
auto_detect_extra_cols=auto_detect_extra_cols,
1181+
auto_detect_extra_cols=False,
11801182
)
11811183
current_cln["node"] -= 1
11821184
bnd_output_cln = np.recarray.copy(current_cln)

0 commit comments

Comments
 (0)