Skip to content
Snippets Groups Projects
Select Git revision
  • 3898f55ea882d9cca1b96fa83170f49f5922f8cc
  • master default
  • bing_issues#190_tf2
  • bing_tf2_convert
  • bing_issue#189_train_modular
  • simon_#172_integrate_weatherbench
  • develop
  • bing_issue#188_restructure_ambs
  • yan_issue#100_extract_prcp_data
  • bing_issue#170_data_preprocess_training_tf1
  • Gong2022_temperature_forecasts
  • bing_issue#186_clean_GMD1_tag
  • yan_issue#179_integrate_GZAWS_data_onfly
  • bing_issue#178_runscript_bug_postprocess
  • michael_issue#187_bugfix_setup_runscript_template
  • bing_issue#180_bugs_postprpocess_meta_postprocess
  • yan_issue#177_repo_for_CLGAN_gmd
  • bing_issue#176_integrate_weather_bench
  • michael_issue#181_eval_era5_forecasts
  • michael_issue#182_eval_subdomain
  • michael_issue#119_warmup_Horovod
  • bing_issue#160_test_zam347
  • ambs_v1
  • ambs_gmd_nowcasting_v1.0
  • GMD1
  • modular_booster_20210203
  • new_structure_20201004_v1.0
  • old_structure_20200930
28 results

DataPreprocess_template.sh

Blame
  • Michael's avatar
    Michael Langguth authored
    Rename workflow scripts to template scripts and add first adaptions in set-up script of virtual environment.
    3898f55e
    History
    DataPreprocess_template.sh 748 B
    #!/bin/bash -x
    
    
    source_dir=/home/$USER/extractedData
    destination_dir=/home/$USER/preprocessedData/era5-Y2017M01to02
    script_dir=`pwd`
    
    declare -a years=("2017")
    
    for year in "${years[@]}";
        do
            echo "Year $year"
            echo "source_dir ${source_dir}/${year}"
            mpirun -np 2 python ../../workflow_parallel_frame_prediction/DataPreprocess/mpi_stager_v2_process_netCDF.py \
             --source_dir ${source_dir} -scr_dir ${script_dir} \
             --destination_dir ${destination_dir} --years ${years} --vars T2 MSL gph500 --lat_s 74 --lat_e 202 --lon_s 550 --lon_e 710
        done
    python ../../workflow_parallel_frame_prediction/DataPreprocess/mpi_split_data_multi_years.py --destination_dir ${destination_dir} --varnames T2 MSL gph500