source: TOOLS/WATER_BUDGET/README.md @ 6803

Last change on this file since 6803 was 6651, checked in by omamce, 7 months ago

O.M. : TOOLS/MOSAIX - Cosmetic changes

File size: 6.7 KB
Line 
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
17With the simple input file, the scripts will uses the information to
18constructs the needed file names, according to the libIGCM DRS.
19
20On Irene, Jean-Zay and Spip, you need to specifiy the group and user
21to locate the files.
22
23It will extract the restarts from the tar files, and rebuild NEMO restarts.
24
25```config
26OCE_waterbudget.py
27[Config]
28ContinueOnError = True
29SortIco         = False
30
31[Experiment]
32libIGCM        = True
33JobName        = TEST-CM72-SIMPLE-ROUTING.13
34TagName        = IPSLCM7
35SpaceName      = DEVT
36ExperimentName = piControl
37User           = p86caub
38Group          = gencmip6
39Freq           = MO
40YearBegin      = 1850
41YearEnd        = 1859
42PackFrequency  = 10
43ATM             = ICO40
44Routing         = SIMPLE
45ORCA            = eORCA1.4.2
46NEMO            = 4.2
47Coupled         = True
48ATM_HIS         = ico
49SRF_HIS         = ${ATM_HIS}
50RUN_HIS         = ${ATM_HIS}
51```
52
53## Example of full input file
54
55All the file names computed by the scripts will be writen back
56in additional sections.
57
58You can add a `[libIGCM]` section to override part or all computed
59libIGCM directories by pre-determined directory names.
60
61You can add a `[Files]` section to override part or all computed file
62names by pre-determined file names
63
64You can add a `[Physics]` section to override some or all default parameters.
65
66```
67[Config]
68ContinueOnError = True
69SortIco = False
70
71[Experiment]
72JobName = CM71v420-LR-pd-02-out-ico-reg
73ConfigCard = /ccc/cont003/home/gencmip6/p86caub/IPSLCM7_TUNING_MODIF_ORCHIDEE/config/IPSLCM7/${JobName}/config.card
74libIGCM = True
75User = p86caub
76Group = gencmip6
77Freq = MO
78YearBegin = 1870
79YearEnd = 1870
80ATM = ICO40
81Routing = SIMPLE
82ORCA = eORCA1.4.2
83NEMO = 4.2
84Coupled = True
85ATM_HIS = latlon
86SRF_HIS = ${ATM_HIS}
87RUN_HIS = ${ATM_HIS}
88DateBegin = 18700101
89DateEnd = 18701231
90
91[Files]
92FileOut = ATM_waterbudget_CM71v420-LR-pd-02-out-ico-reg_1870_1870_LATLON.out
93TmpDir = /ccc/scratch/cont003/gencmip6/p86mart
94RunDir = /ccc/scratch/cont003/gencmip6/p86mart/WATER_CM71v420-LR-pd-02-out-ico-reg_18700101_18701231
95dir_ATM_his = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/ATM/Output/MO
96dir_SRF_his = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/SRF/Output/MO
97Period = 18700101_18701231_1M
98DateBegin = 18701231
99FileCommon = CM71v420-LR-pd-02-out-ico-reg_18700101_18701231_1M
100Title = CM71v420-LR-pd-02-out-ico-reg : MO : 18700101 - 18701231
101file_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
102file_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
103file_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
104TarRestartPeriod_beg = 18690101_18691231
105TarRestartPeriod_end = 18700101_18701231
106tar_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
107tar_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
108file_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
109file_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
110file_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
111file_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
112file_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
113file_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
114file_DYN_aire = /ccc/work/cont003/igcmg/igcmg/IGCM/ATM/GRID/ICO40_grid.nc
115file_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
116file_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
117file_ATM_aire = /ccc/work/cont003/igcmg/igcmg/IGCM/ATM/GRID/aire_ICO40_to_144x143.nc
118
119[Physics]
120Ra = 6366197.7236758135
121Grav = 9.81
122ICE_rho_ice = 917.0
123CE_rho_sno = 330.0
124OCE_rho_liq = 1026.0
125ATM_rho = 1000.0
126SRF_rho = 1000.0
127RUN_rho = 1000.0
128
129[libIGCM]
130ARCHIVE = /ccc/store/cont003/gencmip6/p86caub
131STORAGE = /ccc/work/cont003/gencmip6/p86caub
132TmpDir = /ccc/scratch/cont003/gencmip6/p86mart
133R_IN = /ccc/work/cont003/igcmg/igcmg/IGCM
134rebuild = /ccc/cont003/home/igcmg/igcmg/Tools/x86_64/rebuild_nemo/bin/rebuild_nemo
135R_OUT = /ccc/store/cont003/gencmip6/p86caub/IGCM_OUT
136R_BUF = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT
137L_EXP = IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg
138R_BUFR = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg
139POST_DIR = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/Out
140REBUILD_DIR = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/REBUILD
141R_BUF_KSH = /ccc/scratch/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg/Out
142R_FIGR = /ccc/work/cont003/gencmip6/p86caub/IGCM_OUT/IPSLCM7/DEVT/pdControl/CM71v420-LR-pd-02-out-ico-reg
143```
144
145## State of the art, SVN version 6508
146
147Version qui marche pour :
148- Grille LMDZ et routage SECHIBA
149- Grille ICO avec sorties natives et routage SIMPLE : routage pas trÚs précis.
150Ne marche pas pour :
151- Grille LMDZ et routage SIMPLE : pb sur runoff
152- Grille ICO avec sorties interpolées :
153  - OK pour LMD
154  - A finaliser pour SECHIBA
155
Note: See TracBrowser for help on using the repository browser.