Skip to content

Commit ab24254

Browse files
committed
Built site for gh-pages
1 parent 49c15fc commit ab24254

12 files changed

Lines changed: 56 additions & 42 deletions

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cfe4617c
1+
d9c15ae3

Interoperability.html

Lines changed: 41 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -468,26 +468,20 @@ <h3 class="anchored" data-anchor-id="dataframes">DataFrames</h3>
468468
<ul>
469469
<li>Create and plot a DataFrame</li>
470470
</ul>
471-
<div id="47b07d97" class="cell" data-execution_count="1">
471+
<div id="f81196ec" class="cell" data-execution_count="1">
472472
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span>, <span class="bu">DataFrames</span></span>
473473
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>df <span class="op">=</span> <span class="fu">DataFrame</span>(t <span class="op">=</span> <span class="fl">1</span><span class="op">:</span><span class="fl">10</span>, series1 <span class="op">=</span> <span class="fu">sin</span>.(<span class="fl">1</span><span class="op">:</span><span class="fl">10</span>), series2<span class="op">=</span><span class="fu">rand</span>(<span class="fl">10</span>));</span>
474474
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="fu">plot</span>(df, show<span class="op">=</span><span class="cn">true</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
475-
<div class="cell-output cell-output-stderr">
476-
<div class="ansi-escaped-output">
477-
<pre><span class="ansi-cyan-fg ansi-bold">[ </span><span class="ansi-cyan-fg ansi-bold">Info: </span>Precompiling GMTDataFramesExt [b0121151-b40e-578b-8798-214dacfa5da6]
478-
</pre>
479-
</div>
480-
</div>
481475
<div class="cell-output cell-output-display">
482476
<div>
483477
<figure class="figure">
484-
<p><img src="Interoperability_files/figure-html/cell-2-output-2.png" class="img-fluid figure-img"></p>
478+
<p><img src="Interoperability_files/figure-html/cell-2-output-1.png" class="img-fluid figure-img"></p>
485479
</figure>
486480
</div>
487481
</div>
488482
</div>
489483
<p>But one problem with the above solution is that although the <code>df</code> has three columns it only plotted a single curve. This happens because in GMT 3rd and on columns may be used to control color, symbol sizes etc and cannot therefore be assumed to <em>plotting data</em> by default. If we want that all columns are interpreted as data, we use the <code>multicol</code> option, like:</p>
490-
<div id="45806737" class="cell" data-execution_count="2">
484+
<div id="9d9dcd0d" class="cell" data-execution_count="2">
491485
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb2"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span>, <span class="bu">DataFrames</span></span>
492486
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a></span>
493487
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a>df <span class="op">=</span> <span class="fu">DataFrame</span>(t <span class="op">=</span> <span class="fl">1</span><span class="op">:</span><span class="fl">10</span>, series1 <span class="op">=</span> <span class="fu">sin</span>.(<span class="fl">1</span><span class="op">:</span><span class="fl">10</span>), series2<span class="op">=</span><span class="fu">rand</span>(<span class="fl">10</span>));</span>
@@ -582,31 +576,51 @@ <h3 class="anchored" data-anchor-id="rasters">Rasters</h3>
582576
<span id="cb8-5"><a href="#cb8-5" aria-hidden="true" tabindex="-1"></a>A <span class="op">=</span> <span class="fu">Raster</span>(WorldClim{BioClim}, <span class="fl">5</span>);</span>
583577
<span id="cb8-6"><a href="#cb8-6" aria-hidden="true" tabindex="-1"></a><span class="fu">viz</span>(A, colorbar<span class="op">=</span><span class="cn">true</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
584578
<p><img src=".\assets/world_clim_bio_clim.png" class="center img-fluid" style="width:80.0%"></p>
585-
<p>begin{examplefig}{}</p>
586-
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb9"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span>, <span class="bu">Rasters</span></span>
579+
<div id="2aa2cfb5" class="cell" data-execution_count="3">
580+
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb9"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span>, <span class="bu">Rasters</span></span>
587581
<span id="cb9-2"><a href="#cb9-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> <span class="bu">NCDatasets</span></span>
588582
<span id="cb9-3"><a href="#cb9-3" aria-hidden="true" tabindex="-1"></a></span>
589583
<span id="cb9-4"><a href="#cb9-4" aria-hidden="true" tabindex="-1"></a>url <span class="op">=</span> <span class="st">"https://archive.unidata.ucar.edu/software/netcdf/examples/tos_O1_2001-2002.nc"</span>;</span>
590584
<span id="cb9-5"><a href="#cb9-5" aria-hidden="true" tabindex="-1"></a>filename <span class="op">=</span> <span class="fu">download</span>(url, <span class="st">"tos_O1_2001-2002.nc"</span>);</span>
591585
<span id="cb9-6"><a href="#cb9-6" aria-hidden="true" tabindex="-1"></a>A <span class="op">=</span> <span class="fu">Raster</span>(filename);</span>
592586
<span id="cb9-7"><a href="#cb9-7" aria-hidden="true" tabindex="-1"></a><span class="fu">viz</span>(A[Ti<span class="op">=</span><span class="fl">6</span>], proj<span class="op">=:</span>guess, coast<span class="op">=</span><span class="cn">true</span>, colorbar<span class="op">=</span><span class="cn">true</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
593-
<p>begin{examplefig}{}</p>
594-
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb10"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span>, <span class="bu">Rasters</span></span>
595-
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> <span class="bu">NCDatasets</span></span>
596-
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true" tabindex="-1"></a>url <span class="op">=</span> <span class="st">"https://archive.unidata.ucar.edu/software/netcdf/examples/tos_O1_2001-2002.nc"</span>;</span>
597-
<span id="cb10-4"><a href="#cb10-4" aria-hidden="true" tabindex="-1"></a>filename <span class="op">=</span> <span class="fu">download</span>(url, <span class="st">"tos_O1_2001-2002.nc"</span>);</span>
598-
<span id="cb10-5"><a href="#cb10-5" aria-hidden="true" tabindex="-1"></a>A <span class="op">=</span> <span class="fu">Raster</span>(filename);</span>
599-
<span id="cb10-6"><a href="#cb10-6" aria-hidden="true" tabindex="-1"></a><span class="fu">viz</span>(A[Ti<span class="op">=</span><span class="fl">1</span><span class="op">:</span><span class="fl">6</span>], proj<span class="op">=:</span>Robinson, coast<span class="op">=</span><span class="cn">true</span>, colorbar<span class="op">=</span><span class="cn">true</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
587+
<div class="cell-output cell-output-display">
588+
<div>
589+
<figure class="figure">
590+
<p><img src="Interoperability_files/figure-html/cell-4-output-1.png" class="img-fluid figure-img"></p>
591+
</figure>
592+
</div>
593+
</div>
594+
</div>
595+
<div id="b2d56fc5" class="cell" data-execution_count="4">
596+
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb10"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a>url <span class="op">=</span> <span class="st">"https://archive.unidata.ucar.edu/software/netcdf/examples/tos_O1_2001-2002.nc"</span>;</span>
597+
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true" tabindex="-1"></a>filename <span class="op">=</span> <span class="fu">download</span>(url, <span class="st">"tos_O1_2001-2002.nc"</span>);</span>
598+
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true" tabindex="-1"></a>A <span class="op">=</span> <span class="fu">Raster</span>(filename);</span>
599+
<span id="cb10-4"><a href="#cb10-4" aria-hidden="true" tabindex="-1"></a><span class="fu">viz</span>(A[Ti<span class="op">=</span><span class="fl">1</span><span class="op">:</span><span class="fl">6</span>], proj<span class="op">=:</span>Robinson, coast<span class="op">=</span><span class="cn">true</span>, colorbar<span class="op">=</span><span class="cn">true</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
600+
<div class="cell-output cell-output-display">
601+
<div>
602+
<figure class="figure">
603+
<p><img src="Interoperability_files/figure-html/cell-5-output-1.png" class="img-fluid figure-img"></p>
604+
</figure>
605+
</div>
606+
</div>
607+
</div>
600608
<p>But <em>I Don’t like Kelvins</em>. Fine, want centigrade? Just offset the <em>z</em> values.</p>
601-
<p>begin{examplefig}{}</p>
602-
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb11"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span>, <span class="bu">Rasters</span></span>
603-
<span id="cb11-2"><a href="#cb11-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> <span class="bu">NCDatasets</span></span>
604-
<span id="cb11-3"><a href="#cb11-3" aria-hidden="true" tabindex="-1"></a>url <span class="op">=</span> <span class="st">"https://archive.unidata.ucar.edu/software/netcdf/examples/tos_O1_2001-2002.nc"</span>;</span>
605-
<span id="cb11-4"><a href="#cb11-4" aria-hidden="true" tabindex="-1"></a>filename <span class="op">=</span> <span class="fu">download</span>(url, <span class="st">"tos_O1_2001-2002.nc"</span>);</span>
606-
<span id="cb11-5"><a href="#cb11-5" aria-hidden="true" tabindex="-1"></a>A <span class="op">=</span> <span class="fu">Raster</span>(filename);</span>
607-
<span id="cb11-6"><a href="#cb11-6" aria-hidden="true" tabindex="-1"></a></span>
608-
<span id="cb11-7"><a href="#cb11-7" aria-hidden="true" tabindex="-1"></a>G <span class="op">=</span> <span class="fu">mat2grid</span>(A[Ti<span class="op">=</span><span class="fl">1</span><span class="op">:</span><span class="fl">6</span>], offset<span class="op">=-</span><span class="fl">273.15</span>);</span>
609-
<span id="cb11-8"><a href="#cb11-8" aria-hidden="true" tabindex="-1"></a><span class="fu">viz</span>(G, proj<span class="op">=:</span>Robinson, coast<span class="op">=</span><span class="cn">true</span>, colorbar<span class="op">=</span><span class="cn">true</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
609+
<div id="65ede19e" class="cell" data-execution_count="5">
610+
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb11"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a>url <span class="op">=</span> <span class="st">"https://archive.unidata.ucar.edu/software/netcdf/examples/tos_O1_2001-2002.nc"</span>;</span>
611+
<span id="cb11-2"><a href="#cb11-2" aria-hidden="true" tabindex="-1"></a>filename <span class="op">=</span> <span class="fu">download</span>(url, <span class="st">"tos_O1_2001-2002.nc"</span>);</span>
612+
<span id="cb11-3"><a href="#cb11-3" aria-hidden="true" tabindex="-1"></a>A <span class="op">=</span> <span class="fu">Raster</span>(filename);</span>
613+
<span id="cb11-4"><a href="#cb11-4" aria-hidden="true" tabindex="-1"></a></span>
614+
<span id="cb11-5"><a href="#cb11-5" aria-hidden="true" tabindex="-1"></a>G <span class="op">=</span> <span class="fu">mat2grid</span>(A[Ti<span class="op">=</span><span class="fl">1</span><span class="op">:</span><span class="fl">6</span>], offset<span class="op">=-</span><span class="fl">273.15</span>);</span>
615+
<span id="cb11-6"><a href="#cb11-6" aria-hidden="true" tabindex="-1"></a><span class="fu">viz</span>(G, proj<span class="op">=:</span>Robinson, coast<span class="op">=</span><span class="cn">true</span>, colorbar<span class="op">=</span><span class="cn">true</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
616+
<div class="cell-output cell-output-display">
617+
<div>
618+
<figure class="figure">
619+
<p><img src="Interoperability_files/figure-html/cell-6-output-1.png" class="img-fluid figure-img"></p>
620+
</figure>
621+
</div>
622+
</div>
623+
</div>
610624

611625

612626
</section>
44.2 KB
Loading
4.12 KB
Loading
350 KB
Loading
350 KB
Loading
633 KB
Loading
633 KB
Loading

documentation.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -418,49 +418,49 @@ <h1 class="title">Documentation</h1>
418418

419419
<p>Browse through the different sections below to learn about the various modules, utilities, and features available.</p>
420420
<div class="grid">
421-
<div class="g-col-12 g-col-md-4">
421+
<div class="g-col-6 g-col-md-4">
422422
<section id="modules" class="level3 card h-100">
423423
<h3 class="anchored" data-anchor-id="modules"><a href="./documentation/modules.html">Modules</a></h3>
424424
<p>Complete reference for all GMT plotting and processing modules like <code>plot</code>, <code>coast</code>, <code>grdimage</code>, and more.</p>
425425
</section>
426426
</div>
427-
<div class="g-col-12 g-col-md-4">
427+
<div class="g-col-6 g-col-md-4">
428428
<section id="gmt.jl-types" class="level3 card h-100">
429429
<h3 class="anchored" data-anchor-id="gmt.jl-types"><a href="documentation/general/types.html">GMT.jl Types</a></h3>
430430
<p>Essential data types: GMTgrid, GMTimage, GMTdataset, GMTcpt, GMTps, and GMTfv with complete field descriptions.</p>
431431
</section>
432432
</div>
433-
<div class="g-col-12 g-col-md-4">
433+
<div class="g-col-6 g-col-md-4">
434434
<section id="gmt.jl-extensions" class="level3 card h-100">
435435
<h3 class="anchored" data-anchor-id="gmt.jl-extensions"><a href="documentation/extensions.html">GMT.jl Extensions</a></h3>
436436
<p>High-level plotting functions and data access utilities: earthregions, pcolor, quiver, weather data, and geophysical tools.</p>
437437
</section>
438438
</div>
439-
<div class="g-col-12 g-col-md-4">
439+
<div class="g-col-6 g-col-md-4">
440440
<section id="gdal-functions" class="level3 card h-100">
441441
<h3 class="anchored" data-anchor-id="gdal-functions"><a href="documentation/gdalfuns.html">GDAL Functions</a></h3>
442442
<p>Geospatial data processing functions using GDAL/OGR for format conversion, projections, and geometric operations.</p>
443443
</section>
444444
</div>
445-
<div class="g-col-12 g-col-md-4">
445+
<div class="g-col-6 g-col-md-4">
446446
<section id="solids" class="level3 card h-100">
447447
<h3 class="anchored" data-anchor-id="solids"><a href="documentation/solids.html">Solids</a></h3>
448448
<p>Functions for creating and manipulating 3D geometric solids, platonic shapes, and mesh structures.</p>
449449
</section>
450450
</div>
451-
<div class="g-col-12 g-col-md-4">
451+
<div class="g-col-6 g-col-md-4">
452452
<section id="image-processing" class="level3 card h-100">
453453
<h3 class="anchored" data-anchor-id="image-processing"><a href="documentation/imgproc.html">Image Processing</a></h3>
454454
<p>Image processing functions including morphological operations, filtering, segmentation, and color space conversions.</p>
455455
</section>
456456
</div>
457-
<div class="g-col-12 g-col-md-4">
457+
<div class="g-col-6 g-col-md-4">
458458
<section id="common-features" class="level3 card h-100">
459459
<h3 class="anchored" data-anchor-id="common-features"><a href="documentation/common_features.html">Common Features</a></h3>
460460
<p>Learn about colors, pens, fonts, symbols, and other features used across GMT functions.</p>
461461
</section>
462462
</div>
463-
<div class="g-col-12 g-col-md-4">
463+
<div class="g-col-6 g-col-md-4">
464464
<section id="alphabetical-list" class="level3 card h-100">
465465
<h3 class="anchored" data-anchor-id="alphabetical-list"><a href="documentation/alphabetical.html">Alphabetical List</a></h3>
466466
<p>Complete alphabetical listing of all 308 documented functions with quick links and category information.</p>

documentation/extensions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,8 @@ <h2 class="anchored" data-anchor-id="plotting-extensions">Plotting Extensions</h
710710
<h2 class="anchored" data-anchor-id="data-processing">Data Processing</h2>
711711
<p>Functions for data smoothing, filtering, and statistical analysis.</p>
712712
<div class="grid">
713-
<div class="card h-100">
714713
<div class="g-col-12 g-col-sm-6 g-col-md-4 g-col-lg-2">
714+
<div class="card h-100">
715715
<p><a href="utilities/autocor.html">autocor</a> <a href="utilities/autocor.html"><img src="modules/assets/autocor_logo.jpg" class="card-img-top img-fluid"></a></p>
716716
<div class="card-body">
717717
<p>Autocorrelation function.</p>

0 commit comments

Comments
 (0)