错误:
Stiff diagram uses geochemical parameters Ca, Mg, Na, K, HCO3, Cl, and SO4.
Also, Sample is requied to save the Stiff diagram to disk for each sample.
Confirm that these parameters are provided in the input file.
Traceback (most recent call last):
File "/www/wwwroot/waterbrust/waterburst-plot-services/app.py", line 232, in stiff
img_data = generate_stiff(df)
^^^^^^^^^^^^^^^^^^
File "/www/wwwroot/waterbrust/waterburst-plot-services/charts/stiff.py", line 34, in generate_stiff
img_data = wqchartpy_to_base64(stiff.plot, wq_df, unit=unit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/wwwroot/waterbrust/waterburst-plot-services/charts/base.py", line 442, in wqchartpy_to_base64
raise e
File "/www/wwwroot/waterbrust/waterburst-plot-services/charts/base.py", line 422, in wqchartpy_to_base64
plot_func(df, figname=tmp_path.replace('.png', ''), figformat='png', **kwargs)
File "/www/wwwroot/waterbrust/waterburst-plot-services/charts/base.py", line 360, in patched_plot
result = original_plot(df, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/pyporject_evn/versions/3.11.14/lib/python3.11/site-packages/wqchartpy/stiff.py", line 47, in plot
raise RuntimeError("""
RuntimeError:
Stiff diagram uses geochemical parameters Ca, Mg, Na, K, HCO3, Cl, and SO4.
Also, Sample is requied to save the Stiff diagram to disk for each sample.
Confirm that these parameters are provided in the input file.