AGLOW: Automated Grid-enabled LOFAR Workflows


Keywords
surfsara, distributed-computing, LOFAR, workflow, airflow
License
GPL-3.0
Install
pip install AGLOW==0.1.1

Documentation

AGLOW

Documentation Status Build Status

Automated Grid-Enabled LOFAR Workflows

AGLOW is a combination of the GRID LOFAR Reduction Tools and Apache Airflow. In order to efficiently use the Computational Resources provided to us at SURFsara, the AGLOW package includes custom Airflow Operators. These operators can be combined to build LOFAR workflows, from a single NDPPP run to full Direction Dependent Imaging.

Setup

The AGLOW package is best set up in a conda environment. The included environment.yml package will create a conda env named 'AGLOW' and set up all the prerequisites to run an AGLOW server. The usave is as such:

conda env create -f environment.yml 
mkdir ~/AGLOW_tutorial{,/dags}
export AIRFLOW_HOME=~/AGLOW_tutorial

conda  create -n AGLOW_tutorial python=3.6
source activate AGLOW_tutorial

export SLUGIFY_USES_TEXT_UNIDECODE=yes
pip install aglow

#To install postgress in Userspace:
./AGLOW/scripts/setup_postgres.sh
## If launching fails, check the log, you might need to change the configurations at 
## ${AIRFLOW_HOME}/postgres/database/postgresql.conf

#Run each of these command inside a screen: 
airflow scheduler
airflow webserver