Changes between Version 3 and Version 4 of SmoothFile
- Timestamp:
- 05/09/11 13:52:57 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SmoothFile
v3 v4 1 1 = Smoothfiles = 2 Smooth \Files section is a "get files" section with frequency informations for all initial map and files get in libIGCM configurations.2 Smooth``Files section is a "get files" section with frequency informations for all initial map and files get in libIGCM configurations. 3 3 4 4 It is an optionnal section. 5 5 6 All frequency values are in Cumul \Period unit. See section Smooth\Modulo below for usage of frequency vector.6 All frequency values are in Cumul``Period unit. See section Smooth``Modulo below for usage of frequency vector. 7 7 8 8 == How to use Smoothfile section ? == … … 23 23 24 24 === Original branch === 25 Smooth \Files branch begin at commit #6 see first import in changset [8].26 It use a new function IGCM_Smooth \Modulo to analyse A string of min max and modulo like definition of Scilab vectors.25 Smooth``Files branch begin at commit #6 see first import in changset [8]. 26 It use a new function IGCM_Smooth``Modulo to analyse A string of min max and modulo like definition of Scilab vectors. 27 27 {{{ 28 28 IGCM_SmoothModulo StringModulo value … … 46 46 Changeset [409] : [[BR]] 47 47 For Smooth file, first access is always true for Period=1. 48 Get Files when Smooth \Min<=Cumul\Period<=Smooth\Max and modulo [min]:[modulo:][max] is true. [BR]48 Get Files when Smooth``Min<=Cumul``Period<=Smooth``Max and modulo [min]:[modulo:][max] is true. [BR] 49 49 see ticket #44 50 50 {{{ … … 52 52 387 if ( [ X${ret} = Xtrue ] || ( [ ${Period} -eq 1 ] && [ ${CumulPeriod} -ge ${SmoothMin} ] && [ ${CumulPeriod} -le ${SmoothMax} ) ) ; then 53 53 }}} 54 This force the file to be get in the fist Period of a re-submission '''AND''' Smooth \Min <= Cumul\Period <= Smooth\Max.54 This force the file to be get in the fist Period of a re-submission '''AND''' Smooth``Min <= Cumul``Period <= Smooth``Max. 55 55 56 56 === Bug on re-submission === … … 74 74 You should only use this version. 75 75 76 == Smooth Modulo function ==76 == Smooth``Modulo function == 77 77 Definition of Smooth modulo function 78 78 79 Function IGCM_Smooth \Modulo analyses a string of "min max and modulo" like definition of Scilab vectors.79 Function IGCM_Smooth``Modulo analyses a string of "min max and modulo" like definition of Scilab vectors. 80 80 81 81 usage : … … 84 84 }}} 85 85 86 String \Modulo : A string of min:module:max like definition of Scilab vectors.86 String``Modulo : A string of min:module:max like definition of Scilab vectors. 87 87 {{{ 88 88 [min]:[modulo:][max] … … 97 97 98 98 Example : 99 * 1:12: for a 1M Period \Length means in all january only through the end (defaut end corresponds to Date\End)100 * 1:12:124 for a 1M Period \Length meansthen same, but only if Cumul\Period < 125.99 * 1:12: for a 1M Period``Length means in all january only through the end (defaut end corresponds to Date``End) 100 * 1:12:124 for a 1M Period``Length meansthen same, but only if Cumul``Period < 125. 101 101 * :12:124 is the same a previous (default init is 1). 102 * 1:124 means always before Cumul \Period < 125.103 * : always. You can use Boundary \Files section to do this.102 * 1:124 means always before Cumul``Period < 125. 103 * : always. You can use Boundary``Files section to do this.