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

Diff for /JSOC/proj/sharp/apps/sharp.c between version 1.10 and 1.13

version 1.10, 2013/01/23 21:48:26 version 1.13, 2013/05/09 19:40:54
Line 928  int findPosition(DRMS_Record_t *inRec, s
Line 928  int findPosition(DRMS_Record_t *inRec, s
         // We compute minlon & minlat then by         // We compute minlon & minlat then by
         // LONDTMIN(t) = LONDTMIN(t0) + (t - t0) * OMEGA_DT         // LONDTMIN(t) = LONDTMIN(t0) + (t - t0) * OMEGA_DT
  
         float psize = drms_getkey_float(inRec, "SIZE", &status);  //      float psize = drms_getkey_float(inRec, "SIZE", &status);
         if (psize != psize) {  //      if (psize != psize) {
                 TIME t0 = drms_getkey_time(inRec, "T_FRST", &status); if (status) return 1;  
     if (minlon != minlon || maxlon != maxlon) {           // check lons instead of SIZE
                   TIME t0 = drms_getkey_time(inRec, "T_FRST1", &status); if (status) return 1;                    // changed from T_FRST to T_FRST1, T_FRST may not exist
                 double omega = drms_getkey_double(inRec, "OMEGA_DT", &status); if (status) return 1;                 double omega = drms_getkey_double(inRec, "OMEGA_DT", &status); if (status) return 1;
                 char firstRecQuery[100], t0_str[100];                 char firstRecQuery[100], t0_str[100];
                 sprint_time(t0_str, t0, "TAI", 0);                 sprint_time(t0_str, t0, "TAI", 0);
Line 1903  void setKeys(DRMS_Record_t *outRec, DRMS
Line 1905  void setKeys(DRMS_Record_t *outRec, DRMS
         drms_setkey_string(outRec, "DATE", timebuf);         drms_setkey_string(outRec, "DATE", timebuf);
  
         // set cvs commit version into keyword HEADER         // set cvs commit version into keyword HEADER
         char *cvsinfo = strdup("$Header$");          char *cvsinfo = strdup("$Id$");
         //   status = drms_setkey_string(outRec, "HEADER", cvsinfo);         //   status = drms_setkey_string(outRec, "HEADER", cvsinfo);
         status = drms_setkey_string(outRec, "CODEVER7", cvsinfo);         status = drms_setkey_string(outRec, "CODEVER7", cvsinfo);
  


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

Karen Tian
Powered by
ViewCVS 0.9.4