Add check_expe_files_size.sh script based on S.Senesi from M France script.
This script is usefull to :
- check an ensemble of files of an experiment to find 'hole' in dates series for each 'pattern'
- check the size of monthly files to show differences (noleap year)
Example (with errors) :
IGCM_OUT/IPSLCM5A/DEVT/pdControl/SX81210: check_expe_files_size.sh -Z -R ATM/Output
quiet : 0 recursion : 1 - examsize : 1 - dir - ATM/Output -- subdir -- maxyearp1 : 9999
48 files proceeded.
Years occurring : 2000
Years tested : 2000
File name patterns and holes (if any) :
./DA/SX81210_YYmmdd_YYmmdd_1D_histday.nc :
./HF/SX81210_YYmmdd_YYmmdd_HF_histhf.nc :
./MO/SX81210_YYmmdd_YYmmdd_1M_histmth.nc : 200011
./MO/SX81210_YYmmdd_YYmmdd_1M_histmthNMC.nc :
Size verification per month (if different) :
./DA/SX81210_YYmmdd_YYmmdd_1D_histday.nc :
./HF/SX81210_YYmmdd_YYmmdd_HF_histhf.nc :
./MO/SX81210_YYmmdd_YYmmdd_1M_histmth.nc : [11]
./MO/SX81210_YYmmdd_YYmmdd_1M_histmthNMC.nc :
echo $?
1