Changeset 9943 for trunk/psModules/src/concepts/pmConceptsAverage.c
- Timestamp:
- Nov 9, 2006, 4:13:17 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsAverage.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsAverage.c
r9572 r9943 37 37 psTimeType timeSys = 0; // Time system 38 38 int readdir = 0; // Cell read direction 39 int xBin = 0, yBin = 0; // Binning 39 40 40 41 int nCells = 0; // Number of cells; … … 56 57 timeSys = psMetadataLookupS32(NULL, cell->concepts, "CELL.TIMESYS"); 57 58 readdir = psMetadataLookupS32(NULL, cell->concepts, "CELL.READDIR"); 59 xBin = psMetadataLookupS32(NULL, cell->concepts, "CELL.XBIN"); 60 yBin = psMetadataLookupS32(NULL, cell->concepts, "CELL.YBIN"); 58 61 } else { 59 62 if (timeSys != psMetadataLookupS32(NULL, cell->concepts, "CELL.TIMESYS")) { … … 65 68 psLogMsg(__func__, PS_LOG_ERROR, "Differing cell read directions in use: %d vs %d\n", readdir, 66 69 psMetadataLookupS32(NULL, cell->concepts, "CELL.READDIR")); 70 success = false; 71 } 72 if (xBin != psMetadataLookupS32(NULL, cell->concepts, "CELL.XBIN")) { 73 psLogMsg(__func__, PS_LOG_ERROR, "Differing cell x binnings in use: %d vs %d\n", xBin, 74 psMetadataLookupS32(NULL, cell->concepts, "CELL.XBIN")); 75 success = false; 76 } 77 if (yBin != psMetadataLookupS32(NULL, cell->concepts, "CELL.YBIN")) { 78 psLogMsg(__func__, PS_LOG_ERROR, "Differing cell y binnings in use: %d vs %d\n", yBin, 79 psMetadataLookupS32(NULL, cell->concepts, "CELL.YBIN")); 67 80 success = false; 68 81 }
Note:
See TracChangeset
for help on using the changeset viewer.
