RegCM Tutorial
RegCM Tutorial
PWF Cameroon
School on Climate Science
5-9 June 2023
University of Dschang
31/05/23
ICTP RegCM
●
RegCM1
– Dickinson et al. (1989), Giorgi and Bates (1989)
●
RegCM2
– Giorgi et al. (1993a,b)
●
RegCM2.5
– Giorgi and Mearns (1999)
●
RegCM3
– Pal et al. (2007)
●
RegCM4
– Giorgi et al. (2012)
●
RegCM5
2
– Giorgi et al. (2023)
Projection
●
RegCM supports different Earth projections
●
Mercator – cylindrical, good for equatorial zones
●
https://en.wikipedia.org/wiki/Mercator_projection
●
Stereographic – plane-point, good for polar zones
●
https://en.wikipedia.org/wiki/Stereographic_projection
●
Lambert conformal – conical, tangent or secant, good for mid-latitudes
●
https://en.wikipedia.org/wiki/Lambert_conformal_conic_projection
●
Rotated (oblique) mercator – cylindrical, a rotation followed by a mercator, all season
●
https://en.wikipedia.org/wiki/Oblique_Mercator_projection
●
Rotated latitude-longitude – official CORDEX projection
3
Dynamical Cores
Solve one form or another of the Navier-Stokes equations for the motion of fluids.
RegCM4 RegCM5
Users are invited to test and report over the new Dynamical core of RegCM5
4
Radiation Scheme
Solves the equation for the radiation
transmission in the atmosphere
http://rtweb.aer.com/rrtm_frame.html
5
Cumulus
Solves cumulus scheme evolution for
resolution > 3 km
Tiedtke
●
Warm Rain – SUBEX scheme
●
Should be used only for resolutions > 20 km. Missing ice phase.
●
Nogherotto-Tompkins scheme
●
Developed by ICTP to work in RegCM from ideas now in the ECMWF model code
●
WRF Simple Microphysics 5 species WSM5
●
Code borrowed and adapted from WRF NWP model. Used to verify the NoTo Scheme
performances as a reference implementation with ice phase.
7
PBL scheme
Solve eddy diffusion and transport in the
planetary boundary layer.
●
Non-local Holtslag scheme (Holtslag, 1990)
●
UW-PBL (O’Brien et al. 2011)
8
CLM4.5 surface model
9
RegCM-ES in RegESM
https://github.com/uturuncoglu/RegESM
10
RegCM installation 1
Requisites
-2) Some reasonable computing resources. Minimal would be a multi-core system. Laptops
STRONGLY discouraged. Best HPC cluster with high speed interconnect.
-1) A LOT of storage. Depending on the resolution/options multi Terabyte data volumes are very
likely. USB data transfer are Slooooow.
0) Unix like OS (WSL in windows can be used, MacOS or Linux OK, the second one BETTER)
1) Fortran compiler – GNU gfortran = Intel OneApi = Nvidia nvfort all ok.
2) MPI library: used for parallel execution. From multi-core to multi-node.
3) NetCDF library with netCDF4 support (HDF5)
:(
On any linux distro, all is ready packaged. Keys are netcdf and mpi.
On ubuntu: apt install libnetcdff-dev openmpi-dev
Multiple options can be available for MPI.
:) 11
RegCM installation 2
ictptutor@ins45071:~$ cd
ictptutor@ins45071:~$ cd RegCM
12
RegCM installation 3
Creating a run environment on ICTP cloud machine
ictptutor@ins45071:~$ cd
ictptutor@ins45071:~$ cd testrun
ictptutor@ins45071:~/testrun$ ln -sf \
/media/ictpuser/PWF_Cam2/RegCM_Data/tutorial RCMDATA
ictptutor@ins45071:~/testrun$ cp \
/media/ictpuser/PWF_Cam/Distribution/Users/ggiulian/PWF/WAS.in .
13
RegCM installation 3-bis
Creating a run environment on another system:
ictptutor@ins45071:~$ cd
ictptutor@ins45071:~$ cd testrun
ictptutor@ins45071:~/testrun$ wget \
http://clima-dods.ictp.it/Users/ggiulian/PWF/WAS.in
14
RegCM test run
VERY BASIC hindcast simulation
15
Let’s go!