Skip to content

add grepfits for full calib pipeline

calibration settings retrieval can be largely improved using grepfits and get last l0:

echo $(for i in /instruments/gris/202*;do ./gris_l0_info.sh $i;done) > last_l0_file_per_run.txt
grepfits "IMGSYS WAVELENG MEASURE TARGET FILESTAT EXPTIME" $(cat last_l0_file_per_run.txt ) |tee $(date '+%Y-%m-%d')_gris_l0_info.csv

the output file can then replace the file in kis_tools.gris.resources and be used to generate calibration settings.

The shell scripts have been added to kis_tools.gris.calib_settings