[INSTRM-1431] Check filepath= generation, especially for PFSC*00.fits files; drop centroids HDU Created: 05/Nov/21  Updated: 17/Nov/21  Resolved: 17/Nov/21

Status: Done
Project: Instrument control development
Component/s: ics_mcsActor
Affects Version/s: None
Fix Version/s: None

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

Story Points: 1
Sprint: PreEngRun4

 Description   

It looks like the gen2Actor is getting the filename key for the PFSC*00.fits files before the fits file is closed, and so archiving fails. In fact, the filename= key might be generated twice. Rationalize this and make sure the FITS file is closed before generating the key.

And at some point we agreed to stop appending the centroids HDU to the PFSC files. Doing that will probably help with the other issue.

 

 



 Comments   
Comment by cloomis [ 05/Nov/21 ]

Stranger than it first looked. At first glance the full/successful copy happens before the partial/unsuccessful copy. Per the vsfptd log:

Sun Sep 26 23:29:08 2021 [pid 8848] [pfs] OK DOWNLOAD: Client "::ffff:133.40.167.11", "/data/raw/2021-09-27/mcs/PFSC06898900.fits", 36492480 bytes, 98026.36Kbyte/sec
Sun Sep 26 23:29:10 2021 [pid 8851] [pfs] FAIL DOWNLOAD: Client "::ffff:133.40.167.11", "/data/raw/2021-09-27/mcs/PFSC06898900.fits", 173760 bytes, 87875.45Kbyte/sec
Comment by cloomis [ 17/Nov/21 ]

Merged at 7e4752a, tagged 1.6.1

Added an mcsFileIds key as well, which is sent as early as possible.

Generated at Sat Feb 10 16:35:25 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.