Library for parsing data SSIES detector DMSP project
Project description
SSIES
Python library for parsing data files SSIES detector DMSP project.
Description of library capabilities:
- Reading compressed binary files from the SSIES detector.
- Converting data from binary SSIES detector files into data with measurable physical quantities.
- Extracting and processing headers and timestamps—metadata in files.
- Correct organization of the structure and metadata in exported files to enable automated data analysis and their correct interpretation in scientific tools such as Panoply.
- Exporting converted data to convenient formats: NetCDF and CSV.
The ssies package provides five classes (DM, EP, MP, RPA, SM) for five different datasets. These classes have similar methods and functionality. However, each class only works with files containing specific datasets.
API Reference for each class
| Method | Input | Output |
|---|---|---|
parse_file() |
File path (provided when creating the parser instance) | xarray.Dataset |
export_netcdf() |
xarray.Dataset, output filename |
NetCDF file (.nc) saved to the project root |
export_csv() |
xarray.Dataset, output filename |
CSV file (.csv) saved to the project root |
Installation
pip install ssies
Example
from ssies import DM
parser = DM("f13dm09nov05.dat.gz")
ds = parser.parse_file()
print(ds)
Export to CSV:
parser.export_csv(ds, "output.csv")
Export to NetCDF:
parser.export_netcdf(ds, "output.nc")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssies-0.1.4.tar.gz.
File metadata
- Download URL: ssies-0.1.4.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c2158f605d67a0da0326559b9f88e17a1154df4647a2de86bcca999506d026f
|
|
| MD5 |
74dffd21008e3f31a533df202f17488c
|
|
| BLAKE2b-256 |
e273c876840f925926f7b376e35855e69bbfe158133cb3390d4da236f9cf0d3d
|
File details
Details for the file ssies-0.1.4-py3-none-any.whl.
File metadata
- Download URL: ssies-0.1.4-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92315f5f8573ba03b70998637bf4e76cdf762bb150c6da3107451feabcba1fef
|
|
| MD5 |
59e3b074c4fcc185540c9a391d0b2028
|
|
| BLAKE2b-256 |
7e127dd96636c2d486f02ad90f4e3f6cfcea785aa1370affc0e9193e3fbf041f
|