Changeset 2979 in Sophya for trunk/SophyaExt
- Timestamp:
- Jun 21, 2006, 10:39:17 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
r2974 r2979 215 215 216 216 string ordering= dvl.GetS("ORDERING"); 217 // if(ordering.compare(0,3,"RING",0,3) != 0) $CHECK$ Reza 2/05/2000 218 if(ordering.substr(0,4) != "RING" ) 219 { 220 cerr << "FITS_SphereHEALPix/Error Not supported ORDERING= " 221 << ordering << " substr(0,4)=[" << ordering.substr(0,4) << "]" << endl; 222 throw IOExc(" FITS_SphereHEALPix:: numerotation non RING"); 223 } 217 if ( (ordering.substr(0,4) != "RING" ) && (ordering.substr(0,6) != "NESTED" ) ) { 218 cerr << "FITS_SphereHEALPix/Error Not supported ORDERING= " << ordering 219 << " != RING/NESTED " << endl; 220 throw FitsIOException("FITS_SphereHEALPix/Error ordering != RING/NESTED "); 221 } 222 223 bool fgring = true; 224 if (ordering.substr(0,4) != "RING" ) fgring = false; 224 225 225 226 int nside= dvl.GetI("NSIDE"); … … 250 251 } 251 252 double Omega= 4.0*Pi/nPix; 252 dobj_->setParameters(nside,nPix,Omega );253 dobj_->setParameters(nside,nPix,Omega,fgring); 253 254 // On lit les DataBlocks; 254 255 //
Note:
See TracChangeset
for help on using the changeset viewer.