Skip to content

Simulation configuration

Clotilde Augros edited this page Apr 23, 2026 · 6 revisions

Configuration file

The user must set up, beforehand, a configuration file based on the template provided ./configFile/template.py. Please, do not modify the template directly. Instead, make a copy of the file and name it differently. The configuration file options are explained below:

Parameter Description
input_filePath Path to the folder containing the file(s)
outPath Folder path where to store the output files
path_tables Lookup tables directory path
model Model name : can be 'Arome' or 'MesoNH'
real_case True or False (apply to Meso-NH only)
micro_scheme Microphysics scheme name : can be 'ICE3', 'ICE4' or 'LIMA' + a name extension (e.g. 'LIMA_noHail' or 'ICE3_CIBU_moins', optional)
hydrometeors_moments Number of moments for each hydrometeor of the microphysics scheme
subDomain Written as one of the following :
  • [lon_min,lon_max,lat_min,lat_max] if real_case=True
  • [i_min,i_max,j_min,j_max] if real_case=False
  • None (will use all the points in the file)
MixedPhase Chose the way the mixed phase is simulated. Can be : 'T_pos' or 'Fw_pos' or 'Fw_posg'
save_netcdf_single_hydrometeor if True, compute the dual-pol variables for each hydrometeor class and save the resultant netcdf (1 file/hydrometeor class)
dpol2add Provide a list of at least one element in ['Zh','Zdr','Kdp','Rhohv', 'Ah', 'Av']
scattering_method Functionality to come. Currently using the T-matrix method for all.
compute_attenuation if True, operadar computes an additional variable 'Zh_att' (Attenuated reflectivity dBZ). Needs 'Ah' included in dpol2add
radar_altitude Radar altitude in meters (0 for ground based radar or can be the aircraft altitude for an onboard radar)
radar_band Radar band name (see Available radar bands)
distmax_rad Used to compute pseudo-observations of radar data only. Since radar geometry computation is not implemented, this parameter has no effect.
radarloc Radar location :
  • 'center' will place the radar at the center of the domain
  • [lat_radar,lon_radar] will place the radar at the given coordinates
  • None will not simulate the radar beam geometry
cnst_angle Will be used when radarloc=None to simulate either a horizontal (cnst_angle=0°) or a vertical (cnst_angle=90°) pointing radar at each grid point

Clone this wiki locally