Changeset 37209
- Timestamp:
- Aug 9, 2014, 2:32:59 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES
- Files:
-
- 3 added
- 9 edited
-
Fundamental_IPP_Data_Product_Tables/Detection.txt (modified) (1 diff)
-
Fundamental_IPP_Data_Product_Tables/StackModelFitDeV.txt (modified) (1 diff)
-
Fundamental_IPP_Data_Product_Tables/StackModelFitExp.txt (modified) (1 diff)
-
Fundamental_IPP_Data_Product_Tables/StackModelFitSer.txt (modified) (1 diff)
-
Fundamental_IPP_Data_Product_Tables/StackObjectThin.txt (modified) (1 diff)
-
Fundamental_IPP_Data_Product_Tables/schema18.notes.txt (added)
-
MetaData_Tables/FrameMeta (modified) (1 diff)
-
MetaData_Tables/FrameMeta.txt (added)
-
MetaData_Tables/ImageMeta (modified) (1 diff)
-
MetaData_Tables/ImageMeta.txt (added)
-
MetaData_Tables/StackMeta (modified) (1 diff)
-
MetaData_Tables/StackMeta.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/Detection.txt
r37127 r37209 1 objID = dvo / addstar 2 gcObjID = dvo / addstar [EAM: DROP?] 3 detectID = dvo / addstar 4 ippObjID = dvo / addstar 5 ippDetectID = dvo / addstar 6 filterID = smf / ipptopsps 7 surveyID = ipptopsps 8 imageID = smf header 9 randomDetID = ipptopsps 10 dvoRegionID = dvo / catID [EAM: add to dvopsps] 11 obsTime = smf 12 xPos = smf 13 yPos = smf 14 xPosErr = smf [EAM: modify errors to match relastro?] 15 yPosErr = smf 16 pltScale = smf 17 posAngle = smf 18 ----------------= 19 ra = dvo / relastro 20 dec = dvo / relastro 21 raErr = dvo / relastro 22 decErr = dvo / relastro 23 zp = dvo / relphot 24 telluricExt = zp - zpNominal (dvopsps) [EAM: add to dvopsps] 25 expTime = smf 26 airMass = smf 27 ----------------= 28 psfFlux = smf [OK: ipptopsps uses PSF_FLUX] 29 psfFluxErr = smf 30 psfMajorFWHM = smf [PSF_MAJOR is Sxx parameter, NOT FWHM] [EAM: add PSF_FWHM_MAJ to smf, keep PSF_MAJOR] 31 psfMinorFWHM = smf [PSF_MINOR is Sxx parameter, NOT FWHM] [EAM: add PSF_FWHM_MIN to smf, keep PSF_MINOR] 32 psfTheta = smf 33 psfCore = smf [EAM: add PSF_CORE to smf] 34 psfQf = smf 35 psfQfPerfect = smf 36 psfChiSq = smf 37 psfLikelihood = ipptopsps 38 momentXX = smf 39 momentXY = smf 40 momentYY = smf 41 momentR1 = smf 42 momentRH = smf [XXX : MOMENTS_RH is NOT half-light radius : keep as MOMENTS_RH or calculate?] 43 momentM3C = smf 44 momentM3S = smf 45 momentM4C = smf 46 momentM4S = smf 47 apFlux = smf [requires PS1_V4] 48 apFluxErr = smf [requires PS1_V4] 49 apFillF = smf [EAM: add to pmSource and smf] 50 kronFlux = smf 51 kronFluxErr = smf 52 kronRad = (2.5*R1) : Ken : drop this or MOMENTS_R1? 53 kronRadErr = [not calculated] : drop this 54 sky = smf 55 skyErr = smf 56 infoFlag = smf 57 infoFlag2 = smf 58 dataRelease = ippToPsps 1 objID + dvo = average.extID [calculated in addstar] 2 detectID + dvo = measure.extID [calculated in addstar] 3 ippObjID + dvo = average.objID + (average.catID << 32) [NOTE: this is a change in definition] 4 ippDetectID + smf:IPP_IDET 5 filterID + ipptopsps : internal, lookup from filter (grizy) 6 surveyID + ipptopsps : internal, from survey name 7 imageID - ipptopsps : expID x y (*** is this right???) (smf:IMAGEID / gpc1.chipRun.chip_image_id)_ 8 randomDetID + ipptopsps : RANDOM from sql 9 dvoRegionID - dvo / catID [EAM: add to dvopsps] 10 obsTime - smf:MJD-OBS + 0.5 EXPTIME / 84600 11 xPos + smf:X_PSF 12 yPos + smf:Y_PSF 13 xPosErr + smf:X_PSF_SIG 14 yPosErr + smf:Y_PSF_SIG 15 pltScale + smf:PLTSCALE (negative -> sky parity) 16 posAngle + smf:POSANGLE 17 --------------- 18 ra = dvo:measure.ra 19 dec = dvo:measure.dec 20 raErr = smf:X_PSF_SIG * abs(PLTSCALE) 21 decErr = smf:Y_PSF_SIG * abs(PLTSCALE) 22 zp = dvo / dvopsps : zp 23 telluricExt = dvo / dvopsps : zp - zpNominal (dvopsps) 24 expTime = dvo:measure.dt [converted to seconds] 25 airMass = dvo:measure.airmass 26 --------------- 27 psfFlux = smf:PSF_INST_FLUX / EXPTIME 28 psfFluxErr = smf:PSF_INST_FLUX_SIG / EXPTIME 29 psfMajorFWHM = smf:PSF_FWHM_MAJ 30 psfMinorFWHM = smf:PSF_FWHM_MIN 31 psfTheta = smf:PSF_THETA 32 psfCore = smf:PSF_CORE 33 psfQf = smf:PSF_QF 34 psfQfPerfect = smf:PSF_QF_PERFECT 35 psfChiSq = smf:PSF_CHISQ 36 psfLikelihood = smf:psfLikelihood(EXT_NSIGMA) 37 momentXX = smf:MOMENTS_XX 38 momentXY = smf:MOMENTS_XY 39 momentYY = smf:MOMENTS_YY 40 momentR1 = smf:MOMENTS_R1 41 momentRH = smf:MOMENTS_RH 42 momentM3C = smf:MOMENTS_M3C 43 momentM3S = smf:MOMENTS_M3S 44 momentM4C = smf:MOMENTS_M4C 45 momentM4S = smf:MOMENTS_M4S 46 apFlux = smf:AP_FLUX 47 apFluxErr = smf:AP_FLUX_SIG 48 apFillF = smf:AP_NPIX / (pi * (AP_MAG_RADIUS - 0.5)^2) 49 kronFlux = smf:KRON_FLUX 50 kronFluxErr = smf:KRON_FLUX_ERR 51 kronRad = smf:2.5*MOMENTS_R1 52 sky = smf:SKY / exptime 53 skyErr = smf:SKY_SIGMA / exptime 54 infoFlag = smf:FLAGS 55 infoFlag2 = smf:FLAGS2 | (dvo.measure.flags << 13) 56 dataRelease = ippToPsps : user input (skychunk.dataRelease) -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackModelFitDeV.txt
r37199 r37209 16 16 gDeVMag + cmf : EXT_INST_MAG + 2.5log(exptime) + dvo.zp 17 17 gDeVMagErr + cmf : EXT_INST_MAG_SIG ** seems kind of small in CMF 18 gDeVAb -cmf : EXT_WIDTH_MAJ/EXT_WIDTH_MIN ** should this be Minor / Major?18 gDeVAb + cmf : EXT_WIDTH_MAJ/EXT_WIDTH_MIN ** should this be Minor / Major? 19 19 gDeVAbErr - cmf : EXT_WIDTH_MIN_ERR 20 20 gDeVPhi + cmf : EXT_THETA -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackModelFitExp.txt
r37199 r37209 16 16 gExpMag + cmf : EXT_INST_MAG + 2.5log(exptime) + dvo.zp 17 17 gExpMagErr + cmf : EXT_INST_MAG_SIG ** seems kind of small in CMF 18 gExpAb -cmf : EXT_WIDTH_MIN/EXT_WIDTH_MAJ18 gExpAb + cmf : EXT_WIDTH_MIN/EXT_WIDTH_MAJ 19 19 gExpAbErr - cmf : EXT_WIDTH_MIN_ERR 20 20 gExpPhi + cmf : EXT_THETA ** in radians, not degrees (fixed, check) -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackModelFitSer.txt
r37199 r37209 19 19 gSerAbErr - cmf : EXT_WIDTH_MIN_ERR 20 20 gSerNu + cmf : EXT_PAR_07 21 gSer PhiErr +cmf : 0.1 ** NOTE this is hard-wired21 gSerNuErr - cmf : 0.1 ** NOTE this is hard-wired 22 22 gSerPhi - cmf : EXT_THETA ** in radians, not degrees 23 23 gSerPhiErr - cmf : EXT_THETA_ERR -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackObjectThin.txt
r37199 r37209 9 9 skycellID + smf : parse SKYCELL (skycell.NNN or skycell.MMMM.NNN) 10 10 randomStackObjID + ipptopsps (RANDOM on sql into mysql) 11 stackDetectRowID *set by PSPS11 stackDetectRowID - set by PSPS 12 12 primaryDetection - dvo * NOT YET TESTED 13 13 bestDetection - dvo * THIS CANNOT BE SET UNTIL LATER (after PV3 initial ingest to psps) -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/FrameMeta
r37000 r37209 1 frameID dimensionless INT 4 NAunique exposure/frame identifier.2 frameName dimensionless VARCHAR(32) 32 NAframe name provided by camera software3 surveyID dimensionless TINYINT 1 NAsurvey flag identifier4 filterID dimensionless TINYINT 1 NAfilter identifier5 cameraID dimensionless SMALLINT 2 NAcamera identifier6 cameraConfigID dimensionless SMALLINT 2 NAcamera configuration identifier7 telescopeID dimensionless SMALLINT 2 NAtelescope identifier8 analysisVer alphanumeric VARCHAR(MAX) 8000IPP software analysis release9 p1Recip alphanumeric VARCHAR(MAX) 8000IPP phase 1 MD5 Checksum10 p2Recip alphanumeric VARCHAR(MAX) 8000IPP phase 2 MD5 Checksum11 p3Recip alphanumeric VARCHAR(MAX) 8000IPP phase 3 MD5 Checksum12 nOTA alphanumeric SMALLINT 2 -999number of valid OTA/CCD images in this exposure13 photoScat magnitude REAL 4 -999global photometric scatter14 numPhotoRef dimensionless INT 4 -999number of photometric reference sources15 expStart days FLOAT 8 -999exposure start time in MJD16 expTime seconds REAL 4 -999exposure time17 airmass dimensionless REAL 4 -999airmass at mid-exposure18 raBore degrees FLOAT 8 -999RA of telescope boresight19 decBore degrees FLOAT 8 -999DEC of telescope boresight20 ctype1 alphanumeric VARCHAR(MAX) 8000name of astrometric projection in RA21 ctype2 VARCHAR(MAX) 8000name of astrometric projection in DEC22 crval1 degrees FLOAT 8 -999RA corresponding to reference pixel23 crval2 degrees FLOAT 8 -999DEC corresponding to reference pixel24 crpix1 pc001001 FLOAT 8 -999reference pixel value for RA25 crpix2 dimensionless FLOAT 8 -999reference pixel value for DEC26 cdelt1 degrees/pixel FLOAT 8 -999scale factor for RA27 cdelt2 degrees/pixel FLOAT 8 -999scale factor for DEC28 pc001001 dimensionless FLOAT 8 -999elements of rotation/Dcale matrix29 pc001002 dimensionless FLOAT 8 -999elements of rotation/Dcale matrix30 pc002001 dimensionless FLOAT 8 -999elements of rotation/Dcale matrix31 pc002002 dimensionless FLOAT 8 -999elements of rotation/Dcale matrix32 polyOrder dimensionless TINYINT 1 255polynomial order of astrometry fit33 pca1x3y0 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit34 pca1x2y1 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit35 pca1x1y2 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit36 pca1x0y3 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit37 pca1x2y0 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit38 pca1x1y1 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit39 pca1x0y2 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit40 pca2x3y0 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit41 pca2x2y1 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit42 pca2x1y2 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit43 pca2x0y3 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit44 pca2x2y0 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit45 pca2x1y1 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit46 pca2x0y2 dimensionless FLOAT 8 -999polynomial coefficients for the astrometric fit47 calibModNum dimensionless SMALLINT 2 NAcalibration modification number48 batchID dimensionless BIGINT 8 NAbatch ID49 dataRelease dimensionless TINYINT 1 NAData release Version of this table1 frameID dimensionless INT 4 NA unique exposure/frame identifier. 2 frameName dimensionless VARCHAR(32) 32 NA frame name provided by camera software 3 surveyID dimensionless TINYINT 1 NA survey flag identifier 4 filterID dimensionless TINYINT 1 NA filter identifier 5 cameraID dimensionless SMALLINT 2 NA camera identifier 6 cameraConfigID dimensionless SMALLINT 2 NA camera configuration identifier 7 telescopeID dimensionless SMALLINT 2 NA telescope identifier 8 analysisVer alphanumeric VARCHAR(MAX) 8000 NA IPP software analysis release 9 p1Recip alphanumeric VARCHAR(MAX) 8000 NA IPP phase 1 MD5 Checksum 10 p2Recip alphanumeric VARCHAR(MAX) 8000 NA IPP phase 2 MD5 Checksum 11 p3Recip alphanumeric VARCHAR(MAX) 8000 NA IPP phase 3 MD5 Checksum 12 nOTA alphanumeric SMALLINT 2 -999 number of valid OTA/CCD images in this exposure 13 photoScat magnitude REAL 4 -999 global photometric scatter 14 numPhotoRef dimensionless INT 4 -999 number of photometric reference sources 15 expStart days FLOAT 8 -999 exposure start time in MJD 16 expTime seconds REAL 4 -999 exposure time 17 airmass dimensionless REAL 4 -999 airmass at mid-exposure 18 raBore degrees FLOAT 8 -999 RA of telescope boresight 19 decBore degrees FLOAT 8 -999 DEC of telescope boresight 20 ctype1 alphanumeric VARCHAR(MAX) 8000 NA name of astrometric projection in RA 21 ctype2 alphanumeric VARCHAR(MAX) 8000 NA name of astrometric projection in DEC 22 crval1 degrees FLOAT 8 -999 RA corresponding to reference pixel 23 crval2 degrees FLOAT 8 -999 DEC corresponding to reference pixel 24 crpix1 dimensionless FLOAT 8 -999 reference pixel value for RA 25 crpix2 dimensionless FLOAT 8 -999 reference pixel value for DEC 26 cdelt1 degrees/pixel FLOAT 8 -999 scale factor for RA 27 cdelt2 degrees/pixel FLOAT 8 -999 scale factor for DEC 28 pc001001 dimensionless FLOAT 8 -999 elements of rotation/Dcale matrix 29 pc001002 dimensionless FLOAT 8 -999 elements of rotation/Dcale matrix 30 pc002001 dimensionless FLOAT 8 -999 elements of rotation/Dcale matrix 31 pc002002 dimensionless FLOAT 8 -999 elements of rotation/Dcale matrix 32 polyOrder dimensionless TINYINT 1 255 polynomial order of astrometry fit 33 pca1x3y0 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 34 pca1x2y1 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 35 pca1x1y2 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 36 pca1x0y3 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 37 pca1x2y0 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 38 pca1x1y1 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 39 pca1x0y2 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 40 pca2x3y0 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 41 pca2x2y1 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 42 pca2x1y2 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 43 pca2x0y3 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 44 pca2x2y0 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 45 pca2x1y1 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 46 pca2x0y2 dimensionless FLOAT 8 -999 polynomial coefficients for the astrometric fit 47 calibModNum dimensionless SMALLINT 2 NA calibration modification number 48 batchID dimensionless BIGINT 8 NA batch ID 49 dataRelease dimensionless TINYINT 1 NA Data release Version of this table -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/ImageMeta
r37000 r37209 22 22 psfWidMinor arcsec REAL 4 -999 model PSF parameters at chip center 23 23 psfTheta degrees REAL 4 -999 model PSF parameters at chip center 24 momentXX pixels REAL 4 -999 moment XX 25 momentXY pixels REAL 4 -999 moment XY 26 momentYY pixels REAL 4 -999 moment YY 27 momentM3C pixels squared REAL 4 -999 moment M3C 28 momentM3S pixels squared REAL 4 -999 moment M3S 29 momentM4C pixels squared REAL 4 -999 moment M4C 30 momentM4S pixels squared REAL 4 -999 moment M4S 31 momentR1 pixels REAL 4 -999 moment R1 32 momentRH sqrt pixels REAL 4 -999 moment RH 33 apResid magnitide REAL 4 -999 corrected aperture residual 34 dapResid magnitide REAL 4 -999 scatter of aperture corrections 24 momentMajor pixels REAL 4 -999 momentMajor 25 momentMinor pixels REAL 4 -999 momentMinor 26 momentM2C pixels squared REAL 4 -999 momentM2C 27 momentM2S pixels squared REAL 4 -999 momentM2S 28 momentM3 pixels squared REAL 4 -999 momentM3 29 momentM4 pixels squared REAL 4 -999 momentM4 30 apResid magnitude REAL 4 -999 corrected aperture residual 31 dapResid magnitude REAL 4 -999 scatter of aperture corrections 35 32 detectorID alphanumeric VARCHAR(32) 32 identifier for actual CCD chip 36 33 qaFlags dimensionless BIGINT 8 -999 Q/A flags for this OTA -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/StackMeta
r37182 r37209 2 2 batchID dimensionless BIGINT 8 NA batch identifier 3 3 surveyID dimensionless TINYINT 1 NA survey flag identifier 4 filterID dimensionless TINYINT 1 NA f nilutemr eidriecnatl ifidier4 filterID dimensionless TINYINT 1 NA filter number identifier 5 5 stackTypeID dimensionless TINYINT 1 0 stack type identifier 6 6 tessID dimensionless TINYINT 1 -1 ID mapping to tessellation names (eg, RINGS.V3, MD01.V3, etc) -
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/StackMeta.txt
r37182 r37209 2 2 batchID | ipptopsps : internal 3 3 surveyID | ipptopsps : internal, from survey name 4 filterID | ipptopsps : internal, lookup from filter (griz )4 filterID | ipptopsps : internal, lookup from filter (grizy) 5 5 stackTypeID | ipptopsps : internal, *** hard-wired name *** 6 6 tessID | smf : TESS_ID (table mapping)
Note:
See TracChangeset
for help on using the changeset viewer.
