#1419 closed defect (fixed)
Difficult (impossible?) to relate expID to mysql database
| Reported by: | morganson | Owned by: | eugene |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | DVO | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | bills |
Description
A lot of image information seems to only be available via the mysql database (as opposed to dvo via imextract). This is probably a bug in and of itself. But in the short run, it would be good if there were an easy way to relate a detection (via mextract or even via imextract) to an image in the mysql database.
expid (from mextract) does not appear to be in the mysql database
externid (from imextract) does not appear to be in the mysql database (it is not expid, camid or chipid)
"NAME ' / name of original image'" exists in Images.dat, but is not accesible via imextract (at least not as 'NAME' or any other documented field)
Please make 'NAME' or some other reference to the exposure in the mysql database accessible via imextract (alternately, update imextract --help fields to include whatever NAME is called).
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Component: | misc → DVO |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
I've added externID to the list of fields supported by mextract.
Since mextract doesn't support extracting strings returning the name isn't
easily implemented.
comment:3 by , 16 years ago
| Cc: | added |
|---|

Certainly not impossible. Arguably not difficult. Clearly obscure, and to my knowledge undocumented.
Given the imageiD for a measurement, get the externID.
This can be passed to chiptool to get the information about the chip processing
Given the exp_name or exp_id one can use regtool -processedexp to get all of the information about the raw exposure that is stored in the database.
Note that imageID values only refer to the current CATDIR while
externID == chip_imfile_id is a unique value for the chipRun.
Note also that chip_imfile_id may be used in postage stamp requests to
select the image of interest
Arguably we should make image->externID and image->name selectable by mextract.
I will leave this ticket open for that request for enhancement.