Skip to content

Commit c496b49

Browse files
committed
Built site for gh-pages
1 parent 12df9f9 commit c496b49

7 files changed

Lines changed: 35 additions & 34 deletions

File tree

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8161b2fb
1+
9ec3db8a

documentation/modules.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ <h2 class="anchored" data-anchor-id="supplements">Supplements</h2>
12991299
</div>
13001300
<div class="g-col-6 g-col-sm-6 g-col-md-4 g-col-lg-2">
13011301
<div class="card h-100">
1302-
<p><a href="modules/segy2grd.html">segy2grd</a> <a href="modules/segy2grd.html"><img src="modules/assets/segy2grd_logo.jpg" class="card-img-top img-fluid" style="opacity: 0.25;"></a></p>
1302+
<p><a href="modules/segy2grd.html">segy2grd</a> <a href="modules/segy2grd.html"><img src="modules/assets/segy2grd_logo.jpg" class="img-fluid">{.card-img-top”}</a></p>
13031303
<div class="card-body">
13041304
<p>Converting SEGY data to a grid.</p>
13051305
</div>
@@ -1339,15 +1339,15 @@ <h2 class="anchored" data-anchor-id="supplements">Supplements</h2>
13391339
</div>
13401340
<div class="g-col-6 g-col-sm-6 g-col-md-4 g-col-lg-2">
13411341
<div class="card h-100">
1342-
<p><a href="modules/segy.html">segy</a> <a href="modules/segy.html"><img src="modules/assets/segy_logo.jpg" class="card-img-top img-fluid" style="opacity: 0.25;"></a></p>
1342+
<p><a href="modules/segy.html">segy</a> <a href="modules/segy.html"><img src="modules/assets/segy_logo.jpg" class="img-fluid">{.card-img-top”}</a></p>
13431343
<div class="card-body">
13441344
<p>Plot a SEGY file in 2-D.</p>
13451345
</div>
13461346
</div>
13471347
</div>
13481348
<div class="g-col-6 g-col-sm-6 g-col-md-4 g-col-lg-2">
13491349
<div class="card h-100">
1350-
<p><a href="modules/segyz.html">segyz</a> <a href="modules/segyz.html"><img src="modules/assets/segyz_logo.jpg" class="card-img-top img-fluid" style="opacity: 0.25;"></a></p>
1350+
<p><a href="modules/segyz.html">segyz</a> <a href="modules/segyz.html"><img src="modules/assets/segyz_logo.jpg" class="img-fluid">{.card-img-top”}</a></p>
13511351
<div class="card-body">
13521352
<p>Plot a SEGY file in 3-D.</p>
13531353
</div>

documentation/modules/coast.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -478,14 +478,14 @@ <h1 class="title">coast</h1>
478478
</header>
479479

480480

