(file) Return to jtsfiddle.c CVS log (file) (dir) Up to [Development] / JSOC / proj / globalhs / apps

Diff for /JSOC/proj/globalhs/apps/jtsfiddle.c between version 1.12 and 1.13

version 1.12, 2012/10/03 00:52:28 version 1.13, 2013/01/24 06:47:00
Line 47  ModuleArgs_t module_args[] =
Line 47  ModuleArgs_t module_args[] =
   {ARG_STRING,   "srclink",  "SRCDATA", "name of link to source data"},   {ARG_STRING,   "srclink",  "SRCDATA", "name of link to source data"},
   {ARG_INT,      "PERM", "1", "set to 0 for transient records, nonzero for permanent records"},   {ARG_INT,      "PERM", "1", "set to 0 for transient records, nonzero for permanent records"},
   {ARG_INT,      "VERB", "1",  "option for level of verbosity: 0=only error and warning messages; >0=print messages outside of loop; >1=print messages inside loop; >2=debugging output", NULL},   {ARG_INT,      "VERB", "1",  "option for level of verbosity: 0=only error and warning messages; >0=print messages outside of loop; >1=print messages inside loop; >2=debugging output", NULL},
     {ARG_STRING,   "TAG", kNOTSPECIFIED, "this parameter sets a keyword of the same name to the same value, usually used as an additional primekey"},
   
   {ARG_STRING,   "LOGFILE", "stdout", ""},   {ARG_STRING,   "LOGFILE", "stdout", ""},
   {ARG_STRING,   "GAPFILE", "", "record or file containing window function"},   {ARG_STRING,   "GAPFILE", "", "record or file containing window function"},
   {ARG_STRING,   "SECTIONFILE", kNOTSPECIFIED, "record or file specifying continuous sections of data"},   {ARG_STRING,   "SECTIONFILE", kNOTSPECIFIED, "record or file specifying continuous sections of data"},
Line 226  int DoIt(void)
Line 228  int DoIt(void)
   else   else
     lifetime = DRMS_TRANSIENT;     lifetime = DRMS_TRANSIENT;
  
     char *tag = (char *)cmdparams_save_str(&cmdparams, "TAG", &newstat);
     int tagflag = strcmp(kNOTSPECIFIED, tag);
   
   char *tsseries = (char *)cmdparams_save_str(&cmdparams, "tsout", &newstat);   char *tsseries = (char *)cmdparams_save_str(&cmdparams, "tsout", &newstat);
   tsout = strcmp(kNOTSPECIFIED, tsseries);   tsout = strcmp(kNOTSPECIFIED, tsseries);
   char *powseries = (char *)cmdparams_save_str(&cmdparams, "powout", &newstat);   char *powseries = (char *)cmdparams_save_str(&cmdparams, "powout", &newstat);
Line 1077  int DoIt(void)
Line 1082  int DoIt(void)
       drms_setkey_time(outrec, "T_OBS", (tstartout + tstopout)/2);       drms_setkey_time(outrec, "T_OBS", (tstartout + tstopout)/2);
       drms_setkey_float(outrec, "T_STEP", tsamplex);       drms_setkey_float(outrec, "T_STEP", tsamplex);
       drms_setkey_int(outrec, "NDT", n_sampled_out);       drms_setkey_int(outrec, "NDT", n_sampled_out);
         if (tagflag)
           drms_setkey_string(outrec, "TAG", tag);
  
       tnow = (double)time(NULL);       tnow = (double)time(NULL);
       tnow += UNIX_epoch;       tnow += UNIX_epoch;


Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

Karen Tian
Powered by
ViewCVS 0.9.4