Install markdown reader browser extension, enable access to urls, and open this file to view it with a nicer rendering.
HYFAA is a python scheduler for operational hydrological forecasting. To achieve this, it combines :
HYFAA is composed of :
Hardware requirements :
Make docker image with make_docker.sh
apt-get install build-essential gfortran cmake libnetcdf-dev libnetcdff-dev
pip install numpy numba scipy netCDF4 pyyaml progress pandas geopandas pytest requests SALib ftputil
./install.sh
NB:
hyfaa
python modules in your default python site-package which is already in your import paths, so no action required.mgb_iph
script will be stored in /usr/local/bin
(requires root priviledges) which should be in you $PATH, so no action should be necessary.Use for instance if you do not have root priviledges on your machine
./install.sh ${mgb_iph_install_dir}
, ${mgb_iph_install_dir}
being any directory (must not exist prior to installation).${mgb_iph_install_dir}
that contain hyfaa
and mgb_iph
executables:
export PATH=${mgb_iph_install_dir}:${mgb_iph_install_dir}/bin:$PATH
export PYTHONPATH=$(find ${mgb_iph_install_dir} -type d -iname 'site-packages'):$PYTHONPATH
NB:
This is the preferred method as it installs an independant python environment and therefore allows more flexibility to add other librairies in the future and prevents problems with changes on HAL python modules.
module purge
to avoid module conflictsmodule load cmake netcdf/4.4.1 conda
conda create -n hyfaa_env python=3.7
conda activate hyfaa_env
This solely relies on HAL modules for python environment, rendering installation easier but changes on HAL python module may cause installation to fail in the future, and SALib library is not available.
module purge
to avoid module conflictsmodule load cmake netcdf/4.4.1 python
Use docker (best option), or use a unix virtual machine.
work_configurations
README.md
inside of the configuration folder to download input_data folder (hydrological static data configuration) and initialized databases
(may be optionnal)run_docker.sh
to
/work
,run_docker.sh
run.sh
./run_pbs.py
WARNING: So that modules and paths, pythonpaths are set on the node, you must either add them to your ~/.bashrc, or to the run.sh
script in the configuration folder.
NB: You can use the --pbs_name
option to set your job name; hyfaa
by default.