Changes between Version 2 and Version 3 of SmoothFile


Ignore:
Timestamp:
05/09/11 12:56:56 (13 years ago)
Author:
mmaipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SmoothFile

    v2 v3  
    3333 
    3434=== Change the test for re-submission === 
     35 
     36Changeset [260] : 
     37 * Minor changes regarding smooth files handling 
     38 * We do not want to erase them between gcm execution 
     39 * We use that for aerosols forcing and ozone forcing updates 
     40{{{ 
     41385                             if [ X${ret} = Xtrue ] ; then  
     42        385                     if ( [ X${ret} = Xtrue ] || [ ${Period} -eq 1 ] ) ; then  
     43}}} 
     44This force the file to be get in the fist Period of a re-submission. 
     45 
     46Changeset [409] : [[BR]] 
     47For Smooth file, first access is always true for Period=1.  
     48Get Files when Smooth\Min<=Cumul\Period<=Smooth\Max and modulo [min]:[modulo:][max] is true. [BR] 
     49see ticket #44 
     50{{{ 
     51384                             if ( [ X${ret} = Xtrue ] || [ ${Period} -eq 1 ] ) ; then  
     52        387                     if ( [ X${ret} = Xtrue ] || ( [ ${Period} -eq 1 ] && [ ${CumulPeriod} -ge ${SmoothMin} ] && [ ${CumulPeriod} -le ${SmoothMax} ) ) ; then  
     53}}} 
     54This force the file to be get in the fist Period of a re-submission '''AND''' Smooth\Min <= Cumul\Period <= Smooth\Max. 
     55 
    3556=== Bug on re-submission === 
    3657Changeset [412] : 
    3758{{{ 
    38         386                     eval ret=$( IGCM_SmoothModulo ${SmoothDef} ${CumulPeriod} )  
    39         387                     if ( [ X${ret} = Xtrue ] || ( [ ${Period} -eq 1 ] && [ ${CumulPeriod} -ge ${SmoothMin} ] && [ ${CumulPeriod} -le ${SmoothMax} ) ) ; then  
     59 386                            eval ret=$( IGCM_SmoothModulo ${SmoothDef} ${CumulPeriod} )  
     60 387                            if ( [ X${ret} = Xtrue ] || ( [ ${Period} -eq 1 ] && [ ${CumulPeriod} -ge ${SmoothMin} ] && [ ${CumulPeriod} -le ${SmoothMax} ) ) ; then  
    4061}}} 
    4162{{{ 
     
    5172}}} 
    5273 
    53 == Smooth\Modulo function == 
     74You should only use this version. 
     75 
     76== SmoothModulo function == 
    5477Definition of Smooth modulo function  
    5578 
     
    6285 
    6386String\Modulo : A string of min:module:max like definition of Scilab vectors.  
    64 <<< 
     87{{{ 
    6588[min]:[modulo:][max]  
    66 >>> 
     89}}} 
    6790where :  
    6891 * [] value are optionnals;   
     
    7598Example :  
    7699 * 1:12: for a 1M Period\Length means in all january only through the end (defaut end corresponds to Date\End) 
    77  * 1:12:124 for a 1M Period\Length meansthen same, but only if CumulPeriod < 125. 
     100 * 1:12:124 for a 1M Period\Length meansthen same, but only if Cumul\Period < 125. 
    78101 * :12:124 is the same a previous (default init is 1). 
    79  * 1:124 means always before CumulPeriod < 125. 
     102 * 1:124 means always before Cumul\Period < 125. 
     103 * : always. You can use Boundary\Files section to do this.