abkfenris / snowpit

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

Avatech compatible #8

Open abkfenris opened 8 years ago

abkfenris commented 8 years ago
{
  "_id": "5655f3bab310370f00276b95",
  "depth": 71,
  "layers": [
    {
      "notes": "Sun crusted wind pack",
      "grainSize": ".5",
      "grainType": "RGwp",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [
            {
              "rule": "D"
            }
          ],
          "layer": [
            {
              "rule": "A"
            },
            {
              "rule": "B"
            }
          ]
        },
        "flags": {
          "interface": [

          ],
          "layer": [

          ]
        }
      },
      "index": 0,
      "depth": 70,
      "hardness2": "P",
      "hardness": "P",
      "height": 1
    },
    {
      "grainSize2": "1",
      "grainSize": ".5",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [
            {
              "rule": "D"
            }
          ],
          "layer": [
            {
              "rule": "A"
            }
          ]
        },
        "flags": {
          "interface": [
            {
              "rule": "F"
            }
          ],
          "layer": [

          ]
        }
      },
      "index": 1,
      "depth": 50,
      "hardness2": "1F",
      "hardness": "1F",
      "height": 20
    },
    {
      "concern": "T",
      "grainType": "FC",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [
            {
              "rule": "D"
            }
          ],
          "layer": [
            {
              "rule": "A"
            }
          ]
        },
        "flags": {
          "interface": [
            {
              "rule": "F"
            }
          ],
          "layer": [
            {
              "rule": "B"
            }
          ]
        }
      },
      "index": 2,
      "depth": 39,
      "hardness2": "4F",
      "hardness": "4F",
      "height": 11
    },
    {
      "grainSize2": "1",
      "grainSize": ".5",
      "grainType": "RGsr",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [
            {
              "rule": "D"
            }
          ],
          "layer": [
            {
              "rule": "A"
            }
          ]
        },
        "flags": {
          "interface": [
            {
              "rule": "F"
            }
          ],
          "layer": [

          ]
        }
      },
      "index": 3,
      "depth": 28,
      "hardness2": "1F",
      "hardness": "1F",
      "height": 11
    },
    {
      "concern": "B",
      "grainType": "IFsc",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [
            {
              "rule": "D"
            }
          ],
          "layer": [
            {
              "rule": "A"
            },
            {
              "rule": "B"
            }
          ]
        },
        "flags": {
          "interface": [
            {
              "rule": "E"
            },
            {
              "rule": "F"
            }
          ],
          "layer": [

          ]
        }
      },
      "index": 4,
      "depth": 27,
      "hardness2": "P",
      "hardness": "P",
      "height": 1
    },
    {
      "concern": "T",
      "notes": "",
      "grainSize": "2",
      "grainType": "FC",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [
            {
              "rule": "D"
            }
          ],
          "layer": [
            {
              "rule": "A"
            },
            {
              "rule": "B"
            }
          ]
        },
        "flags": {
          "interface": [
            {
              "rule": "E"
            },
            {
              "rule": "F"
            }
          ],
          "layer": [
            {
              "rule": "B"
            }
          ]
        }
      },
      "index": 5,
      "depth": 25,
      "hardness2": "F",
      "hardness": "F",
      "height": 2
    },
    {
      "concern": "T",
      "grainType": "IFsc",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [
            {
              "rule": "D"
            }
          ],
          "layer": [
            {
              "rule": "A"
            },
            {
              "rule": "B"
            }
          ]
        },
        "flags": {
          "interface": [
            {
              "rule": "E"
            },
            {
              "rule": "F"
            }
          ],
          "layer": [

          ]
        }
      },
      "index": 6,
      "depth": 24,
      "hardness2": "P",
      "hardness": "P",
      "height": 1
    },
    {
      "notes": "Damp near thwe",
      "grainType": "FC",
      "views": {
        "icssg": {
          "layer": [

          ]
        },
        "pgrains": {
          "layer": [

          ]
        },
        "lemons": {
          "interface": [

          ],
          "layer": [
            {
              "rule": "A"
            }
          ]
        },
        "flags": {
          "interface": [
            {
              "rule": "F"
            }
          ],
          "layer": [
            {
              "rule": "B"
            }
          ]
        }
      },
      "index": 7,
      "depth": 0,
      "hardness2": null,
      "hardness": "F",
      "height": 24
    }
  ],
  "temps": [
    {
      "temp": -7,
      "depth": 10
    },
    {
      "temp": -7,
      "depth": 20
    },
    {
      "temp": -5,
      "depth": 30
    },
    {
      "temp": -3.5,
      "depth": 40
    },
    {
      "temp": -2,
      "depth": 50
    },
    {
      "temp": -0.5,
      "depth": 60
    },
    {
      "temp": 0,
      "depth": 70
    }
  ],
  "tests": [
    {
      "comment": "Medium",
      "depth": 21,
      "PST": {
        "score": "End"
      },
      "ST": {
        "score": "STC"
      },
      "DT": {
        "score": "DTV"
      },
      "SB": {
        "score": "SBV"
      },
      "RB": {
        "score": "RB1"
      },
      "CT": {
        "score": "CTV"
      },
      "ECT": {
        "shear": "Q3",
        "score": "ECTPV"
      },
      "type": "ECT",
      "isNew": false
    },
    {
      "comment": "Hard",
      "depth": 45,
      "PST": {
        "score": "End"
      },
      "ST": {
        "score": "STC"
      },
      "DT": {
        "score": "DTV"
      },
      "SB": {
        "score": "SBV"
      },
      "RB": {
        "score": "RB1"
      },
      "CT": {
        "score": "CTV"
      },
      "ECT": {
        "taps": 0,
        "shear": "Q2",
        "score": "ECTP"
      },
      "type": "ECT",
      "isNew": false
    }
  ],
  "density": [

  ],
  "type": "snowpit",
  "organization": {
    "_id": "546b640c34c92ab7457edc80",
    "name": "JHSP"
  },
  "_depth": 71,
  "snowpackHeight": "71",
  "date": "2015-11-24T07:00:00.000Z",
  "time": "1800-01-01T17:36:00.000Z",
  "locationName": "Headwall Shot 13",
  "location": [
    -110.855607,
    43.603114
  ],
  "_lat": 43.603114,
  "_lng": -110.855607,
  "elevation": 2909,
  "airTemp": 1.1111111111111,
  "slope": 35,
  "aspect": 136,
  "surfaceGrainType": "MF",
  "surfaceGrainType2": "DF",
  "surfaceGrainSize": ".5",
  "surfaceGrainSize2": ".5",
  "sky": "OVC",
  "windSpeed": "L",
  "windDirection": 143,
  "blowingSnow": "None",
  "precipType": "NO",
  "user": {
    "_id": "537d34a4c9ce7546c6162a33",
    "fullName": "Bob Comey",
    "userType": "pro"
  },
  "sharedOrganizations": [

  ],
  "shareWithStudents": true,
  "shareWithAvyCenter": true,
  "published": true,
  "media": [

  ],
  "photos": [

  ],
  "removed": false,
  "updated": "2015-11-25T18:38:03.565Z",
  "created": "2015-11-25T17:45:30.416Z",
  "__v": 0,
  "metaData": {

  },
  "sharingLevel": "public",
  "redFlags": [

  ],
  "notes": "Problem layer is at 50 cm  is faceted snow",
  "redFlag": false
}