NOTE - See the develop branch - set as default - for the latest updates.
Welcome to the EMIT Level Level 1A science data system repository. To understand how this repository is linked to the rest of the emit-sds repositories, please see the repository guide.
This repository contains scripts for executing the various EMIT L1A PGEs. These PGEs include the following functions:
- Depacketizing science frames from CCSDS stream files
- Depacketizing engineering data from CCSDS
- Decompressing and reassembling raw image files in ENVI format
- Reformatting BAD STO files into NetCDF files
This repository is based on Python 3.x. See emit-sds-l1a/setup.py
for specific dependencies.
Clone the repository:
git clone https://github.jpl.nasa.gov/emit-sds/emit-sds-l1a.git
Run pip install:
cd emit-sds-l1a
pip install -e .
Clone the emit-ios repository
git clone https://github.jpl.nasa.gov/emit/emit-ios.git
Install the emit-ios repository
cd emit-ios
pip install -e .
python depacketize_science_frames.py <ccsds_path>
./run_l1a_eng.sh <ccsds_path> <work_dir> <edp_exe>
Where the "edp_exe" is the path to the engineering data processor executable.
python reasssemble_raw_cube.py <frames_dir> --flexcodec_exe <flexcodec_exe> --constants_path <constants_path> --init_data_path <init_data_path>
Where the "flexcodec_exe" is the path to the decompression executable and the constants_path and init_data_path are decompression files.
python reformat_bad.py <bad_sto_dir>