<p>I want to apply PCA to geopotential height (obtained from ERA5) to find the patterns. The way  have created the dataset is: The columns are different locations (latitude/longitute) and the rows are different time steps. The values are geopotential height a different location at different times. I ran pca in this dataset I would like to create the maps of the patterns (see the picture an example). I am not sure how to do this. Should I plot the eigenvectors for each PCA as a contour plot? I can see that in the picture there is the geopotential height and not the eigenvectors. Any help woould be great!
<a href="https://i.sstatic.net/11a5l.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/11a5l.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2022-04-12T11:28:37.543Z
Have you taken a look at the eigenfaces algorithm? That might give you a better idea of how to approach it.
BarocliniCplusplus
<meteorology><statistics>
Plot maps from principal component analysis to geopotential height
les2004
# Plot maps from principal component analysis to geopotential height

(Asked by: username_0 on 2022-04-12)

I want to apply PCA to geopotential height (obtained from ERA5) to find the patterns. The way have created the dataset is: The columns are different locations (latitude/longitute) and the rows are different time steps. The values are geopotential height a different location at different times. I ran pca in this dataset I would like to create the maps of the patterns (see the picture an example). I am not sure how to do this. Should I plot the eigenvectors for each PCA as a contour plot? I can see that in the picture there is the geopotential height and not the eigenvectors. Any help woould be great!
[![enter image description here](https://i.sstatic.net/11a5l.png)](https://i.sstatic.net/11a5l.png)

**Tags:** meteorology, statistics

> **Comments:**
> **username_1**: Have you taken a look at the eigenfaces algorithm? That might give you a better idea of how to approach it.  

---

## 0 answers

