Skip to content

PedroVelez/ArgoSpainWebPage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

195 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argo Spain Web Page

DOIMATLAB Bash Leaflet Status License

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

System Overview

Main components:

  • Bash – pipeline organization
  • MATLAB – data processing and product generation
  • Leaflet – interactive web maps
  • HTML outputs – web pages and figures

Repository Structure

.
├── 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/

Processing Workflow

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)

Main Script

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)

MATLAB Modules

Configuration

configWebPage.m

Defines:

  • Directory paths
  • Data locations
  • Website output directories
  • General configuration parameters

Dataset Generation

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

Map Generation

Static maps

Generates static visualizations of float positions.

createDataSetMap.m

Interactive maps

Creates Leaflet-based interactive maps used on the web interface.

createDataSetMapLLet.m

argoesstatus.html : ArgoEspaña status argoregionstatus.html: Iberian Basin region status

Float Status Pages

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

Logs

Execution logs are stored in:

/log/

Example log files:

createDataSet.log
createDataSetMapLLet.log
createDataSetStatus.log

Authors

Argo Spain Team

About

Scripts than update the Argo Spain web page

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors