Changeset 3047 in Sophya for trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
- Timestamp:
- Aug 11, 2006, 10:42:10 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
r2979 r3047 172 172 void FITS_SphereHEALPix<T>::ReadFromFits(FitsInFile& is) 173 173 { 174 if(dobj_ == NULL) 175 { 176 dobj_= new SphereHEALPix<T>; 177 ownobj_= true; 178 } 174 if (is.CurrentHDUType() != BINARY_TBL ) 175 throw FitsIOException("FITS_SphereHEALPix<T>::ReadFromFits Not a binary table HDU"); 176 177 if(dobj_ == NULL) { 178 dobj_= new SphereHEALPix<T>; 179 ownobj_= true; 180 } 179 181 int nbcols, nbentries; 180 182 //
Note:
See TracChangeset
for help on using the changeset viewer.