ktindiana / sphinxval

SPHINX validation code for solar energetic particle models
MIT License
3 stars 3 forks source link

Simplify --resume interface #73

Closed rickyegeland closed 1 month ago

rickyegeland commented 6 months ago

The help of sphinx.py currently reads:

  --resume              Specify resume to add forecasts to an existing
                        dataframe and recalculate metrics.
  --DataFrame DATAFRAME
                        Filename of existing Pandas DataFrame containing the
                        results of a previous SPHINX run in pkl format. Must
                        specify if choose resume.

Simplify this by requiring the DATAFRAME argument is passed to --resume, e.g.

python bin/sphinx.py --resume SPHINX_dataframe.pkl

This presumes there is no use-case for running with --DataFrame and without --resume.

ktindiana commented 1 month ago

Resolved with commit 942b3f1