284 | | |
285 | | |
286 | | |
287 | | |
288 | | |
289 | | |
290 | | |
| 285 | -In order not to have a « big » file filled with 300 parameters and all their default values, the new « orchidee.def » file contains no default values. It lists only the description of the parameters anf their key words. You find an example here : |
| 286 | {{{ |
| 287 | # Vegetation distribution within the mesh (0-dim mode) |
| 288 | # If IMPOSE_VEG |
| 289 | # The fraction of vegetation is read from the restart file. |
| 290 | # If it is not found there we will use the values provided here. |
| 291 | # SECHIBA_VEG |
| 292 | }}} |
| 293 | The goal is that « orchidee.def » will be filled only by the values the user imposed. You could easily see the new values of the parameters. (see « How can you control your values after your job »).You will find all the default values and their types by two different ways : there are files called « orchidee_run_parameters.txt », « sechiba_parameters_default_values.txt » and « stomate_parameters_default_values.txt »which list all the default values used in the code. This is the « user's » way. The second is the « developper's » way : look at the files called « constantes.f90 » and « constantes_mtc.f90 » in the src_parameter folder. |
| 294 | |
| 295 | '''PS :'''The next objective will be to divide « orchidee.def » in three parts : « orchidee_run.def » which will contain all the global options for a job, « sechiba_parameters.def » and « stomate_parameters.def » «containing respectively the specific parameters for sechiba and for stomate. |
| 296 | |
| 297 | -Only for the PFT parameters, you can use an option called IMPOS_PARAM. If you set it to FALSE, all the new values you put to the PFT parameters won't be read. If you make many changes for one job and you want to compare with the default values, you don't need to comment the values you impose. We think about the same mechanism for the other parameters (you could find all them in constantes.f90). |
| 298 | |
| 299 | -Except for PFT_TO_MTC and a few exceptions, the values of the parameters you will set are not controled. (We can't put 300 barriers) Read the different « .txt » files before making some changes. |
| 300 | |
| 301 | ErrorsMessages |
| 302 | |
| 303 | == MARCH 2011 == |
| 304 | |
| 305 | '''PS : '''In the most recent version of ORCHIDEE, you will find three files instead of "orchidee.def". These |
| 306 | files are called "driver.def","sechiba.def" and "stomate.def". You can choose to define your parameters |
| 307 | in any of these files because ORCHIDEE can make the merge. |
| 308 | |
| 309 | |
| 310 | |
| 311 | === ''Advice for developpers only'' == |
| 312 | |
| 313 | Our strategy was to centralize all the parameters in src_parameters. We think that this is better for the maintenance. |
| 314 | |
| 315 | If some people for their developpements want to add a new permanent metaclass or a new pft parameter (like Q10), they only have to modify the file constantes_mtc.f90 and add all the new values (don't forget to change the parameter 'nvmc' representing the number of MTCs). |
| 316 | |
| 317 | |
| 318 | |
| 319 | |
| 320 | |
| 321 | |