| AHELP for CIAO 4.5 | write_rmf |
Context: crates |
Synopsis
Write an RMFCrateDataset to a file.
Syntax
write_rmg(rmfdataset, filename [, clobber=False])
Description
- rmfdataset - a RMF Crate Dataset
- filename - name of the file
- clobber - should an output file be over-written if it already exists (default is False)?
The write_rmf command creates an output file for the input RMF CrateDataset.
Metadata handling
As discussed in ahelp read_file, the Crate and Crate Dataset objects do not retain all the information from the input file, which means that care should be taken when using the output from write_pha() with CIAO tools.
Example
>>> rmf = read_rmf("in.rmf")
>>> write_rmf(rmf, "out.rmf")Bugs
See the bug pages on the CIAO website for an up-to-date listing of known bugs.
Refer to the CIAO bug pages for an up-to-date listing of known issues.

![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)