Install from the repository
Code:
from visitparser import parser
visitparser.parser.parse_visit_file('V00783001001.vst')
will return something like:
Visit V00783001001: 1 dithers, 2 groups, 14 observation statements. Uses ['NIRISS Internal Flat']
Since JWST .vst files are marked as not public they cannot be included in this repository. Please download the directory at TBD to your local machine and set the VISIT_PARSER_TEST_DATA environment variable to the location of that folder, e.g. export VISIT_PARSER_TEST_DATA=your/path. This will allow you to run the tests and the examples locally.
Examples of .vst files can also be accessed at https://outerspace.stsci.edu/display/OPGS/Observation+Plan+Generation+System#ObservationPlanGenerationSystem-OPProductsforReview
Some usage examples are included in run_visit_parser.py
If you find this package useful, please consider citing the Zenodo record using the DOI badge above.
This project is Copyright (c) Space Telescope Science Institute and licensed under the terms of the Aura license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause licence. See the licenses folder for more information.