dminfo

Return to directory of Todd's CASA extensions

Prints the result of tb.getdminfo into a text file.

Usage:

au.dminfo(vis, outfile='')

Example:

CASA <2>: au.dminfo('uid___A002_X5f231a_Xfb0.ms')
Result left in text file =  uid___A002_X5f231a_Xfb0.ms.dminfo.txt
CASA <4>: !more uid___A002_X5f231a_Xfb0.ms.dminfo.txt
{'*18': {'TYPE': 'TiledShapeStMan', 'SEQNR': 18, 'NAME': 'TiledFlagCategory', 'COLUMNS': array(['FLAG_CATEGORY'],
      dtype='|S14'), 'SPEC': {'DEFAULTTILESHAPE': array([   2,   60,    1, 1092], dtype=int32), 'HYPERCUBES': {}, 'MAXIMUMCACHESIZE': 0, 'SEQNR': 18, 'ActualMaxCacheSize': 0, 'IndexSize': 0}}, '*19': {'TYPE': 'TiledShapeStMan', 'SEQNR': 19, 'NAME': 'TiledWgtSpectrum', 'COLUMNS': array(['WEIGHT_SPECTRUM'],
      dtype='|S16'), 'SPEC': {'DEFAULTTILESHAPE': array([   2,   60, 1092], dtype=int32), 'HYPERCUBES': {}, 'MAXIMUMCACHESIZE': 0, 'SEQNR': 19, 'ActualMaxCacheSize': 0, 'IndexSize': 0}}, '*16': {'TYPE': 'StandardStMan', 'SEQNR': 16, 'NAME': 'DATA_DESC_ID', 'COLUMNS': array(['DATA_DESC_ID'],
      dtype='|S13'), 'SPEC': {'ActualCacheSize': 2, 'PERSCACHESIZE': 2, 'IndexLength': 230, 'BUCKETSIZE': 32768}}, '*17': {'TYPE': 'TiledShapeStMan', 'SEQNR': 17, 'NAME': 'TiledDATA', 'COLUMNS': array(['DATA'],
      dtype='|S5'), 'SPEC': {'DEFAULTTILESHAPE': array([   2,   60, 1092], dtype=int32), 'HYPERCUBES': {'*4': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([   2, 4096], dtype=int32), 'CubeShape': array([   2, 4096,  714], dtype=int32), 'ID': {}, 'BucketSize': 1048320}, '*5': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([   2, 2048], dtype=int32), 'CubeShape': array([   2, 2048,  714], dtype=int32), 'ID': {}, 'BucketSize': 1048320}, '*1': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([  2, 124], dtype=int32), 'CubeShape': array([    2,   124, 21588], dtype=int32), 'ID': {}, 'BucketSize': 1048320}, '*2': {'TileShape': array([   2,    1, 1092], dtype=int32), 'CellShape': array([2, 1], dtype=int32), 'CubeShape': array([    2,     1, 68376], dtype=int32), 'ID': {}, 'BucketSize': 17472}, '*3': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([  2, 128], dtype=int32), 'CubeShape': array([    2,   128, 19656], dtype=int32), 'ID': {}, 'BucketSize': 1048320}}, 'MAXIMUMCACHESIZE': 0, 'SEQNR': 17, 'ActualMaxCacheSize': 0, 'IndexSize': 98}}, '*14': {'TYPE': 'StandardStMan', 'SEQNR': 14, 'NAME': 'ANTENNA1', 'COLUMNS': array(['ANTENNA1'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 2, 'PERSCACHESIZE': 2, 'IndexLength': 230, 'BUCKETSIZE': 32768}}, '*15': {'TYPE': 'StandardStMan', 'SEQNR': 15, 'NAME': 'ANTENNA2', 'COLUMNS': array(['ANTENNA2'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 2, 'PERSCACHESIZE': 2, 'IndexLength': 230, 'BUCKETSIZE': 32768}}, '*12': {'TYPE': 'IncrementalStMan', 'SEQNR': 12, 'NAME': 'TIME', 'COLUMNS': array(['TIME'],
      dtype='|S5'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*13': {'TYPE': 'IncrementalStMan', 'SEQNR': 13, 'NAME': 'TIME_CENTROID', 'COLUMNS': array(['TIME_CENTROID'],
      dtype='|S14'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*10': {'TYPE': 'IncrementalStMan', 'SEQNR': 10, 'NAME': 'SCAN_NUMBER', 'COLUMNS': array(['SCAN_NUMBER'],
      dtype='|S12'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*11': {'TYPE': 'IncrementalStMan', 'SEQNR': 11, 'NAME': 'STATE_ID', 'COLUMNS': array(['STATE_ID'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*8': {'TYPE': 'IncrementalStMan', 'SEQNR': 8, 'NAME': 'OBSERVATION_ID', 'COLUMNS': array(['OBSERVATION_ID'],
      dtype='|S15'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*9': {'TYPE': 'IncrementalStMan', 'SEQNR': 9, 'NAME': 'PROCESSOR_ID', 'COLUMNS': array(['PROCESSOR_ID'],
      dtype='|S13'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*4': {'TYPE': 'IncrementalStMan', 'SEQNR': 4, 'NAME': 'FEED2', 'COLUMNS': array(['FEED2'],
      dtype='|S6'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*5': {'TYPE': 'IncrementalStMan', 'SEQNR': 5, 'NAME': 'FIELD_ID', 'COLUMNS': array(['FIELD_ID'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*6': {'TYPE': 'StandardStMan', 'SEQNR': 6, 'NAME': 'FLAG_ROW', 'COLUMNS': array(['FLAG_ROW'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 2, 'PERSCACHESIZE': 2, 'IndexLength': 134, 'BUCKETSIZE': 8192}}, '*7': {'TYPE': 'IncrementalStMan', 'SEQNR': 7, 'NAME': 'INTERVAL', 'COLUMNS': array(['INTERVAL'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*1': {'TYPE': 'IncrementalStMan', 'SEQNR': 1, 'NAME': 'Array_ID', 'COLUMNS': array(['ARRAY_ID'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*2': {'TYPE': 'IncrementalStMan', 'SEQNR': 2, 'NAME': 'EXPOSURE', 'COLUMNS': array(['EXPOSURE'],
      dtype='|S9'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*3': {'TYPE': 'IncrementalStMan', 'SEQNR': 3, 'NAME': 'FEED1', 'COLUMNS': array(['FEED1'],
      dtype='|S6'), 'SPEC': {'ActualCacheSize': 1, 'PERSCACHESIZE': 1, 'BUCKETSIZE': 32768}}, '*23': {'TYPE': 'TiledShapeStMan', 'SEQNR': 23, 'NAME': 'TiledSigma', 'COLUMNS': array(['SIGMA'],
      dtype='|S6'), 'SPEC': {'DEFAULTTILESHAPE': array([    2, 65520], dtype=int32), 'HYPERCUBES': {'*1': {'TileShape': array([    2, 65520], dtype=int32), 'CellShape': array([2], dtype=int32), 'CubeShape': array([     2, 111048], dtype=int32), 'ID': {}, 'BucketSize': 524160}}, 'MAXIMUMCACHESIZE': 0, 'SEQNR': 23, 'ActualMaxCacheSize': 0, 'IndexSize': 1}}, '*22': {'TYPE': 'TiledShapeStMan', 'SEQNR': 22, 'NAME': 'TiledWgt', 'COLUMNS': array(['WEIGHT'],
      dtype='|S7'), 'SPEC': {'DEFAULTTILESHAPE': array([    2, 65520], dtype=int32), 'HYPERCUBES': {'*1': {'TileShape': array([    2, 65520], dtype=int32), 'CellShape': array([2], dtype=int32), 'CubeShape': array([     2, 111048], dtype=int32), 'ID': {}, 'BucketSize': 524160}}, 'MAXIMUMCACHESIZE': 0, 'SEQNR': 22, 'ActualMaxCacheSize': 0, 'IndexSize': 1}}, '*21': {'TYPE': 'TiledShapeStMan', 'SEQNR': 21, 'NAME': 'TiledFlag', 'COLUMNS': array(['FLAG'],
      dtype='|S5'), 'SPEC': {'DEFAULTTILESHAPE': array([   2,   60, 1092], dtype=int32), 'HYPERCUBES': {'*4': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([   2, 4096], dtype=int32), 'CubeShape': array([   2, 4096,  714], dtype=int32), 'ID': {}, 'BucketSize': 16380}, '*5': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([   2, 2048], dtype=int32), 'CubeShape': array([   2, 2048,  714], dtype=int32), 'ID': {}, 'BucketSize': 16380}, '*1': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([  2, 124], dtype=int32), 'CubeShape': array([    2,   124, 21588], dtype=int32), 'ID': {}, 'BucketSize': 16380}, '*2': {'TileShape': array([   2,    1, 1092], dtype=int32), 'CellShape': array([2, 1], dtype=int32), 'CubeShape': array([    2,     1, 68376], dtype=int32), 'ID': {}, 'BucketSize': 273}, '*3': {'TileShape': array([   2,   60, 1092], dtype=int32), 'CellShape': array([  2, 128], dtype=int32), 'CubeShape': array([    2,   128, 19656], dtype=int32), 'ID': {}, 'BucketSize': 16380}}, 'MAXIMUMCACHESIZE': 0, 'SEQNR': 21, 'ActualMaxCacheSize': 0, 'IndexSize': 98}}, '*20': {'TYPE': 'TiledColumnStMan', 'SEQNR': 20, 'NAME': 'TiledUVW', 'COLUMNS': array(['UVW'],
      dtype='|S4'), 'SPEC': {'ActualMaxCacheSize': 0, 'SEQNR': 20, 'HYPERCUBES': {'*1': {'TileShape': array([    3, 43680], dtype=int32), 'CellShape': array([3], dtype=int32), 'CubeShape': array([     3, 111048], dtype=int32), 'ID': {}, 'BucketSize': 1048320}}, 'DEFAULTTILESHAPE': array([    3, 43680], dtype=int32), 'MAXIMUMCACHESIZE': 0}}}

-- ToddHunter - 2015-11-26
Topic revision: r1 - 2015-11-26, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback