Changeset 359 in Sophya
- Timestamp:
- Aug 6, 1999, 4:29:38 PM (26 years ago)
- Location:
- trunk/Poubelle/archTOI.old
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/Makefile
r355 r359 1 1 CXX=cxx 2 2 CFITSIODIR=../cfitsio 3 CPPFLAGS=-O -I$(CFITSIODIR) 3 #CPPFLAGS=-O -I$(CFITSIODIR) 4 CPPFLAGS=-g -I$(CFITSIODIR) 4 5 LDLIBS=-L$(CFITSIODIR) -lcfitsio 5 6 archtoi: archtoimain.o archtoi.o archeopsfile.o decompress.o toiiter.o toisvr.o archeops.o \ 6 ssthandler.o toiinterpolator.o gpsparser.o 7 ssthandler.o toiinterpolator.o gpsparser.o asigps.o \ 8 auxinterpgps.o 7 9 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm 8 10 archdump: archtoidump.o archeopsfile.o decompress.o archeops.o ssthandler.o 9 11 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm 10 12 11 archeops.o: archeops.c archeops.h12 decompress.o: decompress.c archeops.h compress.h13 archeops.o: archeops.c archeops_28.c archeops.h archeops_28.h 14 decompress.o: decompress.c archeops.h archeops_28.h compress.h 13 15 archeopsfile.o: archeopsfile.cc archeopsfile.h archeops.h \ 14 ssthandler.h compress.h 15 archtoi.o: archtoi.cc archeopsfile.h archeops.h \ 16 ssthandler.h toisvr.h toiiter.h archtoi.h 17 archtoidump.o: archtoidump.cc archeopsfile.h archeops.h \ 18 ssthandler.h archtoi.h toisvr.h toiiter.h 19 archtoimain.o: archtoimain.cc archeopsfile.h archeops.h \ 20 ssthandler.h archtoi.h toisvr.h toiiter.h 21 ssthandler.o: ssthandler.cc ssthandler.h archeops.h 22 test.o: test.cc archeopsfile.h archeops.h ssthandler.h \ 23 archtoi.h toisvr.h toiiter.h 16 archeops_28.h ssthandler.h gpsparser.h compress.h 17 archtoi.o: archtoi.cc archeopsfile.h archeops.h archeops_28.h \ 18 ssthandler.h gpsparser.h toisvr.h toiiter.h auxgps.h archtoi.h \ 19 $(CFITSIODIR)/fitsio.h $(CFITSIODIR)/longnam.h asigps.h auxinterpgps.h 20 archtoidump.o: archtoidump.cc archeopsfile.h archeops.h archeops_28.h \ 21 ssthandler.h gpsparser.h archtoi.h toisvr.h toiiter.h auxgps.h \ 22 $(CFITSIODIR)/fitsio.h $(CFITSIODIR)/longnam.h 23 archtoimain.o: archtoimain.cc archeopsfile.h archeops.h archeops_28.h \ 24 ssthandler.h gpsparser.h archtoi.h toisvr.h toiiter.h auxgps.h \ 25 $(CFITSIODIR)/fitsio.h $(CFITSIODIR)/longnam.h 26 asigps.o: asigps.cc asigps.h auxinterpgps.h auxgps.h 27 auxinterpgps.o: auxinterpgps.cc auxinterpgps.h auxgps.h \ 28 $(CFITSIODIR)/fitsio.h $(CFITSIODIR)/longnam.h archtoi.h toisvr.h toiiter.h \ 29 archeopsfile.h archeops.h archeops_28.h ssthandler.h gpsparser.h 30 gpsparser.o: gpsparser.cc gpsparser.h archeops.h archeops_28.h 31 ssthandler.o: ssthandler.cc ssthandler.h archeops.h archeops_28.h 24 32 toiinterpolator.o: toiinterpolator.cc toiinterpolator.h 25 33 toiiter.o: toiiter.cc toiiter.h archeopsfile.h archeops.h \ 26 ssthandler.h toiinterpolator.h34 archeops_28.h ssthandler.h gpsparser.h auxgps.h toiinterpolator.h 27 35 toisvr.o: toisvr.cc toisvr.h toiiter.h archeopsfile.h archeops.h \ 28 ssthandler.h 29 gpsparser.o: gpsparser.cc gpsparser.h archeops.h 36 archeops_28.h ssthandler.h gpsparser.h auxgps.h -
trunk/Poubelle/archTOI.old/archtoi.h
r356 r359 60 60 int fitsStatus; 61 61 int fitsLine; 62 o fstream* ostr;62 ostream* ostr; 63 63 }; 64 64 -
trunk/Poubelle/archTOI.old/asigps.cc
r358 r359 8 8 void ASIGPS::readFile(string const& filename) { 9 9 ifstream f(filename.c_str()); 10 double omjd=0; 10 11 while (f) { 11 12 char line[200]; … … 47 48 p+=5; 48 49 if (*p != 'm') continue; 50 if (mjd < omjd) continue; 51 omjd = mjd; 49 52 AddValue(mjd, lat, lon, alt); 50 53 } -
trunk/Poubelle/archTOI.old/auxinterpgps.cc
r358 r359 54 54 int fitsLine = 1; 55 55 for (set<elem>::iterator i = elems.begin(); i != elems.end(); i++,fitsLine++) { 56 fits_write_col_dbl(fptr, 1, fitsLine, 1, 1, &(*i).mjd, &fitsStatus);57 fits_write_col_dbl(fptr, 2, fitsLine, 1, 1, &(*i).lat, &fitsStatus);58 fits_write_col_dbl(fptr, 3, fitsLine, 1, 1, &(*i).lon, &fitsStatus);59 fits_write_col_dbl(fptr, 4, fitsLine, 1, 1, &(*i).alt, &fitsStatus);56 fits_write_col_dbl(fptr, 1, fitsLine, 1, 1, (double*) &(*i).mjd, &fitsStatus); 57 fits_write_col_dbl(fptr, 2, fitsLine, 1, 1, (double*) &(*i).lat, &fitsStatus); 58 fits_write_col_dbl(fptr, 3, fitsLine, 1, 1, (double*) &(*i).lon, &fitsStatus); 59 fits_write_col_dbl(fptr, 4, fitsLine, 1, 1, (double*) &(*i).alt, &fitsStatus); 60 60 } 61 61
Note:
See TracChangeset
for help on using the changeset viewer.