Skip to content

Commit

Permalink
fix: use correct grid in tmp run script
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Aug 17, 2024
1 parent cbc9c21 commit 63e5fe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/bubble3d/run_bubble_tmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ then
export OMP_PROC_BIND=spread
export OMP_PLACES=threads

icon_grid_file=/work/mh1126/m300950/icon/build/experiments/aes_bubble/Torus_Triangles_20x4_5000m.nc
icon_grid_file=/work/mh1126/m300950/icon/build/experiments/aes_bubble/aes_bubble_atm_cgrid_ml.nc
icon_data_file=/work/mh1126/m300950/icon/build/experiments/aes_bubble/aes_bubble_atm_3d_ml_20080801T000000Z.nc
icon_grid_name="icon_atmos_grid" # must match CLEO (see yac_cartesian_dynamics.cpp)
icon_data_timestep=30 # must match ICON data file [seconds]
cleo_coupling_timestep=60 # must match CLEO config file [seconds]
cleo_t_end=3600 # must match CLEO config file [seconds]
cleo_vertical_levels=25 # must match CLEO gridfile

icon_grid_file_copy=${path2build}/share/icon_grid_file_Torus_Triangles_20x4_5000m.nc
icon_grid_file_copy=${path2build}/share/icon_grid_file_aes_bubble_atm_cgrid_ml.nc
icon_data_file_copy=${path2build}/share/icon_data_file_aes_bubble_atm_3d_ml_20080801T000000Z.nc

cp ${icon_grid_file} ${icon_grid_file_copy}
Expand Down
1 change: 1 addition & 0 deletions examples/bubble3d/yac_bubble_data_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def prepare_data_for_yac(source):
return target


# TODO(CB): (move variables to and) read in variables from CLEO config file
grid_filename = sys.argv[1]
data_filename = sys.argv[2]
grid_name = sys.argv[3] # must match CLEO (see yac_cartesian_dynamics.cpp)
Expand Down

0 comments on commit 63e5fe2

Please sign in to comment.