[INSTRM-1643] Add "publish" script for PFI geometry Created: 20/Jun/22  Updated: 24/Jan/24  Resolved: 08/Dec/23

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

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

Issue Links:
Blocks
is blocked by INSTRM-1644 Provide PFI XML file loader to cobra_... Done
Relates
relates to INSTRM-1594 Arrange for ALL/ALL.xml link or file Done
Sprint: 2DDRP-2023 A, Eng13Oct

 Description   

We need a script to handle all parts of publishing a new PFI geometry. Specifically:

Given a human curated XML $file (perhaps in pfs_instdata/data/pfi/modules/ALL/), we want to:

  • git add $file
  • ln -s $file ALL.xml
  • git ci $file ALL.xml -m "meaningful new geometry comment"
  • load geometry to cobra_geometry and cobra_geometry_calib_id tables [other ticket]

I propose adding a script to ics_obs_scripts.



 Comments   
Comment by hassan [ 08/Jul/22 ]

The human-curated XML file should ideally be validated in advance of 'publication'.

Comment by yuki.moritani [ 21/Sep/23 ]

(For recording) Chi-Hung will test it after updating xml file (INSTRM-1847 and INSTRM-2092)

Comment by yuki.moritani [ 30/Nov/23 ]

(For recording) The script will take care of updating opdb too.

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