5. Config file dedicated to CROCO :croco_config.cfg
These part only describe the user input config file
It allows to the user to give some parameters to configure the different sloop tasks
Compile model :parameters related to the compilation of CROCO
run model : parameters to run CROCO
IBC forcing : Collect and build IBC forcing files
Atm forcing : Collect and build atmospheric forcing file
Extract module for IBC interpolation
Postprod configuration : Split model output file by area and step by step in multiples netcdf files
Section |
Sub-section |
Field |
Description |
---|---|---|---|
compile_model |
croco_config_dir |
Directory where to find the templates for your configuration |
|
tpl_files |
croco_param_file |
The preproc parameters template file for CROCO param.h (name must be param.h.tpl) |
|
croco_compile_file |
The jobcomp script template to compile the code (name must be jobcomp.tpl) |
||
croco_preproc_file |
The file containing the CPP keys that defines your configuration (name must be cppdefs.h.tpl) |
||
Source |
croco_src_dir |
The directory containing the references sources of the croco code (OCEAN) |
|
MPI |
np_xi,np_eta |
The number of procs along x and y dimension you want to user (nb_procs=np_xi*np_eta) |
|
nnodes |
In case of MPI_NOLAND feature this is the real number of cpus used (without land cpus) given by the preprocessing programm |
||
Run model |
croco_inputs |
freq_rst |
Output frequency of your restart file in hours |
freq_output |
Output frequency of your main history file in hours |
||
croco_forcing_dir |
Directory containing the inputs files |
||
croco_frc_grid |
Croco grid in netcdf format |
||
croco_frc_atm |
Atm forcing file if not build by sloop-croco-run-atmfrc |
||
croco_frc_rivers |
Croco runoff netcdf file if not build by sloop-croco-run-rivers |
||
croco_frc_tides |
Croco tidal file in netcdf : Mandatory ! |
||
croco_frc_ini |
Croco initial file in netcdf if not provided by sloop-croco-run-ibc-1-init |
||
croco_frc_obc |
Croco obc file in netcdf if not provided by sloop-croco-run-ibc-2-obc |
||
tpl_files |
croco_config_dir |
Directory containing the user config of Croco |
|
croco_input_file |
Croco input parameters file read by croco executable (name must be croco.in.tpl) |
||
obc_frc |
model |
Choice of OGCM model from which to build the IBC conditions (for now only “glorys12v1”) |
|
out_name |
name of the Netcdf file collected by the script sloop-croco-run-ibc-0-collect |
||
atm_frc |
model |
Choice of atmospheric model from which to build the forcing (for now only “arpege-hr”) |
|
extract |
namelist |
file_coarse |
OGCM file provided by the user if not build by sloop-croco-run-ibc-0-collect |
bathy_fine |
The croco grid file in netcdf |
||
l_zgrid |
Is your OGCM file on vertical Z-GRID ? |
||
b_sig,theta_sig,hc_sig |
Sigma parameters to define the vertical grid : Must be the same as in croco.in file |
||
kmax |
Number of sigma layers : must be the same as in param.h file |
||
postprod |
write_whole_domain |
True if you want the sloop-croco-run-postprod-0-format-data to store the whole grid |
|
postprod_data_dir |
path of the directory where to store the results |
||
zone1 |
activate |
True if the user want to store this sub-domain |
|
lon_bnds |
longitudes boundaries of the sub-domain |
||
lat_bnds |
latitudes boundaries of the sub-domain |
Here is a template of the croco_conf.cfg
[compile_model]
croco_config_dir=/home1/datawork/mcaillau/ETUDES/PROJET_MED/CROCO/config_med/
[[tpl_files]]
croco_param_file=${croco_config_dir}/param.h.tpl
croco_compile_file=${croco_config_dir}/jobcomp.tpl
croco_preproc_file=${croco_config_dir}/cppdefs.h
[[source]]
croco_src_dir=/home/datawork-croco/datarmor-only/SOURCE_CODES/CROCO/croco-v1.2.1/croco/OCEAN
[[mpi]]
#np_xi=14
#np_eta=16
np_xi=28
np_eta=27
nnodes=392
[run_model]
[[croco_inputs]]
start_date="01-01-2016"
end_date="03-01-2016"
freq_rst=24
freq_avg=24
freq_output=72
croco_forcing_dir= /home/shom_simuref/CROCO/ODC/CONFIGS/MEDITERRANEE_GLOBALE/CROCO_FILES/
croco_frc_grid= ${croco_forcing_dir}/test2.nc
#croco_frc_atm=${croco_forcing_dir}/croco_ARPEGE_HR_jan_2016_may_2019.nc
croco_frc_rivers=${croco_forcing_dir}/croco_runoff_MEDIONE_2011_2019_may.nc
croco_frc_tides=${croco_forcing_dir}/croco_tides_MEDIONE.nc
# croco_frc_ini="ini.nc"
# croco_frc_obc="obc.nc"
[[tpl_files]]
croco_tpl_dir= /home1/datawork/mcaillau/ETUDES/PROJET_MED/CROCO/config_med
#croco_input_file=%(croco_config_dir)s/croco.in.tpl
croco_input_file=${croco_tpl_dir}/croco.in.sloop.tpl
[ibc-collect]
ibc_model="glorys12v1"
out_name=${ibc_model}_obcic.nc
[atm_frc]
atm_model="arpege-hr"
[extract]
#namelist_ref="EXRACT/IN/namelist.tpl"
[[namelist]]
#file_coarse ='/home1/datawork/mcaillau/CROCO/MED_1.8/PREPROC/EXTRACT_CROCO/IN/GLOBAL_REANALYSIS_MED_20160101.nc'
#bathy_fine="/home/shom_simuref/CROCO/ADETHOC/SIMU3/CROCO_FILES_IN/croco_grd_MEDIONE.nc"
l_zgrid=true
b_sig = 1.0
theta_sig = 6.0
hc_sig = 350
kmax=80
[postprod]
postprod_data_dir="/home1/scratch/mcaillau/DATA_OUTPUTS"
write_whole_domain=False
[[zone1]]
activate=True
[[[bounds_lon]]]
min = -4.2
max = 2.0
[[[bounds_lat]]]
min = 35.4
max = 40.6
[[zone2]]
activate=True
[[[bounds_lon]]]
min = 14.2
max = 20.0
[[[bounds_lat]]]
min = 32.4
max = 42.6