Tests of installation
Test of libRadtran installation
libRadtran must be installed according the instructions given at
libRadtran web site .
In addition libradtranpy requires that one
environnement variable LIBRADTRANDIR must be set to libRadtran installation path,
under which one have each of these directories:
/bin
/share/libRadtran/data
/include
/lib and
/share
from libRadtran installation directory.
example:
and the inside the share directory the data/ directory must be available:
and inside the data/ directory you must have libRadtran data installed as folow
libradtranpy tests
After libRadtran and libradtranpy installation (using the command pip install -e '.[dev]'),
a simple test to check if libradtran is installed correctly runs:
or in verbose mode:
it checks: * the existence of the environnement variable LIBRADTRANDIR point to the libradtran installation top directory * the existence of the bin directory and the executable uvspec * the existence of the share/libRadtran/data directory which hold all the internal data that `libRadtran`requires for its execution. * the execution of a libradtran simulation works well returning some data.