Skip to content
forked from meteocat/pymica

(py)Meteorological variable Interpolation based on Clustered Analysis

License

Notifications You must be signed in to change notification settings

weatherai/pymica

 
 

Repository files navigation

PyPI Anaconda-Server Badge Documentation Status Build Status Binder

Logo

(py)Meteorological variable Interpolation based on Clustered data Analysis

pyMICA is an interpolation system that combines multiple linear regressions and clustering. The philosophy of MICA is based on an iterative process to reduce the final error of the interpolated field.

The iterativeness of MICA is that there is not a defined number of clusters in which stations are grouped or divided but several number of clusters are considered and the one that performs the best, in terms of RMSE, is selected.

What is MICA and how it works

MICA spatially interpolates meteorological surface observations through multiple linear regressions (MLR) and residual corrections. Two options are available: using a simple MLR for all the surface observations or divide them in clusters.

The first option implies the calculation of a MLR considering all the observations at once and using explanatory variables, such as altitude, distance to coast, latitude and longitude. The second option, uses clusters to classify stations in different groups. This allows to separate stations that may behave differently due to the presence of dissimilar weather conditions. For example, weather stations placed at a similar altitude, ones under the effects of fog and others with clear sky conditions.

A complete explanation of how it works and the idea behind MICA can be found in pyMICA documentation

Installation

To install pyMICA you can have a look at pyMICA installation documentation.

Use

A set of examples were designed to explore the different possibilities of MICA.

Another repository was created to store sample data and the examples in jupyter notebooks pymica-examples

Try the demo | Read the docs

About

(py)Meteorological variable Interpolation based on Clustered Analysis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.6%
  • HTML 6.3%
  • Other 0.1%