(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.1 and 1.2

version 1.1, 2012/08/23 08:38:33 version 1.2, 2012/08/27 19:56:00
Line 594  int createCeaRecord(DRMS_Record_t *mharp
Line 594  int createCeaRecord(DRMS_Record_t *mharp
         if (mapScaler(sharpRec, contRec, mharpRec, &mInfo, "continuum")) return 1;         if (mapScaler(sharpRec, contRec, mharpRec, &mInfo, "continuum")) return 1;
         printf("Intensitygram mapping done.\n");         printf("Intensitygram mapping done.\n");
  
         //if (mapScaler(sharpRec, bharpRec, mharpRec, &mInfo, "conf_disambig")) return 1;          if (mapScaler(sharpRec, bharpRec, mharpRec, &mInfo, "conf_disambig")) return 1;
         //printf("Conf disambig mapping done.\n");          printf("Conf disambig mapping done.\n");
   
         if (mapScaler(sharpRec, bharpRec, mharpRec, &mInfo, "disambig")) return 1;  
         printf("disambig mapping done.\n");  
  
         // Mapping vector B         // Mapping vector B
  
Line 1619  void computeSWIndex(struct swIndex *swKe
Line 1616  void computeSWIndex(struct swIndex *swKe
         //int *mask = (int *) maskArray->data;          // get the previously made mask array         //int *mask = (int *) maskArray->data;          // get the previously made mask array
  
         //Use conf_disambig map as a threshold on spaceweather quantities         //Use conf_disambig map as a threshold on spaceweather quantities
         //DRMS_Segment_t *maskSeg = drms_segment_lookup(inRec, "conf_disambig");          DRMS_Segment_t *maskSeg = drms_segment_lookup(inRec, "conf_disambig");
         DRMS_Segment_t *maskSeg = drms_segment_lookup(inRec, "disambig");  
         DRMS_Array_t *maskArray = drms_segment_read(maskSeg, DRMS_TYPE_INT, &status);         DRMS_Array_t *maskArray = drms_segment_read(maskSeg, DRMS_TYPE_INT, &status);
         int *mask = (int *) maskArray->data;            // get the previously made mask array         int *mask = (int *) maskArray->data;            // get the previously made mask array
  


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Karen Tian
Powered by
ViewCVS 0.9.4