{
"cells": [
{
"cell_type": "markdown",
"id": "4f4804ec-bfb1-46e5-bb90-41d39702b319",
"metadata": {
"tags": []
},
"source": [
"
\n",
"\n",
"
$EXPDIR
: grids, external parameters, initial conditions.\n",
"The directory for the experiment will be created, if not already there.\n",
"$EXPDIR
by using, for example, the ls
linux command.\n",
"ini_datetime_string
and end_datetime_string
. See Section 5.1.1 of the \n",
" ICON tutorial \"Basic Settings for Running Real Data Runs\" for details . \n",
"ltestcase
, ldynamics
, ltransport
, and iforcing
for a real data NWP run. \n",
" See Section 5.1.1 (\"Basic Settings for Running Real Data Runs\") of the tutorial for details.\n",
" dynamics_grid_filename
). \n",
" See Section 4.1.2, \"Specifying the Computational Domain(s)\", of the tutorial.num_lev
(run_nml
) accordingly. \n",
" See Section 4.1.2, \"Specifying the Computational Domain(s)\", of the tutorial.radiation_grid_filename
. Radiation should be computed on a coarser (reduced) grid with half the resolution for both domains. \n",
" See Section 3.10, \"Reduced Radiation Grid\", of the tutorial.lredgrid_phys=.TRUE.,.TRUE.
, which has already been prepared for you.\n",
"num_io_procs
) to a value larger than 0 (e.g. 2).\n",
" See Section 8.2 (\"Settings for Parallel Execution\") of the tutorial for more details on the asynchronous output module.\n",
" itopo
value for real data runs and specify the name of the external parameter file (extpar_filename
).\n",
" Rather than specifying a comma-separated list of filenames, you must make use of the keyword <idom>
. \n",
" See Section 5.1.1 of the tutorial (\"Basic Settings for Running Real Data Runs\") for more details on keywords.$EXPDIR
.\n",
"init_mode
.\n",
" See Tutorial Section 5.1.4, \"Starting from Initialized DWD Analysis\".dwdfg_filename
<nroot>
, <jlev>
, <idom>
. See Section 5.1.2 of the tutorial for a list of available keywords.$EXPDIR
. You can make use of relative or absolute paths.ntiles
(lnd_nml
) appropriately. Since the initial data contain aggregated (cell averaged) surface fields, a tile coldstart must be performed, i.e. each surface tile must be initialized with the same cell averaged value. The corresponding namelist switch is termed ltile_coldstart
(see Section 3.8.9, \"Land-Soil Model TERRA\").$NMLDIR/NAMELIST_NWP_base
, by executing the following cell. \n",
"dwdfg_filename = './dwdANA_R<nroot>B<jlev>_DOM<idom>.grb'
?\n",
" dwdANA_R3B06.grb
dwdANA_R2B6_DOM01.grb
dwdANA_R9B02_DOM02.grb
dwdana_R2B06_DOM01.grb
\n",
" \n",
" Exercise (One-way versus two-way nesting): \n",
" \n", " Open a terminal and navigate to the experiment directory EXPDIR , where you will find the full model namelist NAMELIST_NWP .\n", " Have a look at the namelist group grid_nml , to find out about the following nesting details.\n", "
| \n",
" \n",
" ![]() | \n",
"
$EXPDIR
."
]
},
{
"cell_type": "markdown",
"id": "6475864c-3555-4e25-a84f-40396cdc0f31",
"metadata": {},
"source": [
"cdo sinfov
to identify the relevant metadata.\n",
" \n",
" Hint: You might have to load the environment modules cdo
\n",
" \n",
"cdo sinfov
to identify the type of atmospheric vertical output grid.\n",
" ncview
for visualizing the interpolated lat-lon output.\n",
"\n",
" \n", " This exercise focuses on aspects of the ICON time-stepping scheme, explained in Section 3.7.1, \"ICON Time-Stepping\".\n", " \n", " | \n",
" \n",
" ![]() | \n",
"
dtime
) and the number of dynamics substeps ndyn_substeps (nonhydrostatic_nml)
.\n",
" $EXPDIR/NAMELIST_NWP
\n",
"\n",
"$\n",
"\\overline{\\Delta x} \\approx 5050/(n\\,2^k) \\quad [\\mathrm{km}]\\,.\n",
"$\n",
"\n",
"**Example Python code**\n",
"```\n",
"python3 - << EOF\n",
"n = 2 # grid_root\n",
"k = 6 # grid_level\n",
"\n",
"mesh_size = 5050/(n * 2**k) # [km]\n",
"print(f\"mesh size: {mesh_size} [km]\")\n",
"\n",
"delta_tau_max = 1.8 * mesh_size\n",
"print(f\"delta tau_max: {delta_tau_max} [s]\");\n",
"EOF\n",
"```\n",
"
\n",
"\n",
"**Result**
\n",
"$\\Delta \\tau_{max} = 1.8 \\cdot 10^{-3} \\cdot 39453.125 ~[s] \\approx 71 ~[s] $\n",
"\n",
"
U
, V
, W
, PRES
, TEMP
, QV
, QC
, QI
, QR
, QS
, HHL
.\n",
" export ECCODES_DEFINITION_PATH=/pool/data/ICON/ICON_training/eccodes/definitions.edzw-2.27.0-1:$ECCODES_DEFINITION_PATH
\n",
"
\n",
" cdo sinfov data-file.grb > data-file.sinfov
\n",
"
$EXPDIR
and open an existing ICON log file.MAXABS VN, W in domain ...
for each time step?\n",
" icon_exercise_parallelization.ipynb" ] }, { "cell_type": "markdown", "id": "cee681f0-8568-4254-b946-7e96a7c88d6d", "metadata": {}, "source": [ "---\n", "\n", "*Author info: Deutscher Wetterdienst (DWD) 2025 :: icon@dwd.de. For a full list of contributors, see CONTRIBUTING in the root directory. License info: see LICENSE file.*" ] } ], "metadata": { "kernelspec": { "display_name": "Bash", "language": "bash", "name": "bash" }, "language_info": { "codemirror_mode": "shell", "file_extension": ".sh", "mimetype": "text/x-sh", "name": "bash" } }, "nbformat": 4, "nbformat_minor": 5 }