Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

ex29.rst 1.6 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  1. .. _example_29:
  2. (29) Gridding spherical surface data using splines
  3. --------------------------------------------------
  4. Finally, we demonstrate how gridding on a spherical surface can be
  5. accomplished using Green's functions of surface splines, with or without
  6. tension. Global gridding does not work particularly well in Cartesian
  7. coordinates hence the chosen approach. We use
  8. :doc:`greenspline </greenspline>` to produce a crude
  9. topography grid for Mars based on radii estimates from the Mariner 9 and
  10. Viking Orbiter spacecrafts. This data comes from *Smith and Zuber*
  11. [Science, 1996] and is used here as a small (*N* = 370) remote data set we can
  12. use to demonstrate spherical surface gridding. Since
  13. :doc:`greenspline </greenspline>` must solve a *N* by
  14. *N* matrix system your system memory may impose limits on how large data
  15. sets you can handle; also note that the spherical surface spline in
  16. tension is particularly slow to compute.
  17. Our script must first estimate the ellipsoidal shape of Mars from the
  18. parameters given by *Smith and Zuber* so that we can remove this
  19. reference surface from the gridded radii. We run the gridding twice:
  20. First with no tension using *Parker*\ 's [1990] method and then with
  21. tension using the *Wessel and Becker* [2008] method. The grids are then
  22. imaged with :doc:`grdimage </grdimage>` and
  23. :doc:`grdcontour </grdcontour>` and a color bar is placed between them.
  24. .. literalinclude:: /_verbatim/ex29.txt
  25. :language: bash
  26. .. figure:: /_images/ex29.*
  27. :width: 500 px
  28. :align: center
  29. Gridding of spherical surface data using Green's function splines.
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...