Quick Setup
1
Create config file
Create a new file called
config.json in your project directory2
Copy template
Use the template below and customize the column names to match your data
3
Verify paths
Make sure column names exactly match your CSV headers
Basic Configuration Template
config.json
Configuration Sections
Column Mapping
Column Mapping
Reference (Anemometer) Data
Map your reference sensor column names:wind_speed: Mean wind speed (m/s)wind_speed_std: Standard deviation of wind speed (m/s)turbulence_intensity: Turbulence intensity (decimal, e.g., 0.15 for 15%)
RSD (LiDAR) Data
RSD (LiDAR) Data
RSD Measurements
Map your RSD/LiDAR column names:"primary" even if you only have one height. Multi-height support is planned for future releases.Binning Configuration
Binning Configuration
Wind Speed Bins
Configure how data is binned by wind speed:bin_size: 1.0 m/s (creates bins: 4-5, 5-6, 6-7, etc.)bin_min: 4.0 m/s (typical cut-in speed)bin_max: 20.0 m/s (typical cut-out speed)
- Lower
bin_minfor low-wind sites (e.g., 3.0 m/s) - Increase
bin_maxfor high-wind sites (e.g., 25.0 m/s) - Use smaller
bin_sizefor finer resolution (e.g., 0.5 m/s)
Real-World Examples
- Standard IEC Format
- Custom Column Names
- Offshore Site
Validation
After creating your config file, verify it loads correctly:
Common Issues
Column name mismatch
Column name mismatch
Error:
KeyError: 'ref_ws'Cause: Column name in config doesn’t match your CSVFix:- Check exact column names in your CSV:
df.columns.tolist() - Update config to match exactly (case-sensitive)
- Watch for extra spaces in column names
JSON syntax error
JSON syntax error
Error:
JSONDecodeError: Expecting ',' delimiterCause: Invalid JSON syntax (missing comma, quote, bracket)Fix:- Use a JSON validator: https://jsonlint.com
- Don’t use comments in JSON (remove
//comments) - Ensure all strings use double quotes
"
Missing required fields
Missing required fields
Error:
KeyError: 'wind_speed_std'Cause: Config missing required field mappingFix: Ensure all 6 required fields are mapped:- Reference:
wind_speed,wind_speed_std,turbulence_intensity - RSD:
wind_speed,wind_speed_std,turbulence_intensity