481-
<div class="code-copy-outer-scaffold"><div class="sourceCode" 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="fu">coast</span>(cmd0<span class="op">::</span><span class="dt">String</span>=<span class="st">""</span>; kwargs<span class="op">...</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
481+
<div class="code-copy-outer-scaffold"><div class="sourceCode" 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="fu">coast</span>(; kwargs<span class="op">...</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
482482
<p>Plot continents, shorelines, rivers, and borders on maps</p>
483483
<section id="description" class="level2">
484484
<h2 class="anchored" data-anchor-id="description">Description</h2>
485485
<p>Plots grayshaded, colored, or textured land-masses [or water-masses] on maps and optionally draws coastlines, rivers, and political boundaries. Alternatively, it can (1) issue clip paths that will contain all land or all water areas, or (2) dump the data to an ASCII table. The data files come in 5 different resolutions: (<strong>f</strong>)ull, (<strong>h</strong>)igh, (<strong>i</strong>)ntermediate, (<strong>l</strong>)ow, and (<strong>c</strong>)rude. The full resolution files amount to more than 55 Mb of data and provide great detail; for maps of larger geographical extent it is more economical to use one of the other resolutions. If the user selects to paint the land-areas and does not specify fill of water-areas then the latter will be transparent (i.e., earlier graphics drawn in those areas will not be overwritten). Likewise, if the water-areas are painted and no land fill is set then the land-areas will be transparent. A map projection must be supplied.</p>
486486
<ul>
487487
<li><p><strong>J</strong> or <strong>proj</strong> or <strong>projection</strong> : – <em>proj=<parameters></parameters></em><br>
488-
Select map projection. More at <code></code> [proj] <!-- {{< include ../common_opts/opt_J.qmd >}} --></p></li>
488+
Select map projection. More at <a href="../../documentation/common_opts/common_opts.html#proj">proj</a></p></li>
489489
<li><p><strong>R</strong> or <strong>region</strong> or <strong>limits</strong> : – <em>limits=(xmin, xmax, ymin, ymax)</em> <strong>|</strong> <em>limits=(BB=(xmin, xmax, ymin, ymax),)</em> <strong>|</strong> <em>limits=(LLUR=(xmin, xmax, ymin, ymax),units=“unit”)</em> <strong>|</strong> …more<br>
490490
Specify the region of interest. More at <a href="../../documentation/common_opts/common_opts.html#limits">limits</a>. For perspective view <strong>view</strong>, optionally add <em>zmin,zmax</em>. This option may be used to indicate the range used for the 3-D axes. You may ask for a larger w/e/s/n region to have more room between the image and the axes.</p></li>
491491
<li><p><strong>-A</strong> or <strong>area</strong> : – <em>area=(min_area[,min_level,max_level]), river_lake=true, lake=true, antarctica_ground=true, skip60S=true, skipN60S=true, percent=pct)</em><br>
@@ -580,17 +580,18 @@ <h2 class="anchored" data-anchor-id="description">Description</h2>
580580
<section id="examples" class="level2">
581581
<h2 class="anchored" data-anchor-id="examples">Examples</h2>
582582
<p>To plot Great Britain, Italy, and France in blue with a red outline and Spain, Portugal and Greece in yellow (no outline), and pick up the plot domain form the extents of these countries, use:</p>
583-
<div id="fe0e91ff" class="cell" data-execution_count="1">
583+
<div id="0ea19127" class="cell" data-execution_count="1">
584584
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb4"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span></span>
585585
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="fu">coast</span>(proj<span class="op">=:</span>Mercator, DCW<span class="op">=</span>((country<span class="op">=</span><span class="st">"GB,IT,FR"</span>, fill<span class="op">=:</span>blue, pen<span class="op">=</span>(<span class="fl">0.25</span>,<span class="op">:</span>red)),</span>
586586
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> (country<span class="op">=</span><span class="st">"ES,PT,GR"</span>, fill<span class="op">=:</span>yellow)), 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>
587587
<div class="cell-output cell-output-stderr">
588588
<div class="ansi-escaped-output">
589589
<pre><span class="ansi-green-fg ansi-bold">Precompiling</span> packages...
590590

591-
61016.3 ms<span class="ansi-green-fg"></span>GMT
592591

593-
1 dependency successfully precompiled in 62 seconds. 80 already precompiled.
592+
57395.3 ms<span class="ansi-green-fg"></span>GMT
593+
594+
1 dependency successfully precompiled in 59 seconds. 80 already precompiled.
594595
</pre>
595596
</div>
596597
</div>
@@ -611,8 +612,8 @@ <h2 class="anchored" data-anchor-id="gshhg-information">GSHHG Information</h2>
611612
<h2 class="anchored" data-anchor-id="source-code">Source Code</h2>
612613
<p>This function has multiple methods:</p>
613614
<ul>
614-
<li><a href="https://github.com/GenericMappingTools/GMT.jl/blob/master/src/pscoast.jl#L78"><code>coast(cmd0::String; clip, first, kwargs...)</code></a> - pscoast.jl:78</li>
615-
<li><a href="https://github.com/GenericMappingTools/GMT.jl/blob/master/src/pscoast.jl#L78"><code>coast(; ...)</code></a> - pscoast.jl:78</li>
615+
<li><a href="https://github.com/GenericMappingTools/GMT.jl/blob/master/src/pscoast.jl#L77"><code>coast(; clip, first, kwargs...)</code></a> - pscoast.jl:77</li>
616+
<li><a href="https://github.com/GenericMappingTools/GMT.jl/blob/master/src/pscoast.jl#L83"><code>coast(cmd::Vector{String}, K::Bool, O::Bool, finish::Bool, get_largest::Bool, toTrack, d::Dict{Symbol, Any})</code></a> - pscoast.jl:83</li>
616617
</ul>
617618

618619

documentation/modules/grd2cpt.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ <h1 class="title">grd2cpt</h1>
489489
<section id="description" class="level2">
490490
<h2 class="anchored" data-anchor-id="description">Description</h2>
491491
<p><strong>grd2cpt</strong> reads one or more grid and computes a static color palette (CPT). Once computed the color palette stays as the current CPT until an image using it is finished, either with the <code>show</code> command or saved to file. The CPT is based on an existing dynamic master CPT of your choice, and the mapping from data value to colors is through the data’s cumulative distribution function (CDF), so that the colors are histogram equalized. Thus if the grid(s) and the resulting CPT are used in <a href="../..\documentation/modules/grdimage.html">grdimage</a> with a linear projection, the colors will be uniformly distributed in area on the plot. Let z be the data values in the grid. Define CDF(Z) = (# of z &lt; Z) / (# of z in grid). (NaNs are ignored). These z-values are then normalized to the master CPT and colors are sampled at the desired intervals.</p>
492-
<p>The color palette includes three additional colors beyond the range of z-values. These are the background color (B) assigned to values lower than the lowest <em>z</em>-value, the foreground color (F) assigned to values higher than the highest <em>z</em>-value, and the NaN color (N) painted wherever values are undefined. For color tables beyond the current GMT offerings, visit <a href="http://soliton.vm.bytemark.co.uk/pub/cpt-city/">cpt-city</a>.</p>
492+
<p>The color palette includes three additional colors beyond the range of z-values. These are the background color (B) assigned to values lower than the lowest <em>z</em>-value, the foreground color (F) assigned to values higher than the highest <em>z</em>-value, and the NaN color (N) painted wherever values are undefined. For color tables beyond the current GMT offerings, visit <a href="https://phillips.shef.ac.uk/pub/cpt-city/">cpt-city</a>.</p>
493493
<p>If the master CPT includes B, F, and N entries, these will be copied into the new master file. If not, the parameters <a href="https://docs.generic-mapping-tools.org/latest/gmt.conf.html#term-COLOR_BACKGROUND">COLOR_BACKGROUND</a>, <a href="https://docs.generic-mapping-tools.org/latest/gmt.conf.html#term-COLOR_FOREGROUND">COLOR_FOREGROUND</a>, and <a href="https://docs.generic-mapping-tools.org/latest/gmt.conf.html#term-COLOR_NAN">COLOR_NAN</a> from the <code>gmt.conf</code> file or the command line will be used. This default behavior can be overruled using the options <strong>bg</strong>, <strong>overrule_bg</strong> or <strong>no_bg</strong>.</p>
494494
<p>The color model (RGB, HSV or CMYK) of the palette created by <a href="../..\documentation/modules/makecpt.html">makecpt</a> will be the same as specified in the header of the master CPT. When there is no <a href="https://docs.generic-mapping-tools.org/latest/gmt.conf.html#term-COLOR_MODEL">COLOR_MODEL</a> entry in the master CPT, the <a href="https://docs.generic-mapping-tools.org/latest/gmt.conf.html#term-COLOR_MODEL">COLOR_MODEL</a> specified in the <code>gmt.conf</code> (see <a href="../..\documentation/modules/gmtset.html">gmtset</a>) file or on the command line will be used.</p>
495495
</section>
@@ -557,7 +557,7 @@ <h2 class="anchored" data-anchor-id="discrete-versus-continuous-cpt">Discrete ve
557557
<section id="examples" class="level2">
558558
<h2 class="anchored" data-anchor-id="examples">Examples</h2>
559559
<p>To get a reasonable and symmetrical color table for the data in the region 0/60/0/60 from the remote 5m relief file, using the geo color table, try:</p>
560-
<div id="ca5d47a4" class="cell" data-execution_count="1">
560+
<div id="9e0c565a" class="cell" data-execution_count="1">
561561
<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>
562562
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="fu">grd2cpt</span>(<span class="st">"@earth_relief_06m_g"</span>, region<span class="op">=</span>(<span class="fl">0</span>,<span class="fl">60</span>,<span class="fl">0</span>,<span class="fl">60</span>), cmap<span class="op">=:</span>geo, symetric<span class="op">=:</span>u)</span>
563563
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="fu">imshow</span>(<span class="st">"@earth_relief_06m_g"</span>, region<span class="op">=</span>(<span class="fl">0</span>,<span class="fl">60</span>,<span class="fl">0</span>,<span class="fl">60</span>), coast<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>
@@ -574,7 +574,7 @@ <h2 class="anchored" data-anchor-id="examples">Examples</h2>
574574
<p>To make a CPT with entries from 0 to 200 in steps of 20, and ignore data below zero in computing CDF(Z), and use the built-in master cpt file relief, run</p>
575575
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a> C <span class="op">=</span> <span class="fu">grd2cpt</span>(<span class="st">"mydata.nc"</span>, cmap<span class="op">=:</span>relief, datarange<span class="op">=</span>(<span class="fl">0</span>,<span class="fl">10000</span>), range<span class="op">=</span>(<span class="fl">0</span>,<span class="fl">200</span>,<span class="fl">20</span>))</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
576576
<p>To determine the empirical cumulative density function of a grid and create a CPT that would give equal area to each color in the image, and return the CDF table as well, try:</p>
577-
<div id="e8fccf42" class="cell" data-execution_count="2">
577+
<div id="93a3065e" class="cell" data-execution_count="2">
578578
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb5"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span></span>
579579
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>C, cdf <span class="op">=</span> <span class="fu">grd2cpt</span>(<span class="st">"@earth_relief_10m_g"</span>, nlevels<span class="op">=</span><span class="st">"11+c+f"</span>);</span>
580580
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="fu">imshow</span>(<span class="st">"@earth_relief_10m_g"</span>, cmap<span class="op">=</span>C)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>

0 commit comments

Comments
 (0)