diff --git a/data-access/engine/src/vlkb/src/imcopydav.cpp b/data-access/engine/src/vlkb/src/imcopydav.cpp index 1979dbb0bacce28a4c843506fd2f86cec8c81941..76e8a67fda2fcaca249fd581bfbd3dcb009dfeb2 100644 --- a/data-access/engine/src/vlkb/src/imcopydav.cpp +++ b/data-access/engine/src/vlkb/src/imcopydav.cpp @@ -39,8 +39,6 @@ class dav long n_blocks_with_padding = (n_cardslots==0) ? n_blocks : (n_blocks+1); this->du_firstbyte_cix = (2880)*n_blocks_with_padding; - - cout << "du_firstbyte_cix: " << this->du_firstbyte_cix << endl; } @@ -81,10 +79,6 @@ class dav int naxis = maxdim; // prepare volume[] for coord -> offset calcs for(int i=1; i<naxis; i++) this->volume[i] = this->volume[i-1] * naxes[i-1]; - cout << "volume: [ "; - for(int i=0; i<naxis; i++) cout << this->volume[i] << " "; - cout << "]" << endl; - return *status; } @@ -159,12 +153,9 @@ class dav { pixels_off += (fpixel[i]-1) * volume[i]; } - //cout << "pixels_off: " << pixels_off << endl; dav_off_t doff = du_firstbyte_cix + (abs(bitpix)/8) * pixels_off; - //cout << "file offset: " << doff << endl; - this->file.readPartial(NULL, array, arraylen, doff, &err); return *status; @@ -625,8 +616,8 @@ void imcopydav(std::string url, int extnum, std::string pixfilter) dav fdav(url); /* I - input image */ fitsfile *newfptr; /* I - pointer to output image */ - fits_create_file(&newfptr, "cut.fits", &status); - //fits_create_file(&newfptr, "stream://", &status); + //fits_create_file(&newfptr, "cut.fits", &status); + fits_create_file(&newfptr, "stream://", &status); if (status) { string errmsg{ fitsfiles::cfitsio_errmsg(__FILE__, __LINE__, status) };