Changeset 986 in Sophya for trunk/SophyaProg
- Timestamp:
- May 2, 2000, 3:36:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PMixer/skymixer.cc
r937 r986 281 281 } 282 282 283 try { 283 284 // Saving the output map in FITS format 284 cout << "Output Map (SphereHEALPix<float>) written to FITS file " 285 << (string)(arg[2]) << endl; 286 { 287 FITS_SphereHEALPix<float> fios2(outgs); 288 fios2.Write(arg[2]); 285 cout << "Output Map (SphereHEALPix<float>) written to FITS file " 286 << (string)(arg[2]) << endl; 287 { 288 FITS_SphereHEALPix<float> fios2(outgs); 289 fios2.Write(arg[2]); 290 } 291 PrtTim("End of WriteFITS "); 292 // Saving the output map in PPF format 293 if (narg > 3) { 294 POutPersist s(arg[3]); 295 FIO_SphereHEALPix<float> fiog(&outgs) ; 296 fiog.Write(s); 297 cout << "Output Map (SphereHEALPix<float>) written to POutPersist file " 298 << (string)(arg[3]) << endl; 299 PrtTim("End of WritePPF "); 300 } 289 301 } 290 PrtTim("End of WriteFITS "); 291 // Saving the output map in PPF format 292 if (narg > 3) { 293 POutPersist s(arg[3]); 294 FIO_SphereHEALPix<float> fiog(&outgs) ; 295 fiog.Write(s); 296 cout << "Output Map (SphereHEALPix<float>) written to POutPersist file " 297 << (string)(arg[3]) << endl; 298 PrtTim("End of WritePPF "); 299 } 302 catch(PException exc) 303 { 304 cout << "catched PException (2)" << endl; 305 msg = exc.Msg(); 306 cerr << " !!!! skymixer(2) - Catched exception - Msg= " << exc.Msg() << endl; 307 rc = 55; 308 return(55); 309 } 310 300 311 if (so) delete so; // Closing the debug ppf file 301 312 return(rc);
Note:
See TracChangeset
for help on using the changeset viewer.