Single Particle Image Format (SPIF) data converter and interface
Project description
spifpy: Single Particle Image Format conversion utility
About
SPIFpy is a set of Command Line Interface(CLI) tools which allow for the conversion of files stored in a variety of raw imaging probe formats to the SPIF format. The package is written in Python, and includes the following utilities:
spifpy-extract
: Convert a file in a raw imaging probe format to the SPIF format.spifpy-addaux
: Add auxiliary data to a file in the SPIF format.spifpy-cc
: Copy the configuration files required for processing withspifpy
andspifaddaux
.
Installation
pip install spifpy
Example usage with 2DS imaging probe (SPEC Inc.)
- Copy over required configuration files using
spifpy-cc
, and make any desired modifications to the config files. In this case, the config files will include2DS.ini
which defines config options for extracting and storing 2DS data, and alsoaux_config.ini
, which specifies configuration options for adding auxiliary data.
$ spifpy-cc 2DS
- Process the file of interest using
spifpy-extract
$ spifpy-extract example_file.2DS 2DS.ini
- Add auxiliary information to the SPIF file using
spifaddaux
(optional), but only for the2DS-V
dataset.
$ spifpy-addaux example_file_2DS.nc auxiliary_file.nc -i 2DS-V -c aux_config.ini
Supported probes
Currently the following Optical Array Probes (OAP) are supported:
- 2DC (Two Dimension Cloud particle imaging probe)
- 2DP (Two Dimension Precipitation particle imaging probe)
- 2DS (2D-Stereo, SPEC Inc.)
- CIP (Cloud Imaging Probe, DMT)
- PIP (Precipitation Imaging Probe, DMT)
- HVPS (High Volume Precipitation Spectrometer, SPEC Inc.)
Citations
- Bala, K., Freer, M., Bliankinshtein, N., Nichman, L., Shilin, S. and Wolde, M.: Standardized Imaging Probe Format and Algorithms: Implementation and Applications, 18th International Conference on Clouds and Precipitation (ICCP), Pune, India, 2-6 August, 2021.
- NRC Single Particle Image Format (SPIF) conversion utility, https://doi.org/10.4224/40002712, 2021
Acknowledgments
We acknowledge CloudSci LLC for the support in the development of this tool
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
spifpy-1.0.5.tar.gz
(213.0 kB
view details)
Built Distribution
spifpy-1.0.5-py3-none-any.whl
(77.6 kB
view details)
File details
Details for the file spifpy-1.0.5.tar.gz
.
File metadata
- Download URL: spifpy-1.0.5.tar.gz
- Upload date:
- Size: 213.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f98ece6d5d59ad5394595bfd7dcb8aedc8c022a7f689d99e27c503ada52852 |
|
MD5 | c819b4531d7815535a8db78275747c06 |
|
BLAKE2b-256 | 241374ea298931b171f52390abf3dcad7b0efbe2ba8af0dcef8f3db1b2bc220c |
File details
Details for the file spifpy-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: spifpy-1.0.5-py3-none-any.whl
- Upload date:
- Size: 77.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a34beb0ab090f0af18ebb1e037aea5c4589c5fa86077d7ee1d77ae3322783689 |
|
MD5 | d65b796f7bbb17a32a312ed9e70a4401 |
|
BLAKE2b-256 | a0254812e69c72340eb11dd4db6243e85c53b7bdcaf6c034efef842700744b73 |