objID           + dvo = average.extID [calculated in addstar]
detectID        + dvo = measure.extID [calculated in addstar]
ippObjID        + dvo = average.objID + (average.catID << 32) [NOTE: this is a change in definition]
ippDetectID     + smf:IPP_IDET
filterID        + ipptopsps : internal, lookup from filter (grizy)
surveyID        + ipptopsps : internal, from survey name
imageID         - ipptopsps : expID x y (*** is this right???) (smf:IMAGEID / gpc1.chipRun.chip_image_id)_
randomDetID     + ipptopsps : RANDOM from sql
dvoRegionID     - dvo:average.catID
obsTime         - smf:MJD-OBS + 0.5 EXPTIME / 84600
xPos            + smf:X_PSF 
yPos            + smf:Y_PSF
xPosErr         + smf:X_PSF_SIG
yPosErr         + smf:Y_PSF_SIG
pltScale        + smf:PLTSCALE (negative -> sky parity)
posAngle        + smf:POSANGLE
---------------
ra              = dvo:measure.ra
dec             = dvo:measure.dec
raErr           = smf:X_PSF_SIG * abs(PLTSCALE)
decErr          = smf:Y_PSF_SIG * abs(PLTSCALE)
zp              = dvo / dvopsps : zp
telluricExt     = dvo / dvopsps : zp - zpNominal (dvopsps)
expTime         = dvo:measure.dt [converted to seconds]
airMass         = dvo:measure.airmass
---------------
psfFlux         = smf:PSF_INST_FLUX / EXPTIME
psfFluxErr      = smf:PSF_INST_FLUX_SIG / EXPTIME
psfMajorFWHM    = smf:PSF_FWHM_MAJ
psfMinorFWHM    = smf:PSF_FWHM_MIN
psfTheta        = smf:PSF_THETA
psfCore         = smf:PSF_CORE
psfQf           = smf:PSF_QF
psfQfPerfect    = smf:PSF_QF_PERFECT
psfChiSq        = smf:PSF_CHISQ
psfLikelihood   = smf:psfLikelihood(EXT_NSIGMA)
momentXX        = smf:MOMENTS_XX
momentXY        = smf:MOMENTS_XY
momentYY        = smf:MOMENTS_YY
momentR1        = smf:MOMENTS_R1
momentRH        = smf:MOMENTS_RH
momentM3C       = smf:MOMENTS_M3C
momentM3S       = smf:MOMENTS_M3S
momentM4C       = smf:MOMENTS_M4C
momentM4S       = smf:MOMENTS_M4S
apFlux          = smf:AP_FLUX
apFluxErr       = smf:AP_FLUX_SIG
apFillF         = smf:AP_NPIX / (pi * (AP_MAG_RADIUS - 0.5)^2)
kronFlux        = smf:KRON_FLUX
kronFluxErr     = smf:KRON_FLUX_ERR
kronRad         = smf:2.5*MOMENTS_R1
sky             = smf:SKY / exptime
skyErr          = smf:SKY_SIGMA / exptime
infoFlag        = smf:FLAGS
infoFlag2       = smf:FLAGS2 | (dvo.measure.flags << 13)
dataRelease     = ippToPsps : user input (skychunk.dataRelease)
