Skip to content

Install & Getting Started

JANUS contains a small CLI tool to help get set up with JANUS.

Install SOCRATES

Download and install SOCRATES:

janus download socrates

Make sure you have the netcdf fortran libraries installed:

sudo apt install libnetcdff-dev netcdf-bin

Download data

Download spectral and stellar data:

janus download spectral
janus download stellar

Environment variables

To see all environment variables and locations, use:

janus env

SOCRATES

By default, SOCRATES is installed to the default location based on the XDG specification.

If you install and compile SOCRATES yourself, you can override the path using the SOCRATES environment variable, e.g.

RAD_DIR=/home/user/path/to/SOCRATES pytest

FWL_DATA

Set this variable to modify where janus stores its stellar and spectral data. By default this is based on the XDG specification. You can override the path using the FWL_DATA environment variable, e.g.

FWL_DATA=/home/user/path/to/fwl_data pytest