This page will hold our notes from implementing first fringes on an OUS level ALMA restore, as tracked in JIRA:

.

In addition, for familiarization purposes, we should upgrade our current ACS installation:

.


Test Data Set Details:

    Project 2017.1.00886.L

    MOUS ID: uid://A001/X1284/X265f

    made up of four ASDM EBs: uid://A002/Xc7111c/X3979,
    uid://A002/Xc7111c/X409e, uid://A002/Xc7111c/X86a7, uid://A002/Xc72427/X2dfe

        

        All these were processed recently, so have the calibration
        products stored separately (note though the data are still
        proprietary, so should not be shown too widely).

Adding the almapipe group to our accounts might make life easier (particularly for look-but-don't-touch access into the working areas).

Other Test Sets:

PPR Examples:

Kana was kind enough to provide a few example PPRs that perform multi-eb processing:

I'm just starting in on understanding these, and comparing them with the PPRs for CIPL and Vlass quicklook imaging.

XML Schema Home:

ALMA xml schemas live in the the Alma Common Software area, and each successive component adds to that compilation.  It's in ${ACS_ROOT}/${ACS_VERSION}/ACSSW/idl/ (A concrete example in CV: /home/acs/ACS-2018JUN/ACSSW/idl/ )  The most likely schema of interest are:

Software Details:

For our test data set, we want to be using CASA/pipeline version 5.1.1-5r40896.  This is the ALMA-approved version of CASA for Cycle 5. See: https://almascience.nrao.edu/processing/science-pipeline

The new functionality for the ALMA Common Software (ACS) is built into the asdmExportLight command through a new option.  This hopefully will make it fairly easy (once we understand the Project & Database structures) to retrieve the desired calibration information.  One wrinkle, however, is that ACS is an overloaded acronym.  There is the 'base package' of ACS, and extensions to it.  Further investigation has revealed that we will need the Archive extension at minimum, and likely will want the Pipeline & ICD components as well. 

The pipelineMakeRequest tool will be useful for the creation of comparison scripts for our more extended PPR generation software.  It is ALMA focused, and builds the entire directory structure (including data download, if requested), complete with OUS Status files for each level. 

The NAASC keeps a set of ACS installations for their purposes in /home/acs.  Unfortunately, this area doesn't include the ACS-2018JUN release of the software with a fixed version of calibration retrieval.  I'll perform a test installation of an updated Enhanced-ACS in /home/alderaan_2/ for initial verification & prototyping.  

SSA may also need to update the version of ACSSW in /home/ssa/ACS, as we are currently using a version tagged for Cycle 3.  After the initial verification, the /home/ssa/ACS area can be updated with an updated version to support the restore functionality. 

There's a tool which will provide information about projects & what's happening with what, so you can confirm what you suspect.  ProjectTracker, but you need 'staff' privilages and that makes things dangerous (you CAN alter the state or start a processing run, for instance).  Currently James SheckardRick Lively [X], and Stephan Witz have privilages if you need to dig into what's going on with an alma project.


ALMA Archive Questions:

We need to generally understand the layout of their archive, and how things interlink.  But if we come up with specific questions as well, record them.


ALMA Metadata Database Linkages:


WARNING:  The identifiers are not constently used.  The same MOUS ID (as given above) is referenced as a MOUS_ID, STATUS_ENTITY_ID, and ASA_OUS_ID in various tables.  I'll try to be more explicit on which columns link to each other below: . 



Tasks:

Relevant Links:

  1. Restore Methodologies:
    1. CIPL Restore Instructions
    2. ALMA Restores follow this pattern:
      1. Download products via the RH
      2. Download raw data via the RH or asdmExportLight
      3. Arrange directories appropriately
        1. raw: subdirectories for each ASDM
        2. calibration: *caltables.tgz files
        3. script: python control scripts, handling the details.  Includes the overall scriptForPI.py.
        4. Creates: calibrated directory with a CMS.
      4. Open the appropriate version of CASA (see link under Software Details above)
      5. execfile('scriptForPI.py')
      6. Caveats:
        1. For pipeline calibrated data, the CASA version is more flexible (later ones can be used)
        2. For hand-calibrated data (10-20%) the CASA version match is a must.
          1. hand calibrated data don't 'restore' so much as re-run the entire calibration (thus it's more sensitive to CASA changes).
        3. There's also a question of parallel vs single-processor CASA measurement set differences. 
  2. Comparing Measurement Sets (Rough Draft)
  3. Base ACS homepage.
    1. Suggested Version: 2018Jun
    2. Download Location: here (requires login)
  4. Other ACS component homes?
    1. ARCHIVE
    2. PIPELINE
    3. ICD
    4. Others unlikely to be relevant