[daip] [!9071]: AIPS - IMAGR, outclass settable?
Robert Gray
noreply at nrao.edu
Mon Oct 3 12:09:41 EDT 2016
Robert Gray updated #9071
-------------------------
IMAGR, outclass settable?
-------------------------
Ticket ID: 9071
URL: https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/9071
Full Name: Robert Gray
Email: roberthansengray at gmail.com
Creator: User
Department: AIPS Data Reduction
Staff (Owner): -- Unassigned --
Type: Issue
Status: Open
Priority: Default
SLA: NRAO E2E
Template Group: Default
Created: 03 October 2016 04:09 PM
Updated: 03 October 2016 04:09 PM
Due: 05 October 2016 04:09 PM (2d 0h 0m)
Resolution Due: 11 October 2016 04:09 PM (8d 0h 0m)
Hi!
I have a question that might boil down to “how can I specify ‘outclass’ in IMAGR?” That task does not seem to let users assign values, according to the Cookbook and tests.
The reason I’m thinking along those lines is that I wish to run IMAGR and then SAD repeatedly on successive time ranges - maybe hundreds - so two things need to happen:
1. SAD records some identifier for each time range it processes, so that a single output text file of ‘features’ can store the results from executions on many image cubes for many time ranges. I liked the idea of something like below, but ‘outclass’ does not seem to be user settable in IMAGR to create this sort of file ID, which SAD would include in its printed output:
VGR1.123001.1 ‘class’ identifies starting timerange 12:30:01
VGR1.123006.1 ‘class’ identifies starting timerange 12:30:06
...
2. Each image cube gets deleted once processed by SAD, so the procedure does not generate many unneeded images cubes and fill the disk and die.
The method of letting ‘seq’ numbers increment as below works in tests, but it does not let me encode the timerange in the file name so SAD will store it, and it generates too many unneeded image cubes.
VGR1.ICL001.1
VGR1.ICL001.2
...
Can you suggest a good way to deal with this situation? I can imagine using RENAME to change the IMAGR output filename from VGR1.ICL001.1 to something like VGR1.123001.1 after it runs (encoding the starting time in the ‘class’ field) before running SAD, so SAD reports a name including the starting timerange, then deleting that file... Then for the next timerange, IMAGR uses the same generic output name VGR1.ICL001.1 and that gets renamed to VGR1.123006.1 to encode the time before running SAD, then deleted...
Any suggestions would be much appreciated! I’m using a high-level programming language (SAS) to generate the AIPS code to later enclose in a PROC... FINISH package, so I have some flexibility.
Best wishes,
Bob Gray
------------------------------------------------------
Staff CP: https://help.nrao.edu/staff
More information about the Daip
mailing list