NRAO Home > CASA > CASA Toolkit Reference Manual
ms.iswritable - Function

1.3.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  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright 2016 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