IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 7, 2020, 9:30:05 AM (6 years ago)
Author:
eugene
Message:

updates to get tgroups working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relphot.20200519/src/MosaicOps.c

    r41362 r41387  
    919919  int Nbad;
    920920  int Ncal;
     921  int Ngrp;
    921922  int Ngrid;
    922923  int Nrel;
     
    11541155    if (fout) {
    11551156      float Mcal     = getMcal  (m, c, MAG_CLASS_PSF);
     1157      // float Mgrp     = getMgrp  (m, c, catalog[c].measureT[m].airmass);
    11561158      float Mgrid    = getMgrid (m, c);
    11571159      float MrelPSF  = getMrel  (catalog, m, c, MAG_CLASS_PSF, MAG_SRC_CHP);
     
    11751177    if (isnan(Mcal)) {
    11761178      info->Ncal++;
     1179      continue;
     1180    }
     1181    float Mgrp = getMgrp  (m, c, catalog[c].measureT[m].airmass);
     1182    if (isnan(Mgrp)) {
     1183      info->Ngrp++;
    11771184      continue;
    11781185    }
     
    16921699  off_t i, j, m, c, n, N;
    16931700  double *list, *dlist;
    1694   float Mcal, Mgrid, Mrel;
     1701  float Mcal, Mgrp, Mgrid, Mrel;
    16951702  StatType stats;
    16961703
     
    17161723      Mcal = getMcal  (m, c, MAG_CLASS_PSF);
    17171724      if (isnan(Mcal)) continue;
     1725      Mgrp = getMgrp  (m, c, catalog[c].measureT[m].airmass);
     1726      if (isnan(Mgrp)) continue;
    17181727      Mgrid = getMgrid (m, c);
    17191728      if (isnan(Mgrid)) continue;
Note: See TracChangeset for help on using the changeset viewer.