Ignore:
Timestamp:
02/11/14 18:41:24 (10 years ago)
Author:
pinsard
Message:

fix thanks to coding rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/flux_evaluation_tpr_timeseries.pro

    r180 r203  
    2525; ======== 
    2626; 
    27 ; :: 
     27; .. code-block:: idl 
    2828; 
    29 ;   date1 = 20000101L 
    30 ;   date2 = 20091231L 
    31 ;   flux_evaluation_tpr_timeseries, date1, date2 
     29;    date1 = 20000101L 
     30;    date2 = 20091231L 
     31;    flux_evaluation_tpr_timeseries, date1, date2 
    3232; 
    3333; EVOLUTIONS 
     
    131131 
    132132 
    133            extract_tpr_location,var,box, $ 
    134                 var_tpr 
    135            var_tpr=reform(var_tpr) 
     133       extract_tpr_location,var,box, $ 
     134       var_tpr 
     135       var_tpr=reform(var_tpr) 
    136136 
    137            stats_5d, tpr,var_tpr, $  ;; tpr=TPR observation and var_tpr=gridded product extracted at TPR location 
    138               cor, bias, std, rmsd 
     137       stats_5d, tpr,var_tpr, $  ;; tpr=TPR observation and var_tpr=gridded product extracted at TPR location 
     138       cor, bias, std, rmsd 
    139139 
    140            printf, 1, x, y, cor, bias, std, rmsd, format='(f6.2, 3x, f6.2, 3x, f4.2, 3x, f7.2, 3x, f4.2, 3x, f5.2)' 
    141            cstat=string(cor, bias, std, rmsd, format='(f4.2,3x,f7.2,3x,f4.2,3x,f5.2)') 
    142            print, cstat 
     140       printf, 1, x, y, cor, bias, std, rmsd, format='(f6.2, 3x, f6.2, 3x, f4.2, 3x, f7.2, 3x, f4.2, 3x, f5.2)' 
     141       cstat=string(cor, bias, std, rmsd, format='(f4.2,3x,f7.2,3x,f4.2,3x,f5.2)') 
     142       print, cstat 
    143143 
    144 ;;         PLOTTING THE TIME-SERIES 
    145            array=[tpr, var_tpr] & mi=min(array,/nan) & ma=max(array,/nan) & int=(ma-mi)/3. 
    146            pltt, ts_smooth(tpr,5,/nan), "t",/rempl, small=[1,3,1], lct=65, $ 
    147                  title='Five day stats are shown below.  TPR (black) and Product (red) at'+csite+' ', charsize=1., $ 
    148                  subtitle=cstat 
    149            ind=where(finite(tpr,/nan)) & var_tpr(ind)=!Values.f_nan 
    150            pltt, ts_smooth(var_tpr,5,/nan), "t",/ov1d, color=250 
    151            erase 
    152            mooring=[mooring,tpr] & product=[product,var_tpr] 
     144;;     PLOTTING THE TIME-SERIES 
     145       array=[tpr, var_tpr] & mi=min(array,/nan) & ma=max(array,/nan) & int=(ma-mi)/3. 
     146       pltt, ts_smooth(tpr,5,/nan), "t",/rempl, small=[1,3,1], lct=65, $ 
     147       title='Five day stats are shown below.  TPR (black) and Product (red) at'+csite+' ', charsize=1., $ 
     148       subtitle=cstat 
     149       ind=where(finite(tpr,/nan)) & var_tpr(ind)=!Values.f_nan 
     150       pltt, ts_smooth(var_tpr,5,/nan), "t",/ov1d, color=250 
     151       erase 
     152       mooring=[mooring,tpr] & product=[product,var_tpr] 
    153153    endif 
    154154endfor 
Note: See TracChangeset for help on using the changeset viewer.