Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods for creating a default MS #72

Merged
merged 10 commits into from
May 31, 2017

Commits on Jan 31, 2017

  1. Add methods for creating a default MS

    Added two methods for creating canonical MeasurementSets
    - pyrap.tables.default_ms(name, table_description)
    - pyrap.tables.msutils.required_ms_desc(table)
    sjperkins committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    00af202 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2017

  1. Also allow MS subtable creation.

    default_ms_subtable("ANTENNA") will create an ANTENNA subtable, for
    example. Additional table descriptions can be added by calling
    default_ms_subtable("ANTENNA", {...}) for example.
    sjperkins committed Feb 1, 2017
    Configuration menu
    Copy the full SHA
    468a124 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2017

  1. Strip out entry hypercolumn lists in getdesc

    Empty HCcoordnames and HCidnames list aren't accepted by casacore, strip
    them out of hypercolumn definitions so that the table description can be
    reused when creating a table.
    sjperkins committed Feb 2, 2017
    Configuration menu
    Copy the full SHA
    c66df02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f99e51 View commit details
    Browse the repository at this point in the history
  3. Create default data manager info dictionaries

    makedminfo infers the basic data manager outline from a tabledesc and
    allows the user to supply SPEC dictionary entries for a Data Manager
    group. In practice, this allows the user to set the following on Tiled
    Storage Managers
    
    - DEFAULTTILESIZE
    - MAXIMUMCACHESIZE
    
    where DEFAULTTILESIZE is likely most useful.
    sjperkins committed Feb 2, 2017
    Configuration menu
    Copy the full SHA
    4e36b30 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2017

  1. Configuration menu
    Copy the full SHA
    2232189 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea87a74 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2017

  1. Change formatting

    sjperkins committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    847783c View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2017

  1. Configuration menu
    Copy the full SHA
    7378080 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2017

  1. Remove CATEGORY keyword from FLAG_CATEGORY column

    Remove the keyword from the column description.
    This empty Vector<String> gets converted to a python dictionary as
    'FLAG_CATEGORY' : {
         ...
         keywords': {'CATEGORY' : []},
         ...
    }
    
    Due to the missing type information this gets converted
    into something like Vector<int> when passed back to the C++
    layer, which results in Table Conformance errors.
    This is a reasonable solution since the C++ layer always adds
    this keyword if it is missing from the MS (see addCat())
    sjperkins committed May 18, 2017
    Configuration menu
    Copy the full SHA
    213d733 View commit details
    Browse the repository at this point in the history