olr_split.sh - split OLR mean daily file
olr_split.sh [-g] [-r] [-f] [-y year]
Split OLR mean daily file by year and reduce geographical domain to [60 ° W, 50 ° E] [30 ° S, 45 ° N].
If -g option is set, there will be no geographical domain reduction.
If -f option is set, previously output files will be overwritten.
If -r option is set, output files will be concatenated in one (might be usefull, combinated with -g option to check).
If -y option is set with a year, only this year will be splitted.
To split ${VARAMMA_ID}/olr.day.mean.nc between [2000,2007] and between [60 ° W, 50 ° E] [30 ° S, 45 ° N]
$ olr_split.sh
To split ${VARAMMA_ID}/olr.day.mean.nc in 2006 between [60 ° W, 50 ° E] [30 ° S, 45 ° N]
$ olr_split.sh -y 2006
To split globaly and build a recomposed file
$ olr_split.sh -g -r
one might compare original and rebuild file
$ cdo diffv ${VARAMMA_ID}/olr.day.mean.nc ${VARAMMA_OD}/olr.day.mean_rebuild.nc
diff should only show differences in global attributes
Does'nt work on zeus because of UDUnits library problems
++++ GROS DOUTE SUR LES LONGITUDES DANS CES FICHIERS +++++++
/usr/home/fplod/incas/varamma/varamma_ws/olr_split.sh sur aedon.locean-ipsl.upmc.fr
++ unset
++ option debug/verbose
++ gestion log
++ vérification accès filein
++ found none interactive actionof ncks if output file exists
$Id: olr_split.sh 2 2008-12-18 16:56:52Z pinsard $