multiple RV component texture group records results in duplicate horizons/logic fail #32
Labels
bug
NASIS-local
This tag is used for pull requests, issues, discussions etc. for soilDB local NASIS functions
Noticed today that I had inadvertently checked two texture groups as RV for one of my component horizons.
The component wouldn't load via
fetchNASIS_component_data()
due to failingtest_hz_logic()
. The reason why was not immediately obvious from my NASIS horizon table.Multiple RVs results in the duplication/overlap AFTER loading from DB when compressing the chorizon texture group table down to the
texture
field within the component SPC.Was handy that this happened, as otherwise it would have persisted in there until I ran the RV validation, but it might be helpful to catch "multiple RV" issues with a more informative error message.
Also, should there be safeguards to prevent duplication of a record because of a many-to-one compression gone bad? or one that is "intractable" without a human decision? I can't currently think of a case where duplicating would be desired behavior.
The text was updated successfully, but these errors were encountered: