Skip to main content

Single Particle Image Format (SPIF) data converter and interface

Project description

spifpy: Single Particle Image Format conversion utility

PyPI Latest Release Build status License DOI

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 with spifpy and spifaddaux.

Installation

pip install spifpy

Example usage with 2DS imaging probe (SPEC Inc.)

  1. Copy over required configuration files using spifpy-cc, and make any desired modifications to the config files. In this case, the config files will include 2DS.ini which defines config options for extracting and storing 2DS data, and also aux_config.ini, which specifies configuration options for adding auxiliary data.
$ spifpy-cc 2DS
  1. Process the file of interest using spifpy-extract
$ spifpy-extract example_file.2DS 2DS.ini
  1. Add auxiliary information to the SPIF file using spifaddaux(optional), but only for the 2DS-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.4.tar.gz (213.1 kB view details)

Uploaded Source

Built Distribution

spifpy-1.0.4-py3-none-any.whl (77.7 kB view details)

Uploaded Python 3

File details

Details for the file spifpy-1.0.4.tar.gz.

File metadata

  • Download URL: spifpy-1.0.4.tar.gz
  • Upload date:
  • Size: 213.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for spifpy-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a3f3497acb3341017422a853a02b38de54b65ab5b46540da44405ff6b15d0527
MD5 75ba57901eb63225b0f5a72edb4576f1
BLAKE2b-256 256cb0b3ae32c242abc8f53852075b7767112e03e75694a8200e99067bbbb325

See more details on using hashes here.

File details

Details for the file spifpy-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: spifpy-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 77.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for spifpy-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 75fd08a1d89bb5ea6a15f0368c7b0a12b9a690a7f09edb3d01fc8143f7b1a863
MD5 4e3179f48f6dfac5c4fb482261e617b6
BLAKE2b-256 7fbb54d8f0961243beadfc9ba59c304ab84eefe6425ddc46e0cc56f783e0b10c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page