|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
msmetadata.open - Function
1.3.2 Attach the MS metadata tool to the specified MS
Description
Attach this tool to the specified MS. This method runs a few basic MS
validation tests, and if any of these fail (which indicates that the MS is
invalid), an error occurs and the tool is not attached to the MS. Note that it is
ultimately the user’s responsibility to ensure that the MS is valid. Running the
methods of this tool on an invalid MS may result in incorrect results or even a
crash of CASA. Such invalidities include any MS subtable not having
appropriate information (eg, an OBSERVATION subtable not having enough
rows to account for all the OBSERVATION_IDs in the main table).
Arguments
Inputs |
| ||
msfile |
| Name of the existing measurement set
| |
| allowed: | string |
|
| Default: |
|
|
maxcache |
| Maximum cache size, in megabytes, to use.
| |
| allowed: | float |
|
| Default: | 50 |
|
bool
Example
msmd.open("my.ms")
# do stuff and close it
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