Input: Borehole and maybe some options for how we want to handle the data?
Process: Iterate over the Stratum in the Borehole, if the preceeding Stratum has the same Stratum.Legend - then combine them in to a single Stratum. If there is, a repeated layer e.g. the Borehole.Stratum.Select(x => x.Legend) = { "MG", "MG", "CHALK", "MG", "CLAY", "SANDSTONE"} then we will want to also rename the layers, i.e.:{"MG", "CHALK", "MG2"}
Output: There will need to be some discussion over how we handle the properties, for example the description of the sample, I propose for now if we combine two samples, the Stratum.Description would be something like:
"0 - 0.4: Loose deposits of ..... 0.4 - 0.8: Firm deposits of...."
That way we do not risk losing any of the information.
Description:
Input:
Borehole
and maybe some options for how we want to handle the data?Process: Iterate over the
Stratum
in theBorehole
, if the preceedingStratum
has the sameStratum.Legend
- then combine them in to a singleStratum
. If there is, a repeated layer e.g. theBorehole.Stratum.Select(x => x.Legend) = { "MG", "MG", "CHALK", "MG", "CLAY", "SANDSTONE"} then we will want to also rename the layers, i.e.:
{"MG", "CHALK", "MG2"}Output: There will need to be some discussion over how we handle the properties, for example the description of the sample, I propose for now if we combine two samples, the
Stratum.Description
would be something like:"0 - 0.4: Loose deposits of ..... 0.4 - 0.8: Firm deposits of...."
That way we do not risk losing any of the information.