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?


closed as unclear what you're asking by Semidiurnal Simon, Jan Doggen, farrenthorpe, gansub, Way of the Geophysicist Jun 23 '18 at 8:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    $\begingroup$ 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. $\endgroup$ – Daniel Griscom Jun 22 '18 at 3:17
  • 4
    $\begingroup$ 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. $\endgroup$ – Semidiurnal Simon Jun 22 '18 at 8:25
  • $\begingroup$ 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) $\endgroup$ – Sherwood Botsford Jun 23 '18 at 12:19

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. But of course, you will need to make your grid before using the function. Or you can use the interp2d function.


Not the answer you're looking for? Browse other questions tagged or ask your own question.