From c539cb3a23a75995291e3aa979dceb064e2fe211 Mon Sep 17 00:00:00 2001 From: LucR31 <94859181+LucR31@users.noreply.github.com> Date: Wed, 20 Dec 2023 17:22:02 +0000 Subject: [PATCH] Modify certain yaml files (#20) --- config/code_post_processing.yaml | 24 ++++++++++++ examples/inputs/locations.yaml | 61 +++++++++++++++++++++++-------- examples/inputs/meteo_inputs.yaml | 20 ++++++++++ examples/inputs/outgrid.yaml | 14 +++++++ 4 files changed, 103 insertions(+), 16 deletions(-) create mode 100644 config/code_post_processing.yaml diff --git a/config/code_post_processing.yaml b/config/code_post_processing.yaml new file mode 100644 index 0000000..29b2341 --- /dev/null +++ b/config/code_post_processing.yaml @@ -0,0 +1,24 @@ +--- +label: 'post-processing' +description: '' +default_calc_job_plugin: flexpart.post +filepath_executable: '/users/shenne/progs/Rflexpart/exec/FLEXPART.totalFootprint.only.R' +computer: daint +prepend_text: | + #SBATCH --job-name=Rpost + #SBATCH --partition=prepost + #SBATCH --nodes=1 + #SBATCH --ntasks-per-core=2 + #SBATCH --ntasks-per-node=1 + #SBATCH --cpus-per-task=72 + #SBATCH --time=00:30:00 + + module load daint-mc + module switch PrgEnv-cray PrgEnv-gnu + module switch gcc/11.2.0 gcc/9.3.0 + module load cray-netcdf + module use /store/empa/em05/shenne/easybuild/modules/all + module load ecCodes/2.19.0-CrayGNU-21.09 + module load cray-R/3.6.3.1 + export R_LIBS=/users/shenne/R/x86_64-suse-linux-gnu-library/3.6 +append_text: "" diff --git a/examples/inputs/locations.yaml b/examples/inputs/locations.yaml index 0d188c8..3a46dee 100644 --- a/examples/inputs/locations.yaml +++ b/examples/inputs/locations.yaml @@ -1,16 +1,45 @@ -TEST_32: - longitude_of_lower_left_corner: 0007.2480 - latitude_of_lower_left_corner: 0047.0536 - longitude_of_upper_right_corner: 0007.2480 - latitude_of_upper_right_corner: 0047.0536 - lower_z_level: 00032.000 - upper_z_level: 00032.000 - level_type: 1 # 1 for m above ground, 2 for m above sea level -TEST_200: - longitude_of_lower_left_corner: 0007.2480 - latitude_of_lower_left_corner: 0047.0536 - longitude_of_upper_right_corner: 0007.2480 - latitude_of_upper_right_corner: 0047.0536 - lower_z_level: 00200.000 - upper_z_level: 00200.000 - level_type: 1 # 1 for m above ground, 2 for m above sea level +JFJ_5magl: + longitude: 7.9851 + latitude: 46.5475 + level: + IFS_EU_01: 3062.0 + IFS_EU_02: 2929.0 + cosmo7: 3121.0 + IFS_GL_05: 3085.0 + IFS_GL_1: 2600.0 + level_type: + IFS_EU_01: 2 + IFS_EU_02: 2 + cosmo7: 2 + IFS_GL_05: 2 + IFS_GL_1: 2 +MHD_10magl: + longitude: -9.9046 + latitude: 53.3267 + level: + IFS_EU_01: 10.0 + IFS_EU_02: 10.0 + cosmo7: 10.0 + IFS_GL_05: 10.0 + IFS_GL_1: 10.0 + level_type: + IFS_EU_01: 1 + IFS_EU_02: 1 + cosmo7: 1 + IFS_GL_05: 1 + IFS_GL_1: 1 +KIT_200magl: + longitude: 8.4249 + latitude: 49.0915 + level: + IFS_EU_02: 200.0 + cosmo7: 200.0 + IFS_EU_01: 200.0 + IFS_GL_05: 200.0 + IFS_GL_1: 200.0 + level_type: + IFS_EU_02: 1 + cosmo7: 1 + IFS_EU_01: 1 + IFS_GL_05: 1 + IFS_GL_1: 1 diff --git a/examples/inputs/meteo_inputs.yaml b/examples/inputs/meteo_inputs.yaml index 18c8376..a228063 100644 --- a/examples/inputs/meteo_inputs.yaml +++ b/examples/inputs/meteo_inputs.yaml @@ -6,3 +6,23 @@ cosmo1: sampling_rate_of_output: 10 synchronisation_interval: 10 convection_parametrization: 0 +kenda1: + sampling_rate_of_output: 10 + synchronisation_interval: 10 + convection_parametrization: 0 +IFS_GL_1: + sampling_rate_of_output: 600 + synchronisation_interval: 600 + convection_parametrization: 1 +IFS_GL_05: + sampling_rate_of_output: 300 + synchronisation_interval: 300 + convection_parametrization: 1 +IFS_EU_02: + sampling_rate_of_output: 180 + synchronisation_interval: 180 + convection_parametrization: 1 +IFS_EU_01: + sampling_rate_of_output: 120 + synchronisation_interval: 120 + convection_parametrization: 1 diff --git a/examples/inputs/outgrid.yaml b/examples/inputs/outgrid.yaml index 80a37aa..c254b94 100644 --- a/examples/inputs/outgrid.yaml +++ b/examples/inputs/outgrid.yaml @@ -12,3 +12,17 @@ Europe: - 200.0 - 500.0 - 15000.0 +Switzerland: + output_grid_type: 0 # 1 for coos provided in rotated system 0 for geographical. + longitude_of_output_grid: 4.96 # Longitude of lower left corner of output grid (left boundary of the first grid cell - not its centre). + latitude_of_output_grid: 45.48 # Latitude of lower left corner of output grid (lower boundary of the first grid cell - not its centre). + number_of_grid_points_x: 305 # Number of grid points in x direction (= # of cells + 1). + number_of_grid_points_y: 205 # Number of grid points in y direction (= # of cells + 1). + grid_distance_x: 0.02 # Grid distance in x direction. + grid_distance_y: 0.015 # Grid distance in y direction. + heights_of_levels: # List of heights of leves (upper boundary). + - 50.0 + - 100.0 + - 200.0 + - 500.0 + - 15000.0