nraonrao
 
NRAO Home > CASA > CasaRef
ms.iswritable - Function

1.2.1 Returns True is the underlying Table is writable
Description

This function returns True if the underlying MeasurementSet Table was opened for writing/update.

Arguments





Returns
bool

Example

      ms.open(’3C273XC1.MS’,nomodify=False)  
      if ms.iswritable():  
        print "MeasurementSet is writable"  
      else:  
        print "MeasurementSet is readonly"  
      #MeasurementSet is writable  
    

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search

Updated daily during alpha development.