About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: 15 December 2008

URL: http://cxc.harvard.edu/chips4.1/syntax.html

Converting ChIPS Scripts


Converting CIAO 4.0 scripts to CIAO 4.1

State file incompatibility

Due to improvements made to ChIPS it is not possible to load a ChIPS state file created in CIAO 4.0 into CIAO 4.1. The load_state command (S-Lang or Python help) will fail with the following message

% S-Lang
chips> load_state("example.state");
chips ERROR: Unable to load incompatible state file (unsupported major version)

# Python
chips> load_state("example.state")
chips ERROR: Unable to load incompatible state file (unsupported major version)

if this is attempted.

Improvements and changes

There have been several changes to ChIPS in CIAO 4.1 that can cause your code to fail to run. The changes in most cases are minor, as described in the conversion guide, but please contact the CXC Helpdesk if you need help updating your scripts.


Converting CIAO 3.4 scripts to CIAO 4.1

The CXC is committed to helping ChIPS users transition to new syntax as smoothly as possible. If you have existing ChIPS scripts or save files, submit them to us via the CXC Helpdesk and we will provide the CIAO 4.1 ChIPS syntax to you.

Please be sure to tell us if you are working in S-Lang or Python, and place the relevant data files on the FTP (FTP Instructions).

Also refer to the CIAO 3 to CIAO 4 Conversion information to see how the new and old syntaxes compare.

Last modified: 15 December 2008


The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.