Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/asap/userguide/node64.html
Дата изменения: Unknown Дата индексирования: Tue Feb 5 07:54:59 2013 Кодировка: Поисковые слова: propulsion |
Normally scantables exist entirely in memory during an ASAP session. This has the advantage of speed, but causes limits on the size of the dataset which can be loaded. ASAP can use ``disk based'' scan tables which cache the bulk of the scantable on disk and require significantly less memory usage. This should be used for all MOPS data!
To use disk based tables you either need to change the default in your .asaprc file, e.g.
scantable.storage : disk
or use set the ``rc'' value while running asap to change this on-the-fly. E.g.
ASAP>rc('scantable',storage='disk') ASAP>data = scantable('data.rpf') # Loaded using disk based table ASAP>rc('scantable',storage='memory') # Memory tables will be used now
Changing the ``rc'' value affects the next time the scantable constructor is called.
NOTE: Currently a bug in ipython means temporary files are not cleaned up properly when you exit ASAP. If you use disk based scan tables your directory will be left with 'tmpXXXXX_X' directories. These can be safely removed if ASAP is not running.