abkfenris / snowpit

Interact with snowpit stability data in Python
http://abkfenris.github.io/snowpit/
4 stars 1 forks source link

Dealing with top down and bottom up measurements #2

Open abkfenris opened 9 years ago

abkfenris commented 9 years ago

Right now snowpit is only keeping track of Layer depth, because you should always be able to get the depth of the layer (total depth-height-thickness). It would be nice to be able to create Layers based on their height however, and sort them too.

abkfenris commented 9 years ago

Maybe keep the layer's only recording their own depth, but be able to

Snowpit.new_layer(thickness, height=#...)

and use Snowpit.total_depth to compute the depth.