# Python map\_coordinates() equivalent in Julia

**URL:** <https://discourse.julialang.org/t/python-map-coordinates-equivalent-in-julia/117461>\
**Category:** General Usage\
**Tags:** question, interpolations\
**Created:** [July 25, 2024, 10:14am UTC](https://discourse.julialang.org/t/python-map-coordinates-equivalent-in-julia/117461 "2024-07-25T10:14:51Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Post date:** [July 31, 2024, 9:29am UTC](https://discourse.julialang.org/t/python-map-coordinates-equivalent-in-julia/117461/23 "2024-07-31T09:29:15Z")

</div>

Tha is not how this works.  
Please read (already linked, but I am not sure you read it)

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

point 4.

I will especially not download source code, files and do a full setup of stuff to maybe reproduce your error locally – because it might also just be that our setups are different or so.

For the error you currently get: Yes, that tells you that the two elements of your vector are matrices and the function we already wrote for you expects a vector of two SVectors.

So maybe think about how you can turn your two matrices into SVectors. That is probably domain specific.

In general, this interpretation of the error message is no magic, please learn how to read them, then you can infer that yourself.

---

_[View the full topic](https://discourse.julialang.org/t/python-map-coordinates-equivalent-in-julia/117461)._
