[DAMD-2] AG image output to archive Created: 02/Jun/16 Updated: 06/Jan/23 |
|
| Status: | In Progress |
| Project: | Data Model |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | shimono | Assignee: | cloomis |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | EngRun, FITS, PFI | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Story Points: | 4 | ||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | PreEngRun4, PreEngRun05 F | ||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
In definition of the current datamodel, AG is assigned name as So, we may have options:
Combining constraint originally described in |
| Comments |
| Comment by Anonymous [ 02/Jun/16 ] |
|
I do not see the corresponding git branch DAMD-2 — did you forget to push it? It is not possible to understand this proposal until the details are added to datamodel.txt (note that no implementation is required until this issue is accepted) (RHL) |
| Comment by rhl [ 04/Sep/16 ] |
|
After some discussion by email and on the software fuze con the conclusion was that we should maintain the PFSD AG images, but make them multi-extension fits files with one extension for each guide exposure. Philip Tait confirms that Subaru is able to handle MEFs (e.g. FMOS and MOIRCS). Because we are using windowed reads we'll write NaNs into the un-read pixels and compress the files; that way the format will be the same for all exposures, although the number of extensions will vary with the exposure time. |
| Comment by shimono [ 08/Oct/16 ] |
|
I think current plan is not to use windowed reads on AG cameras, but just use windowed region for calculation of object statistics. We are possible to mark outside of that windowed region as NaNs for archived data, of course. Also we may use multiple AG cameras, and need FITS files in MEF with multi HDU, right? One another item. While writing document on AG communication and data output rate now, I noticed that we need to have a plan on this FITS file for exposure sequence with different exposure time per arm, like 15min red/IR and 7.5min blue. We could have only one FITS file over entire exposure sequence. In any case, we need to have some lines in this datamodel definition. |
| Comment by rhl [ 21/Nov/16 ] |
|
The data model proposes:
I thought about making one large image, and decided that it wasn't worth while for two reasons:
|
| Comment by hassan [ 19/Mar/19 ] |
|
Assigned issue to @rhl (as he was the last person to commit changes to branch) |
| Comment by hassan [ 08/Aug/20 ] |
|
Adding comment originally provided by naoyuki.tamura to At the telecon dedicated to AG on June 23/24 2020 ( https://sumire.pbworks.com/w/page/140496828/WG%204%20(AG)%20telecon%20on%2023-24%20June%202020 ), eric suggested and we agreed on implementing multiple HDUs to pack as many exposures as we can, rather than limiting them below 100 where somebody might have to decide a selection of 100 exposures. |
| Comment by hassan [ 08/Aug/20 ] |
|
Adding comment originally provided by cloomis to Those will get pretty unwieldy, but that may be fine if they are only used for archiving and SMOKA/STARS are happy. 6 HDUs per AG exposure, so at 10s/exposure 540 HDUs for 15 minutes? If we agree that these are only for archiving I think this is fine. |
| Comment by eric [ 14/Aug/20 ] |
|
We need to get the downstream archive/Subaru FITS people to comment here, but I think MEFs should not cause any great concern so long as the headers are properly addressed, which seems to be the usual bugaboo. From a file-handling standpoint on the Hilo side we would prefer larger files vs. bunches of smaller files. Presumably these are used for engineering and possibly science/pipeline processing? And transferred at the end of an exposure? |
| Comment by Hisanori Furusawa [ 28/Oct/20 ] |
|
Do you want to have a single FITS file containing all 6 AG detectors as in different HDUs mixing series of AG exposure? Is is worth considering to have 6 separate FITS files for each detector? I need to learn the discussion in DAMD-29, too, to understand correctly how we are going to deal with VGW images as well as this PFSD stuff and their relationship in operation. |
| Comment by eric [ 30/Oct/20 ] |
|
I don't understand why DAMD-29 was closed. We need answers on this.
|
| Comment by naoyuki.tamura [ 07/Dec/20 ] |
|
eric Could you be specific about remaining issues to be addressed on DAMD-29? If you are concerned about implementation details, then yes we agree we should address them but we think we should do so by filing new INSTRM ticket(s) separately. If you think the data model/structure in question itself is still premature even to try going ahead to implementations a little further, could you please write down what specifics we should address, then perhaps new DAMD ticket(s) should be filed accordingly for proposals of solutions and discussions. |
| Comment by eric [ 18/Dec/20 ] |
|
Sorry, but I think I missed the (verbal?) discussion where this ticket was decided to be closed. And perhaps I don't understand the scope of the ticket–I thought it should at least contain some responses to my and Furusawa-san's questions above? For this particular ticket, are you still planning to generate PFS "D" frames? If so, what is the format?
|
| Comment by Hisanori Furusawa [ 18/Dec/20 ] |
|
And, I don't think we know the exact format and contents of VGW images, yet. As eric commented, whether we will attach all necessary meta information for assessing observing conditions into them (as an extension table), or keeping as simple with VGW and give complete info to PFSD? I thought DAMD-29 was a good place to address this question, but if not, we may want to file a new issue. Also, we want to know the relationship between VGW and PFSD if we generate both - what roles do we expect for each of them? |
| Comment by cloomis [ 26/Aug/21 ] |
|
DAMD-2 and DAMD-29 are indeed interrelated, and DAMD-29 has been revived for final discussion and implementation. I would like to restate the goals of the two files, and to propose more of the details for the DAMD-2 PFSD files. If no
The agccActor acquires raw images from the six guide cameras. I suggest that it write two files for each exposure:
As far as headers go, the PFSD PHDU will hold the same gen2 cards as all the other systems, plus a few agcc-specific W_ cards (camera temperatures, serial numbers, etc). The six image HDUs could have pixel WCS headers, or even very very crude sky transforms, but at this point nothing is known about sky coordinates, let alone guide catalog matches or offsets. |
| Comment by cloomis [ 17/Nov/21 ] |
|
Additional note: we will always write six image HDUs per "exposure". The images for missing cameras will be 0-filled (BLANK-filled) images of the same size as the image from the first working camera. We will start with a pixel-pixel WCS. |