Determine the operational status of pipe: is it excellent? or is technological control required? or is it critical situation?
nominal wall thickness of the pipe, [inch]. Type:
measured maximum depth of the corroded area, [inch]. Type:
Operational status of pipe:
1 - excellent
2 - monitoring is recommended
3 - alert! replace the pipe immediately!
ASME B31G-1991. Manual for determining the remaining strength of corroded pipelines. A supplement to ASTME B31 code for pressure piping.
b31gops(.438, .1) #>  2 #  2 # typical status for the most of pipes b31gops(.5, .41) #>  3 #  3 # alert! Corrosion depth is too high! Replace the pipe!