Writing a Catalog object to disk - geoscience-community-codes/GISMO GitHub Wiki
here are a couple of ways to save an Catalog object to disk. The simplest option is just to write to a MAT-file, e.g.:
>> catalogObject.save('myevents_filename.mat')
This can simply be loaded again with:
>> load('myevents_filename.mat')
The alternative - which requires the Antelope toolbox for MATLAB - is to write the data as a CSS3.0 flat-file database:
>> catalogObject.write('antelope', 'myeventsdb', 'css3.0')
Antelope users: This can then be opened in the normal way with dbe in Mac/Linux terminal window. For example, the origin table should look like:
This database can be reloaded with:
>> ev = readEvents('antelope', 'dbpath','myeventsdb')