# Spherical magnetic field

**URL:** <https://vapor.discourse.group/t/spherical-magnetic-field/165>\
**Category:** Uncategorized\
**Created:** [December 20, 2021, 10:59am UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165 "2021-12-20T10:59:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![satyam](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/satyam/32/31_2.png) [@satyam](https://vapor.discourse.group/u/satyam)\
**Post date:** [December 20, 2021, 10:59am UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/1 "2021-12-20T10:59:27Z")

</div>

Presently, I use magnetic field in cartesian co-ordinates i.e. Bx, By and Bz. Now, I want to use spherical co-ordinates i.r. Br, Btheta and Bphi. Does VAPOR support this kind of data ?

---

<div class="post-metadata">

**Author:** ![clyne](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@clyne](https://vapor.discourse.group/u/clyne)\
**Post date:** [January 3, 2022, 5:50pm UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/2 "2022-01-03T17:50:30Z")

</div>

Sorry, VAPOR does not presently support spherical coordinates. If this is a feature that you’d like to see in the future I encourage you to open an “enhancement” request on GitHub [here](https://github.com/NCAR/VAPOR/issues)

---

<div class="post-metadata">

**Author:** ![satyam](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/satyam/32/31_2.png) [@satyam](https://vapor.discourse.group/u/satyam)\
**Post date:** [January 4, 2022, 8:44am UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/3 "2022-01-04T08:44:06Z")

</div>

Hi Clyne,

Thanks for your reply. May I ask if you know about any other visualizers in spherical co-ordinates ?

---

<div class="post-metadata">

**Author:** ![Yaqiang](https://avatars.discourse-cdn.com/v4/letter/y/58f4c7/32.png) [@Yaqiang](https://vapor.discourse.group/u/Yaqiang)\
**Post date:** [January 26, 2022, 2:28pm UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/4 "2022-01-26T14:28:25Z")

</div>

MeteInfoLab has preliminary earth spherical coordinates supporting with some examples online: [Earth global 3-D plots — MeteoInfo 3.0 documentation](http://www.meteothink.org/examples/meteoinfolab/plot_types/plot_3d_earth.html). You have to write Jython script to read and plot your data in MeteoInfoLab. Vapor is more powerful for 3D visulization effect and hope it will support spherical coordinates in near future.

---

<div class="post-metadata">

**Author:** ![clyne](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@clyne](https://vapor.discourse.group/u/clyne)\
**Post date:** [February 24, 2022, 10:54pm UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/5 "2022-02-24T22:54:12Z")

</div>

Sorry, i’m now aware of anything that handles spherical coordinates.

---

<div class="post-metadata">

**Author:** ![sandersbud4](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/sandersbud4/32/26_2.png) [@sandersbud4](https://vapor.discourse.group/u/sandersbud4)\
**Post date:** [May 17, 2022, 11:29am UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/6 "2022-05-17T11:29:49Z")

</div>

> [@clyne](#):
>
> Sorry, i’m now aware of anything that handles spherical coordinates

What is it? Can you tell me what you are using to handle spherical coordinates?

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [May 17, 2022, 3:58pm UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/7 "2022-05-17T15:58:59Z")

</div>

@sandersbud4 - I think there’s a typo and @clyne is saying he’s not aware of a 3D visualization tool that handles spherical coordinates. Correct me if I’m mistaken. @Yaqiang is recommending an application called [MeteInfoLab](https://vapor.discourse.group/t/spherical-magnetic-field/165/2#:~:text=Earth%20global%203,5).

I believe [VisIt](https://wci.llnl.gov/simulation/computer-codes/visit) supports spherical coordinates by transforming them onto a cartesian grid. Be aware that VisIt has a steep learning curve.

---

<div class="post-metadata">

**Author:** ![clyne](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@clyne](https://vapor.discourse.group/u/clyne)\
**Post date:** [May 17, 2022, 6:49pm UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/8 "2022-05-17T18:49:06Z")

</div>

Yes, that was a typo. I meant to say that I was not aware of any vis applications that handle spherical coordinates. However, as Scott say VisIt might, and ParaView would be worth a look as well.

---

<div class="post-metadata">

**Author:** ![sandersbud4](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/sandersbud4/32/26_2.png) [@sandersbud4](https://vapor.discourse.group/u/sandersbud4)\
**Post date:** [May 26, 2022, 1:28pm UTC](https://vapor.discourse.group/t/spherical-magnetic-field/165/9 "2022-05-26T13:28:22Z")

</div>

I willl also start using MeteInfoLab. Let’s see how much beneficial it is. However, thanks for the recommendation.
