This repository contains the scripts used to generate and update the Argo Spain web page www.argoespana.es. The system automates the transformation of raw Argo data into web-ready products through MATLAB-based scrips organized by a Bash script.
Argo España region status Argo España status Argo España table Argo España report
Main components:
- Bash – pipeline organization
- MATLAB – data processing and product generation
- Leaflet – interactive web maps
- HTML outputs – web pages and figures
.
├── argoSpainWebPage.sh
├── configWebPage.m
├── createDataSet.m
├── createDataSetMap.m
├── createDataSetMapLLet.m
├── createDataSetStatus/
│ ├── createDataSetStatus_FunctionMetadata.m
│ ├── createDataSetStatus_FunctionProfiles.m
│ ├── createDataSetStatus_FunctionTechnicalData.m
│ ├── createDataSetStatus_FunctionSections.m
│ ├── createDataSetStatus_FunctionFigures.m
│ └── createDataSetStatus_FunctionReport.m
├── data/
├── html/
└── log/
The scrips transforms Argo float data → web visualization products:
Argo Data
│
▼
Dataset Generation (createDataSet)
│
▼
Map Generation (createDataSetMap / createDataSetMapLLet)
│
▼
Tables and Statistics (createDataSetTable)
│
▼
Float Status Pages (createDataSetStatus)
│ │
│ ├── Metadata
│ ├── Profiles
│ ├── Technical data
│ ├── Sections
│ └── Figures
│
▼
Web Content Generation (argoesstatus.html , argoregionstatus.html)
│
▼
Automatic Reporting by email (sendDataSetReport)
The entire workflow is executed by the Bash script:
argoSpainWebPage.sh
This script:
- Organize the full processing pipeline
- Runs MATLAB scripts sequentially
- Manages logs
- Cleans outdated files
- Sends automatic reports (email)
configWebPage.m
Defines:
- Directory paths
- Data locations
- Website output directories
- General configuration parameters
createDataSet.m
Creates the main datasets used by the system.Actually there are only two data sets, but it may be configurated to have more data sets:
dataArgoSpain.mat
dataArgoInterest.mat
These datasets include information about:
- Argo Spain floats
- regional floats of interest
- profile data and metadata
Generates static visualizations of float positions.
createDataSetMap.m
Creates Leaflet-based interactive maps used on the web interface.
createDataSetMapLLet.m
argoesstatus.html : ArgoEspaña status argoregionstatus.html: Iberian Basin region status
The float monitoring pages are generated using several modular scripts. Main processing:
createDataSetStatus
Supporting modules:
createDataSetStatus_FunctionMetadata.m
createDataSetStatus_FunctionProfiles.m
createDataSetStatus_FunctionTechnicalData.m
createDataSetStatus_FunctionSections.m
createDataSetStatus_FunctionFigures.m
createDataSetStatus_FunctionReport.m
These modules generate:
- Float metadata
- Profile information
- Technical diagnostics
- Vertical sections
- Figures and visualizations
- Summary reports
Execution logs are stored in:
/log/
Example log files:
createDataSet.log
createDataSetMapLLet.log
createDataSetStatus.log
Argo Spain Team