Skip to main content

main codecov Ruff License: GPL v3

GitHub issues GitHub pull requests

raw2l1

Code to convert raw LIDAR data into normalized netCDF files

Dependencies install

Install package using pip

pip install raw2l1

This installs the raw2l1 command.

Instruments compatibility

Example of configuration files for instruments are provided in the raw2l1-config repository.

VAISALA ceilometers

You must use clview acquisition software. If you are using your own acquisition software, you may need to make some change to the reader

  • CL31
  • CL51
  • CL61

JENOPTIK/LUFFT ceilometers

  • CHM8k
  • CHM15k

CAMPBELL SCIENTIFIC ceilometers

  • CS135

Leosphere/vaisala doppler wind lidars

  • Windcube vls7v2
  • windcube wls70

how to run

the repository contains some example files allowing you to test the code

  • go to raw2l1 directory
  • modify the configuration file example to comply with your instrument/station
    • The fields to change are identified by the tag [to_change]
  • you can get the list of input arguments using the command:
raw2l1 --help
  • to convert a LUFFT CHM15k file
raw2l1 '20150427' conf/conf_lufft_chm15k_eprofile.ini test/input/Jenoptik_chm15k/20150427_SIRTA_CHM150101_000.nc test/output/test_lufft_sirta.nc
  • to convert a VAISALA CL31 or CL51 file
raw2l1 '20141030' conf/conf_vaisala_cl31_eprofile.ini 'test/input/vaisala_cl31/cl31_0a_z1R5mF3s_v01_20141030_*.asc' test/output/test_cl31.nc

Filtering data

You can filter data to only keep data of date provided as arguments using --filter-day option.

Realtime production

Options are available for the use of raw2l1 in near-realtime processing

  • -file_min_size: allow to define the minimum size of input file in bytes. Files with a smaller size will be rejected.
  • -file_max_age: allow to define the maximum age of data in a file in hours
  • --check_timeliness: check if the data read are not to old or in the future. By default it checks thats data have a maximum age of 2 hours. This value can be changed with option --file_max_age

Developments

Get sources

Clone the repository

git clone git@github.com:ACTRIS-CCRES/raw2l1.git

Install

Install uv

uv sync --all-groups

Using conda or pixie

conda create -n raw2l1 python=3.13 pip
conda activate raw2l1
pip install . --group dev

Using venv

python -m venv path/env/raw2l1-dev
source activate path/env/raw2l1-dev/bin/activate

Then install the dependencies with

pip install . --group dev

Install pre-commit

Pre-commit is used to check code before commit. It is recommended to install it in your development environment.

uv run pre-commit install
uv run pre-commit install --hook-type commit-msg

or with conda, pixie or venv

pre-commit install
pre-commit install --hook-type commit-msg

Run the test suite

uv run pytest

or with conda, pixie or venv

python -m  pytest

Thanks

This program was developped in the scope of TOPROF (COST ACTION ES1303). Thanks to F.Wagner, I. Mattis, R. Leinweber for testing the software, providing example files and reporting bugs during the CEILINEX

Copyright

2014-2026 CNRS/Ecole polytechnique

Metadata

Release files for raw2l1 4.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raw2l1 4.0.1
File Size Uploaded
raw2l1-4.0.1.tar.gz 710.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for raw2l1 4.0.1
File Interpreter ABI Platform
raw2l1-4.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 818.6 kB

Release files / raw2l1-4.0.1.tar.gz

Download URL raw2l1-4.0.1.tar.gz
Size 710.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4a5c6edf8a8d8e9fc63190fc5fa25d628d8792028ee51d0d0c0e7ec711ce6538
BLAKE2b-256 checksum
How to use checksums
dc0c9dad51ec0706d9e1f29d89fd0ba122aa9a234e719d9b538b9fbb1618f4ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.13.15"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.13.15","system":{"name":"Linux","release":"6.17.0-1022-azure"}} HTTPX2/2.12.0

Release files / raw2l1-4.0.1-py3-none-any.whl

Download URL raw2l1-4.0.1-py3-none-any.whl
Size 108.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9aafebed102111daa8c733d98f8e95d720245e30efdedf47094fc9eb3f17dfc2
BLAKE2b-256 checksum
How to use checksums
6efaa278c9d92d7d9efbe39824b01b863d607bfb7f699d73b7e03596843bc8e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.13.15"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.13.15","system":{"name":"Linux","release":"6.17.0-1022-azure"}} HTTPX2/2.12.0

Release history Release notifications | RSS feed

4.0.2

2 release files

This release

4.0.1 This release

2 release files

4.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page