Skip to content
GeoEQ · Geotechnical software research lab · University of Utah

SPT N60 Correction in Python with geoeq

Correct an SPT blow count to N60 and N1(60) in Python with the open-source geoeq library: energy ratio, borehole, rod and sampler factors, then overburden correction.

geoeq for Python Intermediate 15 min 5 steps

Short answer

To correct an SPT blow count in Python, call spt_n60 from the open-source geoeq library with the field N and the hammer, borehole, sampler and rod factors, then pass the result to spt_n160 with the effective vertical stress. A field N of 18 becomes N60 = 19.75 and N1(60) = 22.08.

Steps

  1. 01

    Install geoeq and import the SPT functions

    Install the library from PyPI, then import spt_n60 and spt_n160 from geoeq.site.spt. numpy is installed with geoeq.

    # in a terminal: pip install geoeq
    
    import numpy as np
    from geoeq.site.spt import spt_n60, spt_n160
  2. 02

    Calculate N60 from the field N-value

    spt_n60 multiplies N by ER / 60 and by the borehole (Cb), sampler (Cs) and rod-length (Cr) factors. Here N = 18, ER = 55 percent, a 150 mm borehole (Cb = 1.05), a sampler without liner (Cs = 1.2) and 4.5 m of rod (Cr = 0.95). It prints 19.75, which is N60 of about 20.

    n60 = spt_n60(18, ER=55, Cb=1.05, Cs=1.2, Cr=0.95)
    print(round(n60, 2))   # 19.75
  3. 03

    Apply the overburden correction to get N1(60)

    spt_n160 multiplies N60 by CN. The default method is Liao and Whitman, CN = sqrt(pa / sigma_v), with pa = 100 kPa. At an effective vertical stress of 80 kPa, CN is 1.118 and the call prints 22.08.

    n160 = spt_n160(n60, sigma_v=80)
    print(round(n160, 2))   # 22.08
  4. 04

    Compare the overburden methods

    The method argument accepts liao_whitman, skempton or peck. The three results are close at this stress: 22.08, 21.95 and 21.26. State which method you used on the log.

    for method in ("liao_whitman", "skempton", "peck"):
        print(method, round(spt_n160(n60, sigma_v=80, method=method), 2))
    # liao_whitman 22.08
    # skempton 21.95
    # peck 21.26
  5. 05

    Correct a whole borehole with arrays

    Both functions accept numpy arrays, so one call corrects every test in a borehole. The five tests below return N60 of 6.6, 11.0, 15.4, 19.8 and 24.1, and N1(60) of 13.2, 16.4, 18.4, 22.1 and 23.6. The fourth test is the single value from the earlier steps.

    N = np.array([6, 10, 14, 18, 22])
    sigma_v = np.array([20, 45, 70, 80, 105])
    
    n60_profile = spt_n60(N, ER=55, Cb=1.05, Cs=1.2, Cr=0.95)
    n160_profile = spt_n160(n60_profile, sigma_v)
    
    print(np.round(n60_profile, 1))    # [ 6.6 11.  15.4 19.8 24.1]
    print(np.round(n160_profile, 1))   # [13.2 16.4 18.4 22.1 23.6]

Before you start

geoeq is open source and installs with pip install geoeq. The library documentation is at docs.geoeq.org and the package is on PyPI. The worked example is the one used in the note on SPT N-value corrections: a field N of 18, a safety hammer on rope and cathead with a measured energy ratio of 55 percent, a 150 mm borehole, no sampler liner and 4.5 m of rod.

Pass the energy ratio to spt_n60 as a percentage (55), not as a fraction (0.92). The function divides by 60 itself.

Checking the result

Work the first value by hand: 18 x (55 / 60) x 1.05 x 1.2 x 0.95 = 19.75. The note rounds the energy factor to 0.92 and quotes 19.8, which agrees to the first decimal. For N1(60), sqrt(100 / 80) = 1.118 and 19.75 x 1.118 = 22.08.

The note quotes N60 only, so the overburden step is an extension of its example. The note also states a CN cap of 1.7 while geoeq caps CN at 2.0. The cap does not affect this example, where CN = 1.118.

What to do next

Keep the hammer energy ratio, borehole diameter, sampler type and rod length as columns next to N, so the same arrays feed every depth. Where there is a water table, use effective vertical stress, not total stress, in sigma_v. Fines-content correction for liquefaction work is a separate function, spt_n160cs, which takes N1(60) and the fines content in percent.

See Python for geotechnical calculations for other scripted workflows, and the bearing capacity tutorial for the next calculation in a foundation check.

Frequently asked questions

What does spt_n60 calculate?

It returns N60 = N x (ER / 60) x Cb x Cs x Cr, following Skempton (1986). ER is the hammer energy ratio in percent. The defaults are ER = 60 and 1.0 for the other factors, so with defaults N60 equals N.

Which overburden correction methods does spt_n160 offer?

Three: liao_whitman (CN = sqrt(pa / sigma_v), the default), skempton (CN = 2 / (1 + sigma_v / pa)) and peck (CN = 0.77 log10(20 pa / sigma_v)). The atmospheric pressure pa defaults to 100 kPa.

Is CN capped in geoeq?

Yes. spt_n160 limits CN to 2.0. Some practice limits CN to 1.7 instead, so at very low stress, below about 25 kPa with the Liao and Whitman method, check the cap against your project requirements.

Should I apply the overburden correction to clay?

No. CN was developed for sands. For clays the SPT is used with correlations that expect the uncorrected or N60 value.

Next tutorial Bearing Capacity Calculation in Python with geoeq

Get started

Start with the one that is already free.

GeoEQ SPT Logs runs on Windows from a signed installer. A free account is needed to download; the software itself runs offline with no sign-in, no licence key and no expiry.