Changeset 4635


Ignore:
Timestamp:
10/25/11 15:07:07 (10 years ago)
Author:
saurel
Message:

Severe bug that prevented the minutes of the event to be taken into account corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/seismic_processing/hyp71_mgr/hypo71_hypo2000_conv.c

    r4634 r4635  
    123123                date17(REFat,str); 
    124124                strncat(hypo_msg,str+2,8);              /* Reference hour */ 
    125                 sprintf(str,"%02d",floor((Pick.Pat - REFat)/60)); 
     125                sprintf(str,"%02d",floor((Pick.Pat - REFat)/60)*60); 
    126126                if(Pick.Plabel==' ') 
    127                         sprintf(str,"%02d",floor((Pick.Sat - REFat)/60)); 
     127                        sprintf(str,"%02d",floor((Pick.Sat - REFat)/60)*60); 
    128128                strncat(hypo_msg,str,2);                /* minute */ 
    129129                date17(Pick.Pat,str); 
Note: See TracChangeset for help on using the changeset viewer.