1 | | Ici, Thomas va tout vous dire sur CARAIB ... |
| 1 | = Steps for a run with the vegetation model CARAIB |
| 2 | |
| 3 | |
| 4 | == '''1. Preindustrial''' == |
| 5 | |
| 6 | |
| 7 | - In lbm/sources/choixcomposantes.h |
| 8 | |
| 9 | #define CARAIB 1 |
| 10 | |
| 11 | - In ecbilt_clio/parameters/emic.param desactivate the VECODE component |
| 12 | |
| 13 | F VECODE |
| 14 | |
| 15 | - In caraib_cpl/parameters/file_input5 |
| 16 | |
| 17 | Change ''nyrmax'', the total number of years of the simulation |
| 18 | |
| 19 | The paths of the ''soil texture'', ''max air temp'' and ''lightning data'' must be set to |
| 20 | |
| 21 | /home/climwork/CLIM-DATA/CARAIB-DATA/ecotxt.dat |
| 22 | |
| 23 | /home/climwork/CLIM-DATA/CARAIB-DATA/dte |
| 24 | |
| 25 | /home/climwork/CLIM-DATA/CARAIB-DATA/lightning.dat |
| 26 | |
| 27 | Make sure that the lines at the end of the file match the number of years of the simulation (with 280.10 for the ''pCO2'' concentration and the year as extension of the output files ''filexto'') |
| 28 | |
| 29 | |
| 30 | [[BR]] |
| 31 | - In your caraib-git directory, modify caraib_main_01.F |
| 32 | |
| 33 | #define CPL_MODE 1 |
| 34 | |
| 35 | #define LGM 0 |
| 36 | |
| 37 | - Compile the CARAIB code to create the library |
| 38 | |
| 39 | Execute the command ''make all'' |
| 40 | |
| 41 | [[BR]] |
| 42 | - Start a new loveclim run as usual |
| 43 | |
| 44 | - The vegetation results are created in the directory outputdata/vegetation |
| 45 | |
| 46 | |
| 47 | [[BR]] |
| 48 | == '''2. LGM (work in progress)''' == |
| 49 | |
| 50 | |
| 51 | - In lbm/sources/choixcomposantes.h |
| 52 | |
| 53 | #define CARAIB 1 |
| 54 | |
| 55 | #define ROUTEAU 1 |
| 56 | |
| 57 | #define F_PALAEO 1 |
| 58 | |
| 59 | #define LGMSWITCH 1 |
| 60 | |
| 61 | - In ecbilt_clio/parameters/emic.param desactivate the VECODE component |
| 62 | |
| 63 | F VECODE |
| 64 | |
| 65 | - Set the palaeo_year to 21000 in ludus-code/ecbilt/parameters/palaeo_transient_parameters.dat |
| 66 | |
| 67 | - In caraib_cpl/parameters/file_input5 |
| 68 | |
| 69 | Adapt ''nyrmax'' to the total number of years of the simulation |
| 70 | |
| 71 | Change the ''pixel number'' to 622 |
| 72 | |
| 73 | Change the orbital parameters ''ipar'', ''exc'', ''obl'', ''xlsper'' to 0 0.018994 22.949 114.42 |
| 74 | |
| 75 | Change the name of the ''soil texture'', ''max air temp'' and ''lightning data'' files to |
| 76 | |
| 77 | /home/climwork/CLIM-DATA/CARAIB-DATA/ecotxt_LGM.dat |
| 78 | |
| 79 | /home/climwork/CLIM-DATA/CARAIB-DATA/dte_LGM |
| 80 | |
| 81 | /home/climwork/CLIM-DATA/CARAIB-DATA/lightning_LGM.dat |
| 82 | |
| 83 | At the end of the file, change the ''pCO2'' concentration to 185.0 and make sure that there is the same number of line than the total number of years of the simulation |
| 84 | |
| 85 | [[BR]] |
| 86 | - In your caraib-git directory, modify caraib_main_01.F |
| 87 | |
| 88 | #define CPL_MODE 1 |
| 89 | |
| 90 | #define LGM 1 |
| 91 | |
| 92 | - Compile the CARAIB code to create the library |
| 93 | |
| 94 | Execute the command ''make all'' |
| 95 | |
| 96 | [[BR]] |
| 97 | - Start a new LGM loveclim run with something like this |
| 98 | |
| 99 | ./bin/loveclim-new-run -l CARAIB_LGM -n 1000 -s 75800 -r 250 -I scenario/lgm-pmip2-reb/inputdata -S /home/acclimate/flhardy/iloveclim/wkdir/rec-LGM_ref_ecbilt_clio/run/restartdata/res075800 |
| 100 | |
| 101 | - The vegetation results are created in the directory outputdata/vegetation |
| 102 | |
| 103 | |
| 104 | [[BR]] |
| 105 | == '''3. Run with additional isotopes of the atmospheric oxygen''' == |
| 106 | |
| 107 | |
| 108 | - In lbm/sources/choixcomposantes.h |
| 109 | |
| 110 | #define CARAIB 1 |
| 111 | |
| 112 | #define OXYISO 1 |
| 113 | |
| 114 | #define EVAPSI 1 |
| 115 | |
| 116 | #define ISOATM 2 |
| 117 | |
| 118 | #define ISOLBM 1 |
| 119 | |
| 120 | #define ISOOCN 2 |
| 121 | |
| 122 | [[BR]] |
| 123 | - In caraib-git/com_18/parameter.common adapt the value of ''pix_car'' depending on the pixel number of the simulation (541 for preindustrial and 622 for LGM) |
| 124 | |
| 125 | - Compile the CARAIB code to create the library |
| 126 | |
| 127 | Execute the command ''make all'' |
| 128 | |
| 129 | [[BR]] |
| 130 | - Start a new loveclim run as usual |
| 131 | |
| 132 | - The results are created in the directory outputdata/d18Oatm |
| 133 | |