Changeset 356 in Sophya for trunk


Ignore:
Timestamp:
Aug 5, 1999, 3:52:27 PM (26 years ago)
Author:
ansari
Message:

added support for FITS output

Location:
trunk/Poubelle/archTOI.old
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/archtoi.cc

    r354 r356  
    342342           (blk->param.bolo[i].bolo_code_util != bolo_hors_service &&
    343343            blk->param.bolo[i].bolo_code_util != bolo_normal_non_transmis)) {
    344         j++;
     344        //j++;
    345345        char line[80];
    346346        strcpy(line, blk->param.nom_coef[blk->param.bolo[i].numero_nom_coef].bolo_nom);
    347347        char* pline = line;
    348         fits_write_keys_str(fptr, "BOLO", j, 1, &pline, (char**) NULL, &fitsStatus);
     348        fits_write_keys_str(fptr, "BOLO", i, 1, &pline, (char**) NULL, &fitsStatus);
    349349      }
    350350#else
    351         j++;
     351        //j++;
    352352        char line[80];
    353353        strcpy(line, blk->param.bolo[i].bolo_nom);
    354354        char* pline = line;
    355         fits_write_keys_str(fptr, "BOLO", j, 1, &pline, (char**) NULL, &fitsStatus);
     355        fits_write_keys_str(fptr, "BOLO", i, 1, &pline, (char**) NULL, &fitsStatus);
    356356#endif
    357357    }
    358     fits_write_key(fptr, TINT, "BOLO", &j, NULL, &fitsStatus);
     358    //fits_write_key(fptr, TINT, "BOLO", &j, NULL, &fitsStatus);
    359359  }
    360360  fits_write_comment(fptr, "Generated with archtoi " ARCHTOI_VERS, &fitsStatus);
  • trunk/Poubelle/archTOI.old/archtoi.h

    r352 r356  
    6363};
    6464
     65#define ARCHTOI_VERS "1.0"
     66
    6567#endif
Note: See TracChangeset for help on using the changeset viewer.