New proposed function: getWeather

Aperta
#216 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla

Direzione di ricerca

The proposed function is linked from the issue as a standalone getWeather repository; begin by reviewing that repository and its current implementation. The issue describes weather data retrieval, anomaly detection, indicators, and visualization, but does not define a specific change or completion criteria.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi everybody,

Today I am showing a new utility function, getWeather, designed to bring robust statistical analysis and advanced visualization to meteorological data within the FSDA "mind".
Inspired by the workflow and the interactive design of getYahoo, this function provides an end-to-end pipeline: from data retrieval (via Open-Meteo API) to robust anomaly detection and visualization. Given the recent meteorological shifts and the growing need for climate data quality checks, this function is intended to be a reliable "first-look" tool for time-series meteorological assessment.

Image

Screenshot produced by: getWeather("Parma","lastperiod","1mo")

Key Features

  • Pipeline Design: One-step retrieval, cleaning, and structuring of surface weather variables (Temperature, Humidity, Pressure, Wind, Precipitation) into a timetable.

  • Robust Statistics: Implements multivariate anomaly detection using Robust Covariance (robustcov) and Mahalanobis distances, allowing users to spot outliers (e.g., sensor malfunctions or extreme micro-climatic events) without being misled by non-Gaussian noise.

  • Technical Indicators: Uses Exponential Moving Averages (EMA) to identify structural trends in temperature and provides linear regression fitting between Wind Speed and Gusts to assess correlation stability.

  • Advanced Visualization: A custom three-panel diagnostic layout featuring a dark-themed UI, interactive datatips (implemented via DataTipTemplate for optimal performance), and automatic figure exportation.

Next integrations:

I am actively planning to expand this function's capabilities to align with FSDA’s core philosophy:
like integrate MahalFS for a more granular identification of outliers and potential statistical depth also a spatial visualization: Implementing geoplotFS to visualize weather stations or event paths on maps.
Also, am actively exploring API sources or calculation methods to integrate CAPE (Convective Available Potential Energy) and SWT (Severe Weather Threat) indices to enhance forecasting diagnostic power. Also a lot things are now missing (like a proper documentation) but I am going to add on this type of things, as soon as I can.

I am open to every tipe of suggestion, also if you want to try the code or propose some changes, this is the standalone repository of this beta code:

getWeather

Lingua principale
MATLAB
Stelle
30
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UniprJRC/DSwithMATLAB

Tutte le issue di UniprJRC/DSwithMATLAB

Issue simili

Altre issue su MATLAB

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.