Upload essd_scripts/reproduce_manuscript_outputs.sh
Browse files
essd_scripts/reproduce_manuscript_outputs.sh
CHANGED
|
@@ -7,19 +7,19 @@ OUTDIR="${1:-$ROOT/essd_scripts/outputs}"
|
|
| 7 |
cd "$ROOT"
|
| 8 |
mkdir -p "$OUTDIR"
|
| 9 |
|
| 10 |
-
echo "[1/
|
| 11 |
python essd_scripts/audit_manuscript_numbers.py --format text \
|
| 12 |
| tee "$OUTDIR/manuscript_number_audit.txt"
|
| 13 |
|
| 14 |
-
echo "[2/
|
| 15 |
python essd_scripts/audit_manuscript_numbers.py --format json \
|
| 16 |
> "$OUTDIR/manuscript_number_audit.json"
|
| 17 |
|
| 18 |
-
echo "[3/
|
| 19 |
python essd_scripts/audit_manuscript_numbers.py --format latex-baseline \
|
| 20 |
> "$OUTDIR/baseline_validation_rows.tex"
|
| 21 |
|
| 22 |
-
echo "[4/
|
| 23 |
if [[ -f "$ROOT/essd/template.tex" ]]; then
|
| 24 |
python essd_scripts/check_manuscript_consistency.py --format text \
|
| 25 |
| tee "$OUTDIR/manuscript_consistency_check.txt"
|
|
@@ -30,14 +30,17 @@ else
|
|
| 30 |
| tee "$OUTDIR/manuscript_consistency_check.txt"
|
| 31 |
fi
|
| 32 |
|
| 33 |
-
echo "[5/
|
| 34 |
python essd_scripts/plot_dataset_overview.py \
|
| 35 |
--label-json data/label/annotations_for_continuous_hdf5.json \
|
| 36 |
--waveform-db data/index/waveform_index.sqlite \
|
| 37 |
--h5-dir data/hdf5 \
|
| 38 |
--out figures/dataset_overview.pdf
|
| 39 |
|
| 40 |
-
echo "[6/
|
|
|
|
|
|
|
|
|
|
| 41 |
python essd_scripts/plot_essd_qc_figures.py
|
| 42 |
|
| 43 |
echo "[OK] Manuscript audit outputs: $OUTDIR"
|
|
|
|
| 7 |
cd "$ROOT"
|
| 8 |
mkdir -p "$OUTDIR"
|
| 9 |
|
| 10 |
+
echo "[1/7] Audit manuscript numbers"
|
| 11 |
python essd_scripts/audit_manuscript_numbers.py --format text \
|
| 12 |
| tee "$OUTDIR/manuscript_number_audit.txt"
|
| 13 |
|
| 14 |
+
echo "[2/7] Export machine-readable audit report"
|
| 15 |
python essd_scripts/audit_manuscript_numbers.py --format json \
|
| 16 |
> "$OUTDIR/manuscript_number_audit.json"
|
| 17 |
|
| 18 |
+
echo "[3/7] Export baseline-validation table rows"
|
| 19 |
python essd_scripts/audit_manuscript_numbers.py --format latex-baseline \
|
| 20 |
> "$OUTDIR/baseline_validation_rows.tex"
|
| 21 |
|
| 22 |
+
echo "[4/7] Check manuscript-number consistency"
|
| 23 |
if [[ -f "$ROOT/essd/template.tex" ]]; then
|
| 24 |
python essd_scripts/check_manuscript_consistency.py --format text \
|
| 25 |
| tee "$OUTDIR/manuscript_consistency_check.txt"
|
|
|
|
| 30 |
| tee "$OUTDIR/manuscript_consistency_check.txt"
|
| 31 |
fi
|
| 32 |
|
| 33 |
+
echo "[5/7] Rebuild dataset overview figure"
|
| 34 |
python essd_scripts/plot_dataset_overview.py \
|
| 35 |
--label-json data/label/annotations_for_continuous_hdf5.json \
|
| 36 |
--waveform-db data/index/waveform_index.sqlite \
|
| 37 |
--h5-dir data/hdf5 \
|
| 38 |
--out figures/dataset_overview.pdf
|
| 39 |
|
| 40 |
+
echo "[6/7] Rebuild monitoring-regime characterization figure"
|
| 41 |
+
python essd_scripts/plot_monitoring_regime_characterization.py
|
| 42 |
+
|
| 43 |
+
echo "[7/7] Rebuild ESSD QC and appendix figures"
|
| 44 |
python essd_scripts/plot_essd_qc_figures.py
|
| 45 |
|
| 46 |
echo "[OK] Manuscript audit outputs: $OUTDIR"
|