diff --git a/nexrad2/src/lib.rs b/nexrad2/src/lib.rs index 7be542e..b339cbe 100644 --- a/nexrad2/src/lib.rs +++ b/nexrad2/src/lib.rs @@ -7,7 +7,7 @@ use std::fmt::{Display, Formatter}; use std::io; use std::io::{Cursor, Read, Seek, SeekFrom}; use std::str::Utf8Error; -use log::{debug, info, Record, trace, warn}; +use log::{info, trace, warn}; use crate::bzip::BzipDecoder; use crate::message::{FromBody, LEGACY_CTM_HEADER_LEN, Message, MESSAGE_BODY_SIZE, MESSAGE_HEADER_SIZE, MessageHeader}; use crate::message2::Msg02RDAStatusData; diff --git a/nexrad2/src/message31.rs b/nexrad2/src/message31.rs index 6e4cb08..003539e 100644 --- a/nexrad2/src/message31.rs +++ b/nexrad2/src/message31.rs @@ -1,6 +1,6 @@ use std::collections::HashMap; use std::fmt::{Debug, Formatter}; -use std::io::{Cursor, Read}; + pub const MSG31_HEADER_LENGTH: usize = 4 + 4 + 2 + 2 + 4 + 1 + 1 + 2 + 1 + 1 + 1 + 1 + 4 + 1 + 1 + 2; pub const MOMENT_DATA_BELOW_THRESHOLD: f32 = 999.0;