<p>Yes, but it will not be a very good dataset. You will only be limited to the size of the dataset.</p>

<p>You can use Python's <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.griddata.html" rel="nofollow noreferrer">griddata function</a>. But of course, you will need to make your grid before using the function. Or you can use the <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp2d.html#scipy.interpolate.interp2d" rel="nofollow noreferrer">interp2d function</a>.</p>

CC BY-SA 4.0
2018-06-22T21:48:14.283Z
2018-06-22T21:48:14.283Z
BarocliniCplusplus
<p>I have daily spatiotemporal  data with covariates at 10 different locations. My question is <strong><em>is it possible to convert my data</em></strong> into a grid format? </p>

CC BY-SA 4.0
2018-06-22T03:17:07.073Z
Hello, and welcome to Stack Exchange. I'm no expert, but I'm guessing that even the experts would have trouble understanding what you mean. A few more sentences of explanation would really help.
Daniel Griscom
CC BY-SA 4.0
2018-06-22T08:25:57.857Z
The answer is almost certainly "Yes". But if you want more help you'll need to give a *lot* more detail on what you're trying to do, and perhaps what tools you have to do it.
Semidiurnal Simon
CC BY-SA 4.0
2018-06-23T12:19:01.433Z
Please do expand.  My mental image right now is taht you have 10 locations with a whole bunch of data for each one.  10 points isn't much of a grid.  When I've used digital elevation models, I've found that you have to be at least two rows from the edge to get reasonable interpolations (bicubic)
Sherwood Botsford
<temperature><climate-models><earth-system><geospatial><grid-spacing>
Creating regular grid for my data?
Antonio
# Creating regular grid for my data?

(Asked by: username_0 on 2018-06-21)

I have daily spatiotemporal data with covariates at 10 different locations. My question is ***is it possible to convert my data*** into a grid format?

**Tags:** temperature, climate-models, earth-system, geospatial, grid-spacing

> **Comments:**
> **username_1**: Hello, and welcome to Stack Exchange. I'm no expert, but I'm guessing that even the experts would have trouble understanding what you mean. A few more sentences of explanation would really help.  
> **username_2**: The answer is almost certainly "Yes". But if you want more help you'll need to give a *lot* more detail on what you're trying to do, and perhaps what tools you have to do it.  
> **username_3**: Please do expand.  My mental image right now is taht you have 10 locations with a whole bunch of data for each one.  10 points isn't much of a grid.  When I've used digital elevation models, I've found that you have to be at least two rows from the edge to get reasonable interpolations (bicubic)  

---

## 1 answers

### Answer by username_4 on 2018-06-22. Score: 1

Yes, but it will not be a very good dataset. You will only be limited to the size of the dataset.

You can use Python's [griddata function](https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.griddata.html). But of course, you will need to make your grid before using the function. Or you can use the [interp2d function](https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp2d.html#scipy.interpolate.interp2d).


---

