I have cation and anion water chemistry data for some samples and I intend(ed) to generate piper diagrams for the same.

However, data for some parameters was not obtained during the determinations of the abovementioned and the software I am using won't generate a piper diagram without data for some parameters like sulfate.

Is there any way to generate the diagram without some data?

  • 2
    $\begingroup$ Here are a number of good examples in Python and R. With open source, you can easily control what parameters to use and get a clear plot. $\endgroup$
    – user2821
    Commented Jun 13, 2017 at 4:25
  • 2
    $\begingroup$ TikZ is another option here is an example of a ternary diagram for inspiration, but actually, I think that Peeters (2013) code will solve your problem. $\endgroup$
    – user2821
    Commented Jun 13, 2017 at 13:30
  • 1
    $\begingroup$ Are you asking for software that can make plots without the data or how to fill in or estimate the missing data? You won't be able to plot a Piper diagram without sulfate (a Piper diagram is not the same as a ternary diagram). One thing you could do is to look at the charge balance and assume that any excess positive charge is balanced by the missing sulfate. $\endgroup$
    – haresfur
    Commented Jun 13, 2017 at 23:27
  • $\begingroup$ @haresfur the software would be ideal, but if non-existent I can work with a mathematical computation. $\endgroup$ Commented Sep 28, 2017 at 9:00
  • $\begingroup$ Calculate the mili-equivalents of each ion that you do know. Subtract the sum of the anions other than sulfate from the sum of the cations. Use that number to estimate your sulfate concentration. $\endgroup$
    – haresfur
    Commented Oct 1, 2017 at 22:48


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.