|
|
# Generating level2 data from GRIS slit Data
|
|
|
# Setup
|
|
|
Prerequisites:
|
|
|
* Gris data reduction tools [grisred](gitlab.leibniz-kis.de/sdc/gris/grisred)
|
|
|
* Gris high level tools [gris-pipeline](gitlab.leibniz-kis.de/sdc/gris/gris-pipeline)
|
|
|
|
|
|
Clone both repositories and ensure to source the `setup.sh` file from the grisred package either in your `.bashrc` or manually before you run the gris pipeline
|
|
|
|
|
|
Generating l2 data is done with the `grisred_v3` routine, use the `grisidl` command from `grisred` to run IDL with all paths setup correctly.
|
|
|
|
|
|
1. Start IDL
|
|
|
```
|
|
|
grisidl
|
|
|
```
|
|
|
|
|
|
2. Run the calibration
|
|
|
```
|
|
|
pro griscalib_v3,'03may14',2[,/penumbra,/cor_spec,/despike,/mu,/maps]
|
|
|
```
|
|
|
The first two arguments are used to identify the dataset to the routines, they are the **observation date** and the **runnumber** respectively. Within the routines, an archive folder is set to tell the routine where to read data from. The most recent version assumes data to be in the format of SOLARNET conform split files, where one file represents one slit position.
|
|
|
|
|
|
The flags cause the calibration to explicitly run certain steps. If the flags are not passed, the routine will expect `.save` files containing the output of the step from a previous run. All of the steps need to run at least once for the calibration to run through fully. |