Changeset 2962
- Timestamp:
- 06/29/14 17:39:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STGrid.cpp
r2894 r2962 1975 1975 ArrayColumn<Float> spectraCol( tab, "SPECTRA" ) ; 1976 1976 ArrayColumn<uChar> flagtraCol( tab, "FLAGTRA" ) ; 1977 ScalarColumn<uInt> flagRowCol( tab, "FLAGROW" ); 1977 1978 ScalarColumn<uInt> polnoCol( tab, "POLNO" ) ; 1978 1979 ScalarColumn<uInt> scannoCol( tab, "SCANNO" ) ; … … 1989 1990 long offset ; 1990 1991 uInt scanno = 0 ; 1992 uChar rflag; 1991 1993 for ( Int iy = 0 ; iy < ny_ ; iy++ ) { 1992 1994 pix(1) = (Double)(iy); … … 2002 2004 wdata_p = data_p + offset ; 2003 2005 wflag_p = flag_p + offset ; 2006 rflag = ~0 ; //11111111 2004 2007 for ( Int ichan = 0 ; ichan < nchan_ ; ichan++ ) { 2005 2008 *wsp_p = *wdata_p ; 2006 2009 wsp_p++ ; 2007 2010 wdata_p += step ; 2008 flag[ichan] = *wflag_p; 2011 flag[ichan] = *wflag_p ; 2012 rflag &= flag[ichan] ; 2009 2013 wflag_p += step ; 2010 2014 } … … 2012 2016 spectraCol.put( irow, sp ) ; 2013 2017 flagtraCol.put( irow, flag ) ; 2018 flagRowCol.put( irow, ((rflag>0) ? 1 : 0) ) ; 2014 2019 directionCol.put( irow, dir ) ; 2015 2020 polnoCol.put( irow, pollist_[ipol] ) ; … … 2088 2093 weatheridCol.put( i, weatherId ) ; 2089 2094 //flagtraCol.put( i, flagtra ) ; 2090 rflagCol.put( i, 0 ) ;2095 //rflagCol.put( i, 0 ) ; 2091 2096 tsysCol.put( i, defaultTsys ) ; 2092 2097 srcnameCol.put( i, srcname ) ;
Note:
See TracChangeset
for help on using the changeset viewer.