[PIPE2D-715] Remove updates to raw_visit table from ingestPfsImages.py Created: 14/Feb/21  Updated: 25/Mar/22  Resolved: 17/Feb/21

Status: Done
Project: DRP 2-D Pipeline
Component/s: obs_pfs
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: price
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PIPE2D-1011 Remove os.chmod() from RegistryContex... Open
relates to PIPE2D-723 Don't ingest into temporary registry Done
relates to PIPE2D-710 Remove references to CALIB *_visit ta... Done
relates to INSTRM-1180 ingest using shell call to ingestPfsI... Done
Story Points: 2
Sprint: 2DDRP-2021 A 2
Reviewers: hassan

 Description   

The updates to the raw_visit table from https://github.com/Subaru-PFS/obs_pfs/blob/f5afc9a2ce2d39dfdf8b68f36a63a634b9677050/python/lsst/obs/pfs/ingest.py#L359 slow down ingests enough to affect operations.

Since PIPE2D-710 has removed any usage of the table, can we can stop updating it?



 Comments   
Comment by cloomis [ 15/Feb/21 ]

https://github.com/lsst/obs_base/blob/master/python/lsst/obs/base/cameraMapper.py uses raw_visit to fetch the defects. When that lookup fails with a RuntimeError, detrend currently fails.

Comment by price [ 17/Feb/21 ]

I combined this with PIPE2D-723 in the interests of time (I was working in the same space), as this is wanted for tonight's operations.

Comment by price [ 17/Feb/21 ]

Merged to master.

Generated at Sat Feb 10 15:56:50 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.