-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtutorial.html
135 lines (123 loc) · 8.02 KB
/
tutorial.html
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tutorial — PyGeode 1.4.1-rc2 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/pygtheme.css" />
<link rel="stylesheet" type="text/css" href="_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css" />
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css" />
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css" />
<link rel="stylesheet" type="text/css" href="_static/sg_gallery-rendered-html.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="shortcut icon" href="_static/pygeode_icon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Getting Started" href="tut_gettingstarted.html" />
<link rel="prev" title="Installing PyGeode" href="install.html" />
<link href="http://fonts.googleapis.com/css?family=Ubuntu:300,300italic,regular,italic,500,500italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700' rel='stylesheet' type='text/css'>
</head><body>
<div class="header" role="banner"><img class="logo" src="_static/pygeode_logo.png" width=79px alt="Logo"/>
<h1 class="heading"><a href="index.html">
<span>PyGeode 1.4.1-rc2 documentation</span></a></h1>
<h2 class="heading"><span>Tutorial</span></h2>
</div>
<div class="topnav" role="navigation" aria-label="top navigation">
<p>
«  <a href="install.html">Installing PyGeode</a>
  ::  
<a class="uplink" href="reference.html">Reference</a>
  ::  
<a class="uplink" href="#">Tutorial</a>
  ::  
<a class="uplink" href="gallery/index.html">Gallery</a>
  ::  
<a href="tut_gettingstarted.html">Getting Started</a>  »
</p>
</div>
<div class="content">
<div class="section" id="tutorial">
<h1>Tutorial<a class="headerlink" href="#tutorial" title="Permalink to this headline">¶</a></h1>
<p>PyGeode is a <a class="reference external" href="http://python.org/">Python</a> library intended to help with the management, analysis, and
visualization of geophysical datasets. It was originally developed with the
intent of dealing with the output of an atmospheric general circulation model
(specifically the Canadian Middle Atmosphere Model), but the library has
been applied to many gridded dataset.</p>
<p>PyGeode is based on a number of existing third party libraries which it uses to
perform the underlying computations and manipulations. Much of the underlying
computation and manipulation is done using <a class="reference external" href="http://numpy.org/">numpy</a>, and PyGeode adopts many of
its conventions. Some use is also made of <a class="reference external" href="http://scipy.org/">scipy</a>, and <a class="reference external" href="http://matplotlib.org/">matplotlib</a> is used for
plotting. At present a small number of routines from the GSL are also used for
interpolation; this may change in the future to remove this dependency.</p>
<p>While there is no strict need to use the <a class="reference external" href="http://ipython.scipy.org/">ipython</a> interpreter, the plotting
features in combination with matplotlib are quite convenient and this tutorial
has been written assuming you are working with this combination. It can also be
run within a jupyter notebook. All the commands given should still work in any
other interpreter.</p>
<p>The tutorial is split up into a series of parts, beginning with a brief
overview the main features of the library and then proceeding through the
different features in greater detail.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tut_gettingstarted.html">Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="tut_basics.html">Basic Operations</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tut_basics.html#selecting-subsets">Selecting subsets</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_basics.html#arithmetic-operations-and-broadcasting-rules">Arithmetic operations and broadcasting rules</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_basics.html#reductions-averages-standard-deviations">Reductions (Averages, Standard deviations)</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_basics.html#reshaping-variables">Reshaping variables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tut_io.html">Variable input and output</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tut_io.html#reading-from-a-single-file">Reading from a single file</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_io.html#reading-from-multiple-files">Reading from multiple files</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_io.html#saving-to-files">Saving to files</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tut_plot.html">Plotting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tut_plot.html#showvar-line-plots">Showvar: Line Plots</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_plot.html#showvar-contour-plots">Showvar: Contour Plots</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tut_axes.html">Working with Axes</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tut_axes.html#constructing-variables-in-memory">Constructing variables in memory</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_axes.html#time-axis-operations">Time Axis Operations</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tut_datasets.html">Working with Datasets</a></li>
<li class="toctree-l1"><a class="reference internal" href="tut_adv.html">Advanced Variable Operations</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tut_adv.html#climatological-statistics">Climatological statistics</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_adv.html#time-averaging">Time averaging</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_adv.html#eofs-correlation-and-regression-analysis">EOFs, correlation, and regression analysis</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_adv.html#integration-differentiation-interpolation-and-smoothing">Integration, Differentiation, Interpolation and Smoothing</a></li>
<li class="toctree-l2"><a class="reference internal" href="tut_adv.html#composites">Composites</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="bottomnav" role="navigation" aria-label="bottom navigation">
<p>
«  <a href="install.html">Installing PyGeode</a>
  ::  
<a class="uplink" href="reference.html">Reference</a>
  ::  
<a class="uplink" href="#">Tutorial</a>
  ::  
<a class="uplink" href="gallery/index.html">Gallery</a>
  ::  
<a href="tut_gettingstarted.html">Getting Started</a>  »
</p>
</div>
<div class="footer" role="contentinfo">
© Copyright 2020, Mike Neish, Peter Hitchcock.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.3.2.
</div>
</body>
</html>