to_mf6_pkg now throws a ValueError when wells are removed entirely during their assigning to model cells, which cannot be bypassed. Even worse: The error is thrown before erronous wells' locations are logged.
- There currently is an
is_partitioned flag which turns off the check, but that can be perhaps renamed to something to be used outside the partitioning context.
- Logging should be done before error is thrown
- Error message can include to ids of removed wells and point to option to turn off the check
to_mf6_pkgnow throws a ValueError when wells are removed entirely during their assigning to model cells, which cannot be bypassed. Even worse: The error is thrown before erronous wells' locations are logged.is_partitionedflag which turns off the check, but that can be perhaps renamed to something to be used outside the partitioning context.