Changeset 20114
- Timestamp:
- Oct 13, 2008, 2:24:37 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_finish.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_finish.pl
r19761 r20114 159 159 my $exp_id = $job->{exp_id}; 160 160 161 # XXX: get the image_db from a table in the database, or maybe save it in the job162 163 # unless $exp_id is null (e.g. stack images) get the metadata for this exposure164 161 my ($row, $req_info, $project) = get_request_info($rows, $rownum); 165 my $proj_hash = resolve_project($ project);162 my $proj_hash = resolve_project($ipprc, $project, $dbname); 166 163 my $image_db = $proj_hash->{dbname}; 164 165 # get the metadata for the exposure (if any i.e. stack) 166 # returns an appropriate string if !$exp_id 167 167 my $exp_info = get_exposure_info($image_db, $exp_id); 168 168 … … 182 182 183 183 # ra_deg and dec_deg are the coordinates of center of the stamp 184 # 185 # XXX we need to get the center coordinate of the stamp. 186 # if request used -skycenter then we have it in the request info 187 184 # XXX: parse the stamp header to find it 188 185 print $tdf "0.0|0.0|"; 186 189 187 print $tdf "$exp_info|"; 190 188 print $tdf "$req_info|";
Note:
See TracChangeset
for help on using the changeset viewer.
