NRAO Home > CASA > CASA Toolkit Reference Manual
msmetadata.nobservations - Function

1.3.2 Get the number of observations associated with the MS from the OBSERVATIONS table.


Description

Get the number of observations associated with the MS from the OBSERVATIONS table.

Arguments





Returns
int

Example

 
    msmd.open("my.ms")  
    number_of_obs_ids = msmd.nobservations()  
    msmd.done()  

__________________________________________________________________


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