Getting it to work for ACADA people

I just tried it out, and got it to work (mostly) out of the box on my account on cp55. Here is what I did. I'm always late to the latest conda/mamba/lambada etiquette: maybe some of my steps are wrong/useless...

Setup anaconda for my user:

[etienne.lyard@cp55 ~]$ source /fefs/aswg/software/conda/etc/profile.d/conda.sh
[etienne.lyard@cp55 ~]$ source /fefs/aswg/software/conda/etc/profile.d/mamba.sh
[etienne.lyard@cp55 ~]$ mkdir .conda
[etienne.lyard@cp55 ~]$ mkdir .conda/envs
[etienne.lyard@cp55 ~]$ mkdir .conda/pkgs
[etienne.lyard@cp55 ~]$ vim .condarc

And I put there:

envs_dirs:
  - /home/etienne.lyard/.conda/envs

pkgs_dirs:
  - /home/etienne.lyard/.conda/pkgs

Create and activate a conda environment for this purpose:

[etienne.lyard@cp55 ~]$ conda create -n lstacada python=3.12
[etienne.lyard@cp55 ~]$ conda activate lstacada

Install protozfits:

(lstacada)[etienne.lyard@cp55 ~]$ pip install protozfits

I couldn't install this repository the way suggested by Max (was getting exit code 128, error: RPC failed; result=22, HTTP code = 422, the remot end hung up unexpectedly), so instead I cloned and only then installed the repository (via https, I don't have my ssh keys installed nor forwarded to cp55):

(lstacada)[etienne.lyard@cp55 ~]$ git clone https://gitlab.cta-observatory.org/mlinhoff/check_lst_dl0.git
(lstacada)[etienne.lyard@cp55 ~]$ cd check_lst_dl0
(lstacada)[etienne.lyard@cp55 check_lst_dl0]$ pip install .

And voila ! Executing:

(lstacada)[etienne.lyard@cp55 check_lst_dl0]$ check_lst_dl0]$ check_lst_dl0 /fefs/onsite/data/DL0/LSTN-01/ctao-n-acada/acada-adh/events/2024/11/26/TEL001_SDH0000_20241126T215934_SBID0000000002000000062_OBSID0000000002000000184_CHUNK000.fits.fz

Yields: image