https://github.com/opensatelliteproject/xritparser
xRIT Files Parser
https://github.com/opensatelliteproject/xritparser
Last synced: 5 months ago
JSON representation
xRIT Files Parser
- Host: GitHub
- URL: https://github.com/opensatelliteproject/xritparser
- Owner: opensatelliteproject
- License: mit
- Created: 2017-01-28T00:41:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T14:46:22.000Z (over 7 years ago)
- Last Synced: 2025-11-29T01:35:04.467Z (7 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
xRIT Parser Toolkit
======================
A toolkit to parse / dump HRIT / LRIT files.
### xritparse
Parses xRIT file Header and print in a human readable format.
```
Usage:
xritparse [-hi] filen.lrit [file2.lrit]
-h Print Structured Header Record
-i Print Image Data Record
```
##### Example:
```
# xritparse DCSdat363042229684.lrit
Parsing file DCSdat363042229684.lrit
Primary Header:
File Type Code: DCS
Header Length: 89
Data Field Length: 1617088
NOAA Specific Header
Signature: NOAA
Product ID: DCS
Product SubId: None
Parameter: 11500
Compression: Not Compressed
Annotation Record
Filename: DCSdat363042229684.lrit
Timestamp Record
DateTime: 2016-12-28 04:22:00
DCS Filename:
Filename: pL-16363042229-A.dcs
```
### xritdump
Dumps the data section of a HRIT/LRIT file.
PS: This does not convert or process anything. It just saves the data section.
```
Usage:
xritdump filename.lrit output.bin
```
### xritcat
Reads the data section of a HRIT/LRIT file and prints to stdout.
```
Usage:
xritcat filename.lrit
```
## Python Library
This also can be used as a python library by importing `xrit`. The documentation is still WIP. Please us the module executables as a reference.
## Installing
The package is available at `pip`. Just run:
```
sudo pip install xrit
```