<p>if you want pure python</p>

<p><code>conda install cdms2 -c conda-forge</code></p>

<p>then in python:</p>

<p><code>lats = cdms2.createGaussianAxis(128)</code></p>

<p>you can also create a full lat/lon grid:</p>

<p><code>grid = cdms2.createGaussianGrid(128)</code></p>

CC BY-SA 3.0
2017-08-09T14:54:49.837Z
2017-08-09T14:54:49.837Z
Charles Doutriaux
<p>I would like to calculate the latitude values of a <a href="https://en.wikipedia.org/wiki/Gaussian_grid" rel="noreferrer">Gaussian Grid</a> of a size of my choosing. Unfortunately, I didn't find a method or a formula to do so. Where can I find this information? Alternatively, is there a function publicly available that can do the job?</p>

CC BY-SA 3.0
2017-03-16T15:21:09.193Z
What do you mean by calculate? How are you setting the grid up? Latitude is one coordinate of the Gaussian Grid. It is set up like a grid in spherical coordinates.
BarocliniCplusplus
CC BY-SA 3.0
2017-03-16T15:25:14.600Z
The Gaussian grid of a specified size only has points at certain latitudes (as e.g. shown in the image of the linked Wikipedia article). I would like to calculate these latitude values.
Ethunxxx
CC BY-SA 3.0
2017-03-17T08:02:19.083Z
@gansub, I looked it up. You are right! If you like you can post this as an answer and I will then accept it.
Ethunxxx
<meteorology><weather-forecasting><climate-models>
Calculate the latitudes of a Gaussian Grid
Ethunxxx
# Calculate the latitudes of a Gaussian Grid

(Asked by: username_0 on 2017-03-16)

I would like to calculate the latitude values of a [Gaussian Grid](https://en.wikipedia.org/wiki/Gaussian_grid) of a size of my choosing. Unfortunately, I didn't find a method or a formula to do so. Where can I find this information? Alternatively, is there a function publicly available that can do the job?

**Tags:** meteorology, weather-forecasting, climate-models

> **Comments:**
> **username_1**: What do you mean by calculate? How are you setting the grid up? Latitude is one coordinate of the Gaussian Grid. It is set up like a grid in spherical coordinates.  
> **username_0**: The Gaussian grid of a specified size only has points at certain latitudes (as e.g. shown in the image of the linked Wikipedia article). I would like to calculate these latitude values.  
> **username_0**: @gansub, I looked it up. You are right! If you like you can post this as an answer and I will then accept it.  

---

## 1 answers

### Answer by username_2 on 2017-08-09. Score: 4

if you want pure python

`conda install cdms2 -c conda-forge`

then in python:

`lats = cdms2.createGaussianAxis(128)`

you can also create a full lat/lon grid:

`grid = cdms2.createGaussianGrid(128)`


---

