How valeriaromo/chequi_proyecto works
ChequiProyecto is a municipal, one-day rainfall-occurrence and minimum-temperature forecasting product for Aguascalientes, with a web dashboard that presents forecasts and checks recent accuracy and rainfall reliability. Its documented data workflow runs from source ingestion through validation and a daily master table; the application serves predictions and monitoring. The repository also contains model evaluation, explainability, segmentation, and climate-analysis capabilities. Some pipeline files were not sampled, so those branches are represented at their supported directory or module paths, and uncertain implementation links are omitted.
Main entry points: build_master_table.py Daily master table · ingestion Source ingestion · api.py Web API routes · clean.py Source cleaning
Components 24
Data preparation
- Source ingestion
src/ingestion - Source cleaning
src/pipeline/clean.py - Daily master table
src/pipeline/build_master_table.py
Forecast and analysis
- Forecast models
src/pipeline/models - Deep learning
src/pipeline/deep_learning - Validation and leakage audits
src/pipeline/dl_validation - Model explanations
src/pipeline/exp_ai - Municipal segmentation
src/pipeline/segmentation - PCA analysis
src/data_analysis/pca_analysis.py - Variable analysis
src/data_analysis/variable_analysis.py
Web application
- Forecast predictor
src/app/predictor.py - Web API routes
src/app/routes/api.py - Prediction service
src/app/services/predictions.py - Reliability alerts
src/app/services/alerts.py - Forecast metrics
src/app/services/metrics.py - Feature status
src/app/services/functionality.py - Dashboard routes
src/app/routes/dashboard.py - Browser dashboard
src/app/static/js/app.js
Shared runtime
- Geographic and date settings
config/settings.py - Parquet I/O
src/utils/io_utils.py
Other components
- Dashboard user
- Weather sources
- Geospatial sources
- Air-quality sources
Connections 26
- Weather sources → Source ingestion: provides weather data
- Geospatial sources → Source ingestion: provides geography
- Air-quality sources → Source ingestion: provides air data
- Source ingestion → Source cleaning: writes processed data
- Source cleaning → Daily master table: validates sources
- Daily master table → Forecast predictor: supplies forecast data
- Daily master table → Forecast models: supports evaluation
- Daily master table → PCA analysis: analyzed as data
- Daily master table → Variable analysis: analyzed as data
src/data_analysis/variable_analysis.py - Daily master table → Deep learning: supports training
- Forecast models → Validation and leakage audits: audited by
- Forecast models → Model explanations: explained by
- Daily master table → Municipal segmentation: supports clustering
- Web API routes → Prediction service: calls
src/app/routes/api.py - Web API routes → Reliability alerts: calls
src/app/routes/api.py - Web API routes → Forecast metrics: calls
src/app/routes/api.py - Web API routes → Feature status: calls
src/app/routes/api.py - Prediction service → Forecast predictor: uses forecasts
src/app/services/predictions.py - Reliability alerts → Forecast predictor: uses model data
src/app/services/alerts.py - Dashboard routes → Prediction service: calls
src/app/routes/dashboard.py - Dashboard user → Browser dashboard: views forecasts
- Browser dashboard → Web API routes: requests data
- Geographic and date settings → Source ingestion: configures sources
src/ingestion/chirps.py - Geographic and date settings → Source cleaning: provides catalog
src/pipeline/clean.py - Source ingestion → Parquet I/O: persists parquet
src/ingestion/chirps.py - Source cleaning → Parquet I/O: writes parquet
src/pipeline/clean.py