Skip to main content

pyMICA, Meteorological variable Interpolation basedon Clustered Analysis

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymica-0.0.38.tar.gz (251.3 kB view details)

Uploaded Source

File details

Details for the file pymica-0.0.38.tar.gz.

File metadata

  • Download URL: pymica-0.0.38.tar.gz
  • Upload date:
  • Size: 251.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymica-0.0.38.tar.gz
Algorithm Hash digest
SHA256 a70ff5d7fc48a32423290a0acd33eea7271437cfeb5057db6f86ec6dff0e627f
MD5 ca396bc197961c2e9087d68345dc1c09
BLAKE2b-256 bd61ef20c0f90e22342ed6a18f254ae777f2d52794027d8bfe4aea19b2b2c108

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page