#ifndef DIFFBATCHENUMS_H
#define DIFFBATCHENUMS_H


typedef enum {
  STACKMETA_STACKMETAID = 1,
  STACKMETA_SKYCELLID = 2,
  STACKMETA_SURVEYID = 3,
  STACKMETA_PHOTOCALID = 4,
  STACKMETA_FILTERID = 5,
  STACKMETA_STACKTYPEID = 6,
  STACKMETA_STACKGROUPID = 7,
  STACKMETA_MAGSAT = 8,
  STACKMETA_ANALVER = 9,
  STACKMETA_NP2IMAGES = 10,
  STACKMETA_COMPLETMAG = 11,
  STACKMETA_ASTROSCAT = 12,
  STACKMETA_PHOTOSCAT = 13,
  STACKMETA_NASTROREF = 14,
  STACKMETA_NPHOREF = 15,
  STACKMETA_MEAN = 16,
  STACKMETA_MAX = 17,
  STACKMETA_PHOTOZERO = 18,
  STACKMETA_PHOTOCOLOR = 19,
  STACKMETA_CTYPE1 = 20,
  STACKMETA_CTYPE2 = 21,
  STACKMETA_CRVAL1 = 22,
  STACKMETA_CRVAL2 = 23,
  STACKMETA_CRPIX1 = 24,
  STACKMETA_CRPIX2 = 25,
  STACKMETA_CDELT1 = 26,
  STACKMETA_CDELT2 = 27,
  STACKMETA_PC001001 = 28,
  STACKMETA_PC001002 = 29,
  STACKMETA_PC002001 = 30,
  STACKMETA_PC002002 = 31,
  STACKMETA_CALIBMODNUM = 32,
  STACKMETA_DATARELEASE = 33,
} StackMeta;

typedef enum {
  STACKTOIMAGE_STACKMETAID = 1,
  STACKTOIMAGE_IMAGEID = 2,
} StackToImage;

typedef enum {
  STACKLOWSIGDELTA_STACKMETAID = 1,
  STACKLOWSIGDELTA_DATATABLE = 2,
  STACKLOWSIGDELTA_DATARELEASE = 3,
} StackLowSigDelta;

typedef enum {
  STACKHIGHSIGDELTA_PARTITIONKEY = 1,
  STACKHIGHSIGDELTA_STACKDIFFID = 2,
  STACKHIGHSIGDELTA_IPPDETECTID = 3,
  STACKHIGHSIGDELTA_FILTERID = 4,
  STACKHIGHSIGDELTA_OBSTIME = 5,
  STACKHIGHSIGDELTA_XPOS = 6,
  STACKHIGHSIGDELTA_YPOS = 7,
  STACKHIGHSIGDELTA_XPOSERR = 8,
  STACKHIGHSIGDELTA_YPOSERR = 9,
  STACKHIGHSIGDELTA_INSTMAG = 10,
  STACKHIGHSIGDELTA_INSTMAGERR = 11,
  STACKHIGHSIGDELTA_PEAKFLUXMAG = 12,
  STACKHIGHSIGDELTA_PSFWIDMAJOR = 13,
  STACKHIGHSIGDELTA_PSFWIDMINOR = 14,
  STACKHIGHSIGDELTA_PSFTHETA = 15,
  STACKHIGHSIGDELTA_PSFLIKELIHOOD = 16,
  STACKHIGHSIGDELTA_PSFCF = 17,
  STACKHIGHSIGDELTA_INFOFLAG = 18,
  STACKHIGHSIGDELTA_NFRAMES = 19,
  STACKHIGHSIGDELTA_HTMID = 20,
  STACKHIGHSIGDELTA_ZONEID = 21,
  STACKHIGHSIGDELTA_RA = 22,
  STACKHIGHSIGDELTA_DEC = 23,
  STACKHIGHSIGDELTA_RAERR = 24,
  STACKHIGHSIGDELTA_DECERR = 25,
  STACKHIGHSIGDELTA_CX = 26,
  STACKHIGHSIGDELTA_CY = 27,
  STACKHIGHSIGDELTA_CZ = 28,
  STACKHIGHSIGDELTA_CALMAG = 29,
  STACKHIGHSIGDELTA_CALMAGERR = 30,
  STACKHIGHSIGDELTA_SKY = 31,
  STACKHIGHSIGDELTA_SKYERR = 32,
  STACKHIGHSIGDELTA_SGSEP = 33,
  STACKHIGHSIGDELTA_DATARELEASE = 34,
} StackHighSigDelta;

typedef enum {
  OBJECTCALCOLOR_OBJID = 1,
  OBJECTCALCOLOR_IPPOBJID = 2,
  OBJECTCALCOLOR_FILTERID = 3,
  OBJECTCALCOLOR_CALCOLOR = 4,
  OBJECTCALCOLOR_CALCOLORERR = 5,
  OBJECTCALCOLOR_CALIBMODNUM = 6,
  OBJECTCALCOLOR_DATARELEASE = 7,
} ObjectCalColor;

#endif