Skip to content
/ pygef Public
forked from cemsbv/pygef

Parse soil measurement data.

License

Notifications You must be signed in to change notification settings

sslob/pygef

 
 

Repository files navigation

PYGEF

Build Status Code style: black PyPi Version GitHub stars

Simple parser for *.gef files. These are ASCII based files used for soil properties measurements.

Installation

$ pip install pygef

$ pip install git+https://github.com/ritchie46/pygef.git

Read BORE and CPT files

from pygef.gef import ParseGEF

# Read *.gef file
gef = ParseGEF("./my-gef-file.gef")

Pandas dataframe is accessible via the df attribute

print(gef.df)

# Save to csv
gef.df.to_csv("my-file.csv")

A few of the GEF files attributes

  • zid: height with respect to NAP
  • type: type of the gef file (borehole or cpt)
  • x: RD coordinate
  • y: RD coordinate

Plotting and classifications

gef.plot(classification='robertson', water_level_NAP= -1, min_thickness= 0.2, show=True)  

# available classifications: robertson, been_jeffries

About

Parse soil measurement data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%