[6509] | 1 | |
---|
| 2 | # WATER_BUDGET |
---|
| 3 | |
---|
| 4 | # Script to check water conservation in the IPSL coupled model |
---|
| 5 | |
---|
| 6 | ## SVN information |
---|
| 7 | ``` |
---|
| 8 | $Author: omamce $ |
---|
| 9 | $Date: 2022-12-08 10:24:05 +0100 (Thu, 08 Dec 2022) $ |
---|
| 10 | $Revision: 6277 $ |
---|
| 11 | $Id: ATM_waterbudget.py 6277 2022-12-08 09:24:05Z omamce $ |
---|
| 12 | $HeadURL: svn+ssh://omamce@forge.ipsl.jussieu.fr/ipsl/forge/projets/igcmg/svn/TOOLS/WATER_BUDGET/ATM_waterbudget.py $ |
---|
| 13 | ``` |
---|
| 14 | |
---|
| 15 | ## Example of a simple input file |
---|
| 16 | |
---|
| 17 | With the simple input file, the scripts will uses the information to |
---|
[6651] | 18 | constructs the needed file names, according to the libIGCM DRS. |
---|
[6509] | 19 | |
---|
[6651] | 20 | On Irene, Jean-Zay and Spip, you need to specifiy the group and user |
---|
| 21 | to locate the files. |
---|
[6509] | 22 | |
---|
[6651] | 23 | It will extract the restarts from the tar files, and rebuild NEMO restarts. |
---|
| 24 | |
---|
[6509] | 25 | ```config |
---|
[6651] | 26 | OCE_waterbudget.py |
---|
| 27 | [Config] |
---|
| 28 | ContinueOnError = True |
---|
| 29 | SortIco = False |
---|
| 30 | |
---|
[6509] | 31 | [Experiment] |
---|
| 32 | libIGCM = True |
---|
| 33 | JobName = TEST-CM72-SIMPLE-ROUTING.13 |
---|
| 34 | TagName = IPSLCM7 |
---|
| 35 | SpaceName = DEVT |
---|
| 36 | ExperimentName = piControl |
---|
| 37 | User = p86caub |
---|
[6651] | 38 | Group = gencmip6 |
---|
[6509] | 39 | Freq = MO |
---|
| 40 | YearBegin = 1850 |
---|
| 41 | YearEnd = 1859 |
---|
| 42 | PackFrequency = 10 |
---|
[6651] | 43 | ATM = ICO40 |
---|
| 44 | Routing = SIMPLE |
---|
| 45 | ORCA = eORCA1.4.2 |
---|
| 46 | NEMO = 4.2 |
---|
| 47 | Coupled = True |
---|
| 48 | ATM_HIS = ico |
---|
| 49 | SRF_HIS = ${ATM_HIS} |
---|
| 50 | RUN_HIS = ${ATM_HIS} |
---|
[6509] | 51 | ``` |
---|
[6651] | 52 | |
---|
[6509] | 53 | ## Example of full input file |
---|
| 54 | |
---|
| 55 | All the file names computed by the scripts will be writen back |
---|
[6651] | 56 | in additional sections. |
---|
[6509] | 57 | |
---|
[6651] | 58 | You can add a `[libIGCM]` section to override part or all computed |
---|
| 59 | libIGCM directories by pre-determined directory names. |
---|
[6509] | 60 | |
---|
[6651] | 61 | You can add a `[Files]` section to override part or all computed file |
---|
[6509] | 62 | names by pre-determined file names |
---|
| 63 | |
---|
[6651] | 64 | You can add a `[Physics]` section to override some or all default parameters. |
---|
[6509] | 65 | |
---|
| 66 | ``` |
---|
[6651] | 67 | [Config] |
---|
| 68 | ContinueOnError = True |
---|
| 69 | SortIco = False |
---|
| 70 | |
---|
[6509] | 71 | [Experiment] |
---|
[6651] | 72 | JobName = CM71v420-LR-pd-02-out-ico-reg |
---|
| 73 | ConfigCard = /ccc/cont003/home/gencmip6/p86caub/IPSLCM7_TUNING_MODIF_ORCHIDEE/config/IPSLCM7/${JobName}/config.card |
---|
| 74 | libIGCM = True |
---|
| 75 | User = p86caub |
---|
| 76 | Group = gencmip6 |
---|
| 77 | Freq = MO |
---|
| 78 | YearBegin = 1870 |
---|
| 79 | YearEnd = 1870 |
---|
| 80 | ATM = ICO40 |
---|
| 81 | Routing = SIMPLE |
---|
| 82 | ORCA = eORCA1.4.2 |
---|
| 83 | NEMO = 4.2 |
---|
| 84 | Coupled = True |
---|
| 85 | ATM_HIS = latlon |
---|
| 86 | SRF_HIS = ${ATM_HIS} |
---|
| 87 | RUN_HIS = ${ATM_HIS} |
---|
| 88 | DateBegin = 18700101 |
---|
| 89 | DateEnd = 18701231 |
---|
[6509] | 90 | |
---|
| 91 | [Files] |
---|
[6651] | 92 | FileOut = ATM_waterbudget_CM71v420-LR-pd-02-out-ico-reg_1870_1870_LATLON.out |
---|
| 93 | TmpDir = /ccc/scratch/cont003/gencmip6/p86mart |
---|
| 94 | RunDir = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231 |
---|
| 95 | dir_ATM_his = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/ATM/Output/MO |
---|
| 96 | dir_SRF_his = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/SRF/Output/MO |
---|
| 97 | Period = 18700101_18701231_1M |
---|
| 98 | DateBegin = 18701231 |
---|
| 99 | FileCommon = CM71v420-LR-pd-02-out-ico-reg_18700101_18701231_1M |
---|
| 100 | Title = CM71v420-LR-pd-02-out-ico-reg : MO : 18700101 - 18701231 |
---|
| 101 | file_ATM_his = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/ATM/Output/MO/CM71v420-LR-pd-02-out-ico-reg_18700101_18701231_1M_histmth.nc |
---|
| 102 | file_SRF_his = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/SRF/Output/MO/CM71v420-LR-pd-02-out-ico-reg_18700101_18701231_1M_sechiba_history.nc |
---|
| 103 | file_RUN_his = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/SRF/Output/MO/CM71v420-LR-pd-02-out-ico-reg_18700101_18701231_1M_sechiba_history.nc |
---|
| 104 | TarRestartPeriod_beg = 18690101_18691231 |
---|
| 105 | TarRestartPeriod_end = 18700101_18701231 |
---|
| 106 | tar_restart_beg = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/RESTART/CM71v420-LR-pd-02-out-ico-reg_18690101_18691231_restart.tar |
---|
| 107 | tar_restart_end = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/RESTART/CM71v420-LR-pd-02-out-ico-reg_18700101_18701231_restart.tar |
---|
| 108 | file_ATM_beg = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/ATM_CM71v420-LR-pd-02-out-ico-reg_18691231_restartphy.nc |
---|
| 109 | file_ATM_end = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/ATM_CM71v420-LR-pd-02-out-ico-reg_18701231_restartphy.nc |
---|
| 110 | file_DYN_beg = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/ICO_CM71v420-LR-pd-02-out-ico-reg_18691231_restart.nc |
---|
| 111 | file_DYN_end = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/ICO_CM71v420-LR-pd-02-out-ico-reg_18701231_restart.nc |
---|
| 112 | file_SRF_beg = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/SRF_CM71v420-LR-pd-02-out-ico-reg_18691231_sechiba_rest.nc |
---|
| 113 | file_SRF_end = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/SRF_CM71v420-LR-pd-02-out-ico-reg_18701231_sechiba_rest.nc |
---|
| 114 | file_DYN_aire = /ccc/work/cont003/igcmg/igcmg/IGCM/ATM/GRID/ICO40_grid.nc |
---|
| 115 | file_RUN_beg = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/SRF_CM71v420-LR-pd-02-out-ico-reg_18691231_routing_restart.nc |
---|
| 116 | file_RUN_end = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231/SRF_CM71v420-LR-pd-02-out-ico-reg_18701231_routing_restart.nc |
---|
| 117 | file_ATM_aire = /ccc/work/cont003/igcmg/igcmg/IGCM/ATM/GRID/aire_ICO40_to_144x143.nc |
---|
[6509] | 118 | |
---|
| 119 | [Physics] |
---|
| 120 | Ra = 6366197.7236758135 |
---|
| 121 | Grav = 9.81 |
---|
| 122 | ICE_rho_ice = 917.0 |
---|
[6651] | 123 | CE_rho_sno = 330.0 |
---|
[6509] | 124 | OCE_rho_liq = 1026.0 |
---|
| 125 | ATM_rho = 1000.0 |
---|
| 126 | SRF_rho = 1000.0 |
---|
| 127 | RUN_rho = 1000.0 |
---|
| 128 | |
---|
| 129 | [libIGCM] |
---|
[6651] | 130 | ARCHIVE = /ccc/store/cont003/gencmip6/p86caub |
---|
| 131 | STORAGE = /ccc/work/cont003/gencmip6/p86caub |
---|
| 132 | TmpDir = /ccc/scratch/cont003/gencmip6/p86mart |
---|
| 133 | R_IN = /ccc/work/cont003/igcmg/igcmg/IGCM |
---|
| 134 | rebuild = /ccc/cont003/home/igcmg/igcmg/Tools/x86_64/rebuild_nemo/bin/rebuild_nemo |
---|
| 135 | R_OUT = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT |
---|
| 136 | R_BUF = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT |
---|
| 137 | L_EXP = IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg |
---|
| 138 | R_BUFR = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg |
---|
| 139 | POST_DIR = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/Out |
---|
| 140 | REBUILD_DIR = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/REBUILD |
---|
| 141 | R_BUF_KSH = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/Out |
---|
| 142 | R_FIGR = /ccc/work/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg |
---|
[6509] | 143 | ``` |
---|
| 144 | |
---|
| 145 | ## State of the art, SVN version 6508 |
---|
| 146 | |
---|
| 147 | Version qui marche pour : |
---|
| 148 | - Grille LMDZ et routage SECHIBA |
---|
| 149 | - Grille ICO avec sorties natives et routage SIMPLE : routage pas trÚs précis. |
---|
| 150 | Ne marche pas pour : |
---|
| 151 | - Grille LMDZ et routage SIMPLE : pb sur runoff |
---|
| 152 | - Grille ICO avec sorties interpolées : |
---|
[6651] | 153 | - OK pour LMD |
---|
| 154 | - A finaliser pour SECHIBA |
---|
[6509] | 155 | |
---|