Ignore:
Timestamp:
03/01/10 16:59:54 (14 years ago)
Author:
sdipsl
Message:
  • Slight modification in the way we read and interpret card for post-processing. Actual card will not work with this revision

List=(histmth.nc, ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmth.nc, Post_1M_histmth), \

(histday.nc, ${R_OUT_ATM_O_D}/${PREFIX}_1D_histday.nc, Post_1D_histday), \
(histhf.nc, ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhf.nc, Post_HF_histhf)

  • ChunckJob2D, ChunckJob3d have control over TS, with the folliwing keywords :

OFF (TimeSeries? not active), NONE (TimeSeries? active but without chunck), 10Y (TimeSeries? active, but produce as many as needed 10 years lenght time series)

  • Seasonnal (ON/OFF), have control over SE files production.
  • Patch can be applied systematicaly even if no Time Series or Seasonal post-proceesing are required
  • A first step towards the merge between rebuildFromArchive and rebuildFrowWorkdir jobs
  • We may change rebuildFromArchive job name as it is not that meaningful in this context
  • We may change ChunckJob2D/ChunckJob3D as it is not that meaningful in this context
  • Some bugfix and optimisation
  • For testing purpose only (still try to have backward compatibility)

Exemple :

[Post_1D_histday]
Patches= (Patch_20091030_histcom_time_axis)
GatherWithInternal? = (lon, lat, presnivs, time_counter)
TimeSeriesVars2D = (bils, cldh, ...)
ChunckJob2D = 50Y
TimeSeriesVars3D = (temp, theta, ovap, ovapinit, geop, ...)
ChunckJob3D = OFF
Seasonal=OFF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_ts

    r229 r236  
    290290                # 
    291291                FILE=$( echo ${flag_post} | awk "-FPost_" '{print $2}' ) 
    292                 IGCM_card_DefineArrayFromOption ${card} Post_${FILE} TimeSeriesVars${Dimension} 
     292                IGCM_card_DefineArrayFromOption ${card}    Post_${FILE} TimeSeriesVars${Dimension} 
     293                IGCM_card_DefineVariableFromOption ${card} Post_${FILE} ChunckJob${Dimension} 
    293294                # 
     295                # If TimeSeriesVars list is empty we skip 
     296                # 
    294297                if [ $( eval echo \${${compname}_Post_${FILE}_TimeSeriesVars${Dimension}} ) = ${NULL_STR} ] ; then 
    295298                    # 
    296299                    IGCM_debug_Print 3 "Nothing to do for ${FILE} according to ${card}" 
     300                    IGCM_debug_Print 3 "TimeSeriesVars${Dimension} for ${FILE} is empty" 
    297301                    (( i=i+3 )) 
    298302                    continue 
     
    300304                fi 
    301305                # 
    302                 # If we are not a Chunck type task, skip files/variables handled  by chunck task 
     306                # If files/variables has been switch off by ChunckJob${Dimension}=0 we skip 
     307                # 
     308                if [ X$( eval echo \${${compname}_Post_${FILE}_ChunckJob${Dimension}} ) = X0 ] ; then 
     309                    IGCM_debug_Print 3 "Nothing to do for ${FILE} according to ${card}" 
     310                    IGCM_debug_Print 3 "ChunckJob${Dimension}=0 for ${FILE} so it has been switched off" 
     311                    (( i=i+3 )) 
     312                    continue 
     313                fi 
     314                # 
     315                # If we are not a Chunck type task, we skip files/variables handled by chunck task 
    303316                # 
    304317                if ( [ ! X${TsTask} = XChunck${Dimension} ] && [ ! X${TsTask} = X ] && [ ! XChunck${Dimension} = XChunck ] ) ; then 
    305                     IGCM_card_DefineVariableFromOption ${card} Post_${FILE} ChunckJob${Dimension} 
    306318                    if [ ! $( eval echo \${${compname}_Post_${FILE}_ChunckJob${Dimension}} ) = NONE ] ; then 
    307319                        IGCM_debug_Print 3 "Nothing to do for ${FILE} TimeSeriesVars${Dimension} according to ${card}" 
     
    311323                    fi 
    312324                fi 
     325                # 
     326                # Now on we know we have things to do 
     327                # 
     328 
    313329                # 
    314330                #  We need coordinates axis to properly fill produced time series 
Note: See TracChangeset for help on using the changeset viewer.