Files
SolSolAutomazione/project_structure.md
2026-02-10 10:53:06 +01:00

76 lines
2.4 KiB
Markdown

# Pyranometer Data Analysis System - Project Structure
## Core Components
### 1. Configuration & Setup
- `config/` - Configuration files
- `requirements/` - Dependencies and setup scripts
### 2. Data Processing
- `src/data_ingestion/` - CSV/TXT file processing
- `src/data_cleaning/` - Data validation and cleaning
- `src/database/` - Database operations and schema
### 3. Analysis Engine
- `src/analysis/statistical/` - Statistical metrics and tests
- `src/analysis/uncertainty/` - Uncertainty calculations
- `src/analysis/comparison/` - Sensor comparison methods
### 4. Reporting & Visualization
- `src/reporting/` - Automated report generation
- `src/visualization/` - Plots and dashboards
### 5. Automation & Scheduling
- `scripts/` - Automation scripts
- `scheduling/` - Cron jobs and scheduling
## File Structure
```
pyranometer_analysis/
├── config/
│ ├── system_config.yaml
│ ├── sensor_database.csv
│ └── calibration_standards.yaml
├── src/
│ ├── data_ingestion/
│ │ ├── file_processor.py
│ │ ├── csv_parser.py
│ │ └── txt_parser.py
│ ├── data_cleaning/
│ │ ├── validator.py
│ │ ├── quality_control.py
│ │ └── outlier_detection.py
│ ├── database/
│ │ ├── schema.sql
│ │ ├── operations.py
│ │ └── migrations/
│ ├── analysis/
│ │ ├── statistical/
│ │ │ ├── basic_metrics.R
│ │ │ ├── advanced_metrics.R
│ │ │ └── time_series_analysis.R
│ │ ├── uncertainty/
│ │ │ ├── uncertainty_calculator.R
│ │ │ └── monte_carlo_simulation.R
│ │ └── comparison/
│ │ ├── sensor_comparison.R
│ │ └── performance_analysis.R
│ ├── reporting/
│ │ ├── report_generator.R
│ │ ├── template.Rmd
│ │ └── pdf_renderer.py
│ └── visualization/
│ ├── plots.R
│ └── dashboard.py
├── scripts/
│ ├── run_analysis.py
│ ├── automated_report.py
│ └── data_import.py
├── tests/
│ ├── test_data_processing.py
│ └── test_analysis.py
└── data/
├── raw/ # Input CSV/TXT files
├── processed/ # Cleaned data
└── reports/ # Generated reports