Changeset 1664 for trunk/src


Ignore:
Timestamp:
11/27/09 16:00:35 (15 years ago)
Author:
Malte Marquarding
Message:

Ticket #111:Allow export of Stokes I only on sdfits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STWriter.cpp

    r1663 r1664  
    300300{
    301301  String poltype = tab.keywordSet().asString("POLTYPE");
    302   if ( poltype == "stokes") {
     302// Full stokes is not supported. Just allow stokes I
     303  if ( poltype == "stokes" && tab.nrow() != 1) {
    303304    String msg = "poltype = " + poltype + " not yet supported in output.";
    304305    throw(AipsError(msg));
Note: See TracChangeset for help on using the changeset viewer.