Changeset 21244 for trunk/ppMerge/src/ppMergeReadChunk.c
- Timestamp:
- Feb 1, 2009, 11:43:05 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeReadChunk.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeReadChunk.c
r19014 r21244 1 /** @file ppMergeReadChunk.c 2 * 3 * @brief 4 * 5 * @ingroup ppMerge 6 * 7 * @author IfA 8 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-01 21:43:05 $ 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 */ 12 1 13 # include "ppMerge.h" 2 14 3 #define THREAD_WAIT 10000 // Microseconds to wait if thread is not available15 #define THREAD_WAIT 10000 ///< Microseconds to wait if thread is not available 4 16 5 17 ppMergeFileGroup *ppMergeReadChunk(bool *status, psArray *fileGroups, pmConfig *config, int numChunk) … … 8 20 9 21 bool mdok; 10 bool haveMasks = psMetadataLookupBool(&mdok, config->arguments, "INPUTS.MASKS"); // Do we have masks?11 bool haveWeights = psMetadataLookupBool(&mdok, config->arguments, "INPUTS.WEIGHTS");// Do we have weights?12 int rows = psMetadataLookupS32(NULL, config->arguments, "ROWS"); // Number of rows to read per chunk22 bool haveMasks = psMetadataLookupBool(&mdok, config->arguments, "INPUTS.MASKS"); ///< Do we have masks? 23 bool haveWeights = psMetadataLookupBool(&mdok, config->arguments, "INPUTS.WEIGHTS");///< Do we have weights? 24 int rows = psMetadataLookupS32(NULL, config->arguments, "ROWS"); ///< Number of rows to read per chunk 13 25 14 26 // select an available fileGroup … … 36 48 psTrace("ppStack", 2, "Reading data for chunk %d into fileGroup %d....n", numChunk, j); 37 49 for (int i = 0; i < readouts->n; i++) { 38 pmReadout *inRO = readouts->data[i]; // Input readout50 pmReadout *inRO = readouts->data[i]; ///< Input readout 39 51 40 52 // override the recorded last scan
Note:
See TracChangeset
for help on using the changeset viewer.
