Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LucR31 committed Dec 21, 2023
1 parent 629882d commit 92ed353
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aiida_flexpart/workflows/multi_dates_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def prepare_meteo_folder_ifs(self):
node_list = []
for mod in model_list:
self.report(f'transfering {mod} meteo')
node = launch_shell_job(
_, node = launch_shell_job(
self.inputs.check_meteo_ifs_code,
arguments=' -s {sdate} -e {edate} -g {gribdir} -m {model} -a',
nodes={
Expand Down Expand Up @@ -212,7 +212,7 @@ def prepare_meteo_folder_cosmo(self):
node_list = []
for mod in self.inputs.model:
self.report(f'transfering {mod} meteo')
node = launch_shell_job(
_, node = launch_shell_job(
self.inputs.check_meteo_cosmo_code,
arguments=' -s {sdate} -e {edate} -g {gribdir} -m {model} -a',
nodes={
Expand Down
4 changes: 2 additions & 2 deletions examples/example_workflow_combi.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def test_run(flexpart_code):
'stash_mode': common.StashMode.COPY.value,
}

prepend_text_ = """#SBATCH --partition=normal
#SBATCH --account=em05
prepend_text_ = """#SBATCH --partition=low
#SBATCH --account=s1152
#SBATCH --constraint=mc
export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK:-1}
source $MODULESHOME/init/bash
Expand Down
5 changes: 5 additions & 0 deletions examples/inputs/location_groups.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
group-name-1:
- TEST_210
group-name-2:
- TEST_32
- TEST_210
14 changes: 14 additions & 0 deletions examples/inputs/outgrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 92ed353

Please sign in to comment.