Solar Flare Catalogue from 3 Years of Chandrayaan-2 XSM Observations. If you use the catalogue or this pipeline, please cite Valluvan et al. 2024 (https://doi.org/10.1007/s11207-023-02244-0).
Copyright (C) 2024 Aravind Bharathi Valluvan, Ashwin Goyal and Devansh Jain.
A daily updated version of the catalogue will soon be available on the Indian Space Science Data Centre (ISSDC) Pradan website (https://pradan.issdc.gov.in/ch2/).
Python libraries:
numpymatplotlibscipyastropypandaslmfit
- Clone this repository
git clone https://github.com/DEVANSH-DVJ/SuryaDrishti.git
- Download XSM L2
.lcdata files from the PRADAN website. Unzip them and place them under a/data/Lightcurves/folder. - Define data path in
utils.pyif they are not under/data/Lightcurves/. - Set up for bulk execution using
logmain.py- n_proc: number of processors to be used
- glob = Config(): Config variables (refer to sd.py)
- gen argument should be set to
True - start_date: starting date of files
- numdays: number of days to process from start_date
- Run
python logmain.py <output_root>
where output root is the name of the folder /data/Runs/<output_root>
/catalog: Contains full solar flare catalogs discussed in Valluvan et al 2023. Can be generated by runninglogmain.py/data/Runs: Output files fromlogmain.pycan be found here/scripts: Contains the scripts used to preprocess datafit.py: Curve-fitting codeslogmain.py: Script to process lightcurves in parallel and generate a log file.main.py: Script to process lightcurves in parallel. More efficient thanlogmain.pybut does not generate a log file.plot.py: Plotting functions used in analysissd.py: All lightcurve functions.main.pyandlogmain.pycalls the functions in this file.utils.py: General-purpose functions