Skip to content
Snippets Groups Projects
Select Git revision
  • 661466cf60dd1889df487e19ef0c778b3ee008e6
  • master default protected
  • enxhi_issue460_remove_TOAR-I_access
  • michael_issue459_preprocess_german_stations
  • sh_pollutants
  • develop protected
  • release_v2.4.0
  • michael_issue450_feat_load-ifs-data
  • lukas_issue457_feat_set-config-paths-as-parameter
  • lukas_issue454_feat_use-toar-statistics-api-v2
  • lukas_issue453_refac_advanced-retry-strategy
  • lukas_issue452_bug_update-proj-version
  • lukas_issue449_refac_load-era5-data-from-toar-db
  • lukas_issue451_feat_robust-apriori-estimate-for-short-timeseries
  • lukas_issue448_feat_load-model-from-path
  • lukas_issue447_feat_store-and-load-local-clim-apriori-data
  • lukas_issue445_feat_data-insight-plot-monthly-distribution
  • lukas_issue442_feat_bias-free-evaluation
  • lukas_issue444_feat_choose-interp-method-cams
  • 414-include-crps-analysis-and-other-ens-verif-methods-or-plots
  • lukas_issue384_feat_aqw-data-handler
  • v2.4.0 protected
  • v2.3.0 protected
  • v2.2.0 protected
  • v2.1.0 protected
  • Kleinert_etal_2022_initial_submission
  • v2.0.0 protected
  • v1.5.0 protected
  • v1.4.0 protected
  • v1.3.0 protected
  • v1.2.1 protected
  • v1.2.0 protected
  • v1.1.0 protected
  • IntelliO3-ts-v1.0_R1-submit
  • v1.0.0 protected
  • v0.12.2 protected
  • v0.12.1 protected
  • v0.12.0 protected
  • v0.11.0 protected
  • v0.10.0 protected
  • IntelliO3-ts-v1.0_initial-submit
41 results

training.py

Blame
  • modules_preprocess.sh 1.07 KiB
    #!/usr/bin/env bash
    
    # __author__ = Bing Gong, Michael Langguth
    # __date__  = '2020_06_26'
    
    # This script loads the required modules for ambs on Juwels and HDF-ML.
    # Note that some other packages have to be installed into a venv (see create_env.sh and requirements.txt).
    
    HOST_NAME=`hostname`
    
    echo "Start loading modules on ${HOST_NAME} required for preprocessing..."
    echo "modules_preprocess.sh is subject to: "
    echo "* preprocess_data_era5_step1.sh"
    
    module purge
    module use $OTHERSTAGES
    ml Stages/2019a
    ml GCC/8.3.0
    ml ParaStationMPI/5.2.2-1
    ml mpi4py/3.0.1-Python-3.6.8
    # serialized version is not available on HFML
    # see https://gitlab.version.fz-juelich.de/haf/Wiki/-/wikis/HDF-ML%20System
    if [[ "${HOST_NAME}" == hdfml* ]]; then
      ml h5py/2.9.0-serial-Python-3.6.8
    elif [[ "${HOST_NAME}" == juwels* ]]; then
      ml h5py/2.9.0-Python-3.6.8
    fi
    ml SciPy-Stack/2019a-Python-3.6.8
    ml scikit/2019a-Python-3.6.8
    ml netcdf4-python/1.5.0.1-Python-3.6.8
    
    # clean up if triggered via script argument
    if [[ $1 == purge ]]; then
      echo "Purge all modules after loading them..."
      module --force purge
    fi