Skip to content

Commit

Permalink
Add record lengths for spectral data for faster fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Mar 13, 2024
1 parent 2971669 commit 4aae833
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data/forecast_spectral_wave_data_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ use crate::units::{direction, Direction, Unit, UnitConvertible, UnitSystem};

use super::parseable_data_record::DataRecordParsingError;

pub const FORECAST_SPECTRAL_WAVE_DATA_RECORD_HEADER_LENGTH: usize = 985;
pub const FORECAST_SPECTRAL_WAVE_DATA_RECORD_LENGTH: usize = 20137;

#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct ForecastSpectralWaveDataRecordMetadata {
pub frequency: Vec<f64>,
Expand Down

0 comments on commit 4aae833

Please sign in to comment.