Skip to main content

xRIT Parser

Project description

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
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xrit, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size xrit-1.0.6-py2.7.egg (24.1 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size xrit-1.0.6-py3.6.egg (16.2 kB) File type Egg Python version 3.6 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page