Skip to content

meteocat/pymica

Repository files navigation

Anaconda-Server Badge Documentation Status Binder

drawing

(py)Meteorological variable Interpolation based on Clustered data Analysis

Pymica is a Python library that performs meteorological observation interpolation using various available methodologies: inverse distance weighting, linear regression, multiple linear regression (MLR), and residuals correction. Additionally, the MLR method offers the capability to classify observations into different clusters and compute a specific MLR model for each cluster. This is particularly effective for high spatial and temporal resolution observations, especially when some of them are concurrently influenced by fog, while others experience clear sky conditions. This approach is also useful in regions affected by or prone to thermal inversions.

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

More information can be found in A meteorological analysis interpolation scheme for high spatial-temporal resolution in complex terrain..

If you use pyMICA, please cite us as:

Casellas, E., Bech, J., Veciana, R., Miró, J. R., Sairouni, A., & Pineda, N. (2020). A meteorological analysis interpolation scheme for high spatial-temporal resolution in complex terrain. Atmospheric Research, 246, 105103.

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