Skip to content

Commit 7140b72

Browse files
committed
Merge remote-tracking branch 'origin'
2 parents fbad6fe + 0f0bc6b commit 7140b72

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TITLE OF PAPER
1+
# Should Coronal Mass Ejections be forecasted as a consequence of flares? A comparison of different approaches
22

33
This repository contains the data, scripts to process the data, scripts to train the model and the model weights from the paper (**PAPER HERE**). Below we provide extensive details of how the data was processed, normalized and used to train the models referred to in the paper.
44

@@ -8,7 +8,7 @@ The main data source for the features used in forecasting events are SHARP keywo
88

99
### Feature processing
1010

11-
Data from SWAN is loaded into an sqlite database. For convenience this is already done and can be found in the file `data/features.db`, table `SWAN`. To the original columns of this table we add a `IS_VALID` boolean flag indicating whether that particular entry contains valid data. The validity is based on meeting the following two criteria:
11+
Data from SWAN is loaded into an sqlite database. For convenience this is already done and can be found by extracting `data.zip` from [doi.org/10.5281/zenodo.14851540](doi.org/10.5281/zenodo.14851540) inside the repository. The data is located at `data/features.db`, table `SWAN`. To the original columns of this table we add a `IS_VALID` boolean flag indicating whether that particular entry contains valid data. The validity is based on meeting the following two criteria:
1212

1313
1. `IS_TMFI`, which indicates whether the magnetic field features can be trusted (see [SWAN-SF](https://www.nature.com/articles/s41597-020-0548-x) for details of what this means). Its value is 1 when they can be trusted and 0 otherwise. We require a value of 1.
1414
2. No SHARP keyword must have a missing value
@@ -75,7 +75,7 @@ pip install -r requirements.txt
7575

7676
### Reproducing the predictions and figures
7777

78-
If you're only interested in reproducing or obtaining the predictions made by the models and the figures/tables from the paper, download `out.zip` from **LINK MISSING**, extract it and place the `out/` folder in the `cme_flare_forecast` folder. Then you can run the notebooks `get_validation_predictions.ipynb` _if you want to recalculate the predictions, otherwise you can directly_ run `paper_figures_and_tables.ipynb`.
78+
If you're only interested in reproducing or obtaining the predictions made by the models and the figures/tables from the paper, download `data.zip` and `out.zip` from [doi.org/10.5281/zenodo.14851540](doi.org/10.5281/zenodo.14851540), and extract them (so they become the `data/` and `out/` folders) in the `cme_flare_forecast` folder. Then you can run the notebooks `get_validation_predictions.ipynb` _if you want to recalculate the predictions, otherwise you can directly_ run `paper_figures_and_tables.ipynb`.
7979

8080
### Rerunning the training scripts
8181

configs/local/local.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
db_path: "/home/julio/cmeml_experiments/experiment2/data/features.db"
1+
db_path: "/unsafe2/jhc/cme_flare_forecast/data/features.db"
2+

0 commit comments

Comments
 (0)