Changeset 1841 in Sophya for trunk/SophyaProg/PrgMap/extrapsph.cc
- Timestamp:
- Dec 22, 2001, 12:11:40 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PrgMap/extrapsph.cc
r1626 r1841 152 152 { 153 153 dum = "rm -f "; dum += fsphout; system(dum.c_str()); 154 FitsOutFile sfits(fsphout );154 FitsOutFile sfits(fsphout, FitsFile::clear); 155 155 cout<<"Writing Output Sphere Fits file"<<endl; 156 156 sfits<<sphin; … … 158 158 if(fsphoutw) { 159 159 dum = "rm -f "; dum += fsphoutw; system(dum.c_str()); 160 FitsOutFile sfits(fsphoutw );160 FitsOutFile sfits(fsphoutw, FitsFile::clear); 161 161 cout<<"Writing Output Sphere Weight Fits file"<<endl; 162 162 sfits<<sphinw; … … 164 164 if(fsphred) { 165 165 dum = "rm -f "; dum += fsphred; system(dum.c_str()); 166 FitsOutFile sfits(fsphred );166 FitsOutFile sfits(fsphred, FitsFile::clear); 167 167 cout<<"Writing Reducted Sphere Fits file"<<endl; 168 168 sfits<<sphred; … … 170 170 if(fsphredw) { 171 171 dum = "rm -f "; dum += fsphredw; system(dum.c_str()); 172 FitsOutFile sfits(fsphredw );172 FitsOutFile sfits(fsphredw, FitsFile::clear); 173 173 cout<<"Writing Reducted Sphere Weight Fits file"<<endl; 174 174 sfits<<sphredw;
Note:
See TracChangeset
for help on using the changeset viewer.