PDS_VERSION_ID = PDS3 RECORD_TYPE = "STREAM" ^ASCII_DOCUMENT = "MIRO_READ_DATA.ASC" DATA_SET_ID = "RO-C-MIRO-4-ESC1-67P-V2.0" PRODUCT_ID = "MIRO_READ_DATA" PRODUCT_CREATION_TIME = 2019-03-01T12:39:27.319Z OBJECT = ASCII_DOCUMENT DOCUMENT_FORMAT = "TEXT" DOCUMENT_NAME = "MIRO_READ_DATA.ASC" DOCUMENT_TOPIC_TYPE = "DATA SET DESCRIPTION" INTERCHANGE_FORMAT = "ASCII" PUBLICATION_DATE = 2019-03-01 END_OBJECT = ASCII_DOCUMENT DESCRIPTION = "This is a python program to read selected parts of the MIRO data files. To build this program, rename it to the python code file extension *.py and execute python MIRO_READ_DATA.py . E.g., $ python MIRO_READ_DATA.py --help Usage: MIRO_READ_DATA.py [options] dat_filename; MIRO_READ_DATA.py -h (for help messages) Options: -h, --help show this help message and exit -s START_RECORD, --srecord=START_RECORD The first record to be printed (Any number between [1, N], N being the total record number). Default is 1. -n NUM_RECORDS, --nrecords=NUM_RECORDS Number of records to be printed. Default is 1. -1 means all records. -v PROD_VERSION, --version=PROD_VERSION The version of the product being read. Default is 2.0. The supported data products are: . level 2 V1.0 (HSK) . level 2 V1.0 (MM, SUBMM, and CTS) . level 3 V1.0 (MM, SUBMM, and CTS) . level 3 V1.0 (CTS_GEOM, MM_GEOM, and SUBMM_GM) . level 3 V2.0 (MMCAL, SUBMMCAL, and CTSCAL) . level 3 V2.0 (CTSGEOM, MMGEOM, and SUBMMGEOM) . level 3 V3.0 (MMCAL, SUBMMCAL, and CTSCAL) . level 3 V3.0 (CTSGEOM, MMGEOM, and SUBMMGEOM) . level 4 V1.0 (CTSFOLDED) . level 4 V1.0 (CTSGEOM) . level 4 V2.0 (CTSFOLDED) . level 4 V2.0 (MM1S and SUBMM1S) Example input data files are provided in the python code comments. This program was developed and tested on Linux/MAC using Python 3.6 and 2.7. It was also tested on Windows 7 Enterprise (SP1) using Python 2.7. Note that this program is not included in this archive with the intention of providing the principal tool for analysis of MIRO data; rather, it is intended as supplementary documentation and an example for understanding the structure of these data. For a reference to a better analysis tool supplied by PDS and for a detailed description of the format of the MIRO data files, see the format (FMT) files under LABEL/ and also the EAICD, Section 4.4." END