New proposed function: getWeather

未关闭
#216 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
MATLAB
星标
30
派生
1
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

UniprJRC/DSwithMATLAB 的其他 Issue

查看 UniprJRC/DSwithMATLAB 的全部 Issue

相似的 Issue

更多 MATLAB Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。