Files
trx-rs/src/decoders/trx-wxsat/src/lib.rs
T
sjg 0a60684e28 [feat](trx-rs): remove NOAA APT decoder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
2026-03-28 23:32:10 +01:00

21 lines
577 B
Rust

// SPDX-FileCopyrightText: 2026 Stan Grams <sjg@haxx.space>
//
// SPDX-License-Identifier: BSD-2-Clause
//! Weather satellite image decoders.
//!
//! This crate provides a decoder for Meteor-M LRPT (Low Rate Picture
//! Transmission) from Meteor-M N2-3/N2-4 using QPSK modulation at 72 kbps
//! with CCSDS framing.
pub mod image_enc;
pub mod lrpt;
/// Current time in milliseconds since UNIX epoch.
pub(crate) fn now_ms() -> i64 {
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.map(|d| d.as_millis() as i64)
.unwrap_or(0)
}