# SpacePy Scripts

Some scripts using SpacePy are included in the `scripts` directory of the source distribution. At the moment they are not installed by the installer.

## istp_checks.py

Checks for various ISTP compliance issues in a file and prints any issues found. This script is supplemental to the checker included with the ISTP skeleton editor; it primarily checks for errors that the skeleton editor does not.

Badly noncompliant files generally result in the error “Test x did not complete”. This means the test crashed due to some failure in the assumptions about the CDF structure. Please run the individual test to get a traceback and open an issue.

This is just a thin wrapper to `spacepy.pycdf.istp.FileChecks.all()`; that documentation (plus other methods in the class) describes the actual checks.

`cdffile```

  Name of the CDF file to check (required)