Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmarsden committed May 31, 2024
1 parent 9839d02 commit 0b3b56a
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 103 deletions.
84 changes: 42 additions & 42 deletions 04_creating_a_cfnetcdf_file.html
Original file line number Diff line number Diff line change
Expand Up @@ -689,10 +689,10 @@ <h3>2D variable<a class="headerlink" href="#id1" title="Permalink to this headin
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> [,1] [,2]
[1,] 8.034011 8.437074
[2,] 2.260599 1.005279
[3,] 3.927085 3.745365
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> [,1] [,2]
[1,] 0.006746668 7.072877
[2,] 2.427205718 7.512966
[3,] 3.995843008 8.875598
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -729,10 +729,10 @@ <h3>2D variable<a class="headerlink" href="#id1" title="Permalink to this headin
}
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> [,1] [,2]
[1,] 8.034011 8.437074
[2,] 2.260599 1.005279
[3,] 3.927085 3.745365
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> [,1] [,2]
[1,] 0.006746668 7.072877
[2,] 2.427205718 7.512966
[3,] 3.995843008 8.875598
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -778,23 +778,23 @@ <h3>3D variable<a class="headerlink" href="#id2" title="Permalink to this headin
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>, , 1

[,1] [,2] [,3]
[1,] 1.8087697 0.45186710 1.4684709
[2,] 0.6814467 0.07818847 0.2026943
[3,] 1.0695545 1.95063590 0.7389925
[4,] 0.8081965 1.43157722 1.1279601
[5,] 1.7487701 0.47276068 0.7219216
[6,] 1.3397323 0.54939109 0.2474227
[,1] [,2] [,3]
[1,] 0.7378683 0.7632724 1.3497407
[2,] 1.1297617 0.7281608 0.3089237
[3,] 0.8852834 0.8071538 1.4563060
[4,] 1.6461949 1.4149698 0.3467044
[5,] 1.2651997 1.6330159 1.9648974
[6,] 0.4972041 1.0990290 1.9946141

, , 2

[,1] [,2] [,3]
[1,] 0.644231836 1.6020493 1.2911597
[2,] 0.787713357 0.7182773 0.8815767
[3,] 0.590975987 0.4571833 1.8764780
[4,] 1.223520183 1.8563539 1.6777895
[5,] 0.571337907 1.0227600 0.5588057
[6,] 0.001770003 0.3651432 1.7330012
[,1] [,2] [,3]
[1,] 1.9005102 1.0983505 1.4121690
[2,] 1.2623425 0.7391690 1.5924651
[3,] 1.1554081 0.8991226 0.2394562
[4,] 0.9192146 1.0971142 0.9754731
[5,] 0.3057705 0.3559349 0.8854389
[6,] 1.3503461 0.4055826 0.5901712
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>netcdf classic {
Expand Down Expand Up @@ -862,12 +862,12 @@ <h3>3D data from data frame<a class="headerlink" href="#d-data-from-data-frame"
<tr><th></th><th scope=col>&lt;dbl&gt;</th><th scope=col>&lt;dbl&gt;</th><th scope=col>&lt;dbl&gt;</th><th scope=col>&lt;dbl&gt;</th></tr>
</thead>
<tbody>
<tr><th scope=row>1</th><td>0</td><td>78.5271</td><td>30.1515</td><td>30.48420</td></tr>
<tr><th scope=row>2</th><td>0</td><td>78.5271</td><td>28.5810</td><td>32.75804</td></tr>
<tr><th scope=row>3</th><td>0</td><td>79.2316</td><td>30.1515</td><td>33.73786</td></tr>
<tr><th scope=row>4</th><td>0</td><td>79.2316</td><td>28.5810</td><td>31.32041</td></tr>
<tr><th scope=row>5</th><td>0</td><td>80.3261</td><td>30.1515</td><td>34.14508</td></tr>
<tr><th scope=row>6</th><td>0</td><td>80.3261</td><td>28.5810</td><td>33.67534</td></tr>
<tr><th scope=row>1</th><td>0</td><td>78.5271</td><td>30.1515</td><td>34.95121</td></tr>
<tr><th scope=row>2</th><td>0</td><td>78.5271</td><td>28.5810</td><td>31.38647</td></tr>
<tr><th scope=row>3</th><td>0</td><td>79.2316</td><td>30.1515</td><td>33.82106</td></tr>
<tr><th scope=row>4</th><td>0</td><td>79.2316</td><td>28.5810</td><td>32.84098</td></tr>
<tr><th scope=row>5</th><td>0</td><td>80.3261</td><td>30.1515</td><td>33.13868</td></tr>
<tr><th scope=row>6</th><td>0</td><td>80.3261</td><td>28.5810</td><td>34.76885</td></tr>
</tbody>
</table>
</div></div>
Expand All @@ -884,22 +884,22 @@ <h3>3D data from data frame<a class="headerlink" href="#d-data-from-data-frame"
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>, , 1

[,1] [,2] [,3]
[1,] 30.48420 32.82361 32.37563
[2,] 32.75804 34.72075 34.13655
[3,] 33.73786 34.51291 33.06232
[4,] 31.32041 31.90242 32.94034
[5,] 34.14508 31.69831 33.91149
[6,] 33.67534 34.25948 33.13260
[1,] 34.95121 33.93619 33.35741
[2,] 31.38647 32.72915 34.35160
[3,] 33.82106 34.21903 33.34154
[4,] 32.84098 30.79808 33.77941
[5,] 33.13868 34.84651 32.41679
[6,] 34.76885 33.91881 30.42228

, , 2

[,1] [,2] [,3]
[1,] 32.10294 33.47275 32.13144
[2,] 31.05402 30.52238 32.34123
[3,] 33.99293 33.16441 30.97250
[4,] 31.27194 33.78216 32.51417
[5,] 30.79433 34.35547 31.50440
[6,] 31.39730 31.31908 34.23854
[1,] 31.31581 33.92391 33.07140
[2,] 32.56664 33.69165 33.14205
[3,] 32.51224 32.38099 32.72667
[4,] 30.85710 32.91478 33.45412
[5,] 34.85481 30.21363 31.70215
[6,] 31.64318 32.51365 34.49260
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -1204,8 +1204,8 @@ <h3>Global attributes<a class="headerlink" href="#global-attributes" title="Perm
NC_FLOAT :geospatial_lat_max = 80.3261032104492 ;
NC_FLOAT :geospatial_lon_min = 28.5809993743896 ;
NC_FLOAT :geospatial_lon_max = 28.5809993743896 ;
NC_CHAR :date_created = &quot;2024-05-31T09:24:41Z&quot; ;
NC_CHAR :history = &quot;File created at 2024-05-31 09:24:41.531842 using RNetCDF by Luke Marsden&quot; ;
NC_CHAR :date_created = &quot;2024-05-31T09:27:13Z&quot; ;
NC_CHAR :history = &quot;File created at 2024-05-31 09:27:13.680088 using RNetCDF by Luke Marsden&quot; ;
}
</pre></div>
</div>
Expand Down
120 changes: 60 additions & 60 deletions _sources/04_creating_a_cfnetcdf_file.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,10 @@
"name": "stdout",
"output_type": "stream",
"text": [
" [,1] [,2]\n",
"[1,] 0.77346586 9.032842\n",
"[2,] 0.03964633 7.159679\n",
"[3,] 3.92452718 7.571301\n"
" [,1] [,2]\n",
"[1,] 8.545844 0.1109658\n",
"[2,] 9.424798 9.7832060\n",
"[3,] 7.721007 0.8924901\n"
]
}
],
Expand Down Expand Up @@ -459,10 +459,10 @@
"\tNC_DOUBLE longitude(longitude) ;\n",
"\tNC_DOUBLE wind_speed(latitude, longitude) ;\n",
"}\n",
" [,1] [,2]\n",
"[1,] 0.77346586 9.032842\n",
"[2,] 0.03964633 7.159679\n",
"[3,] 3.92452718 7.571301\n"
" [,1] [,2]\n",
"[1,] 8.545844 0.1109658\n",
"[2,] 9.424798 9.7832060\n",
"[3,] 7.721007 0.8924901\n"
]
}
],
Expand Down Expand Up @@ -506,23 +506,23 @@
"text": [
", , 1\n",
"\n",
" [,1] [,2] [,3]\n",
"[1,] 1.7004161 1.955777065 1.4064475\n",
"[2,] 1.7766980 0.904674947 0.5630856\n",
"[3,] 1.6867642 0.004097626 1.0430717\n",
"[4,] 1.5545880 1.375149542 0.9470266\n",
"[5,] 0.5877832 0.956152381 0.4840859\n",
"[6,] 1.8587709 0.179453677 0.5899928\n",
" [,1] [,2] [,3]\n",
"[1,] 0.1239051 1.5526169 1.95807295\n",
"[2,] 0.2494255 0.6980053 1.49774125\n",
"[3,] 1.5937238 1.8860254 0.32381620\n",
"[4,] 0.5832430 0.1958096 0.04670831\n",
"[5,] 0.9848992 0.4307285 1.10722462\n",
"[6,] 0.9279292 0.8038382 1.33996936\n",
"\n",
", , 2\n",
"\n",
" [,1] [,2] [,3]\n",
"[1,] 0.82394705 1.8392803 1.96356444\n",
"[2,] 1.82622810 0.1670940 1.51723104\n",
"[3,] 1.93549115 1.6484911 0.64518088\n",
"[4,] 0.06193151 0.4168057 1.21324448\n",
"[5,] 1.56855872 0.3842711 0.80702094\n",
"[6,] 0.10106570 0.4180048 0.07178697\n",
" [,1] [,2] [,3]\n",
"[1,] 0.6497413 1.5855760 1.68364097\n",
"[2,] 1.9036914 0.7319813 0.04942297\n",
"[3,] 0.9022519 0.4442845 1.72852674\n",
"[4,] 1.9450394 1.0896435 1.77550348\n",
"[5,] 1.6606254 1.3824967 0.56195805\n",
"[6,] 1.0965434 1.7947849 0.14155789\n",
"\n",
"netcdf classic {\n",
"dimensions:\n",
Expand Down Expand Up @@ -598,12 +598,12 @@
"\t<tr><th></th><th scope=col>&lt;dbl&gt;</th><th scope=col>&lt;dbl&gt;</th><th scope=col>&lt;dbl&gt;</th><th scope=col>&lt;dbl&gt;</th></tr>\n",
"</thead>\n",
"<tbody>\n",
"\t<tr><th scope=row>1</th><td>0</td><td>78.5271</td><td>30.1515</td><td>34.56838</td></tr>\n",
"\t<tr><th scope=row>2</th><td>0</td><td>78.5271</td><td>28.5810</td><td>32.49089</td></tr>\n",
"\t<tr><th scope=row>3</th><td>0</td><td>79.2316</td><td>30.1515</td><td>31.88859</td></tr>\n",
"\t<tr><th scope=row>4</th><td>0</td><td>79.2316</td><td>28.5810</td><td>34.27060</td></tr>\n",
"\t<tr><th scope=row>5</th><td>0</td><td>80.3261</td><td>30.1515</td><td>31.95127</td></tr>\n",
"\t<tr><th scope=row>6</th><td>0</td><td>80.3261</td><td>28.5810</td><td>33.91914</td></tr>\n",
"\t<tr><th scope=row>1</th><td>0</td><td>78.5271</td><td>30.1515</td><td>32.21895</td></tr>\n",
"\t<tr><th scope=row>2</th><td>0</td><td>78.5271</td><td>28.5810</td><td>31.58569</td></tr>\n",
"\t<tr><th scope=row>3</th><td>0</td><td>79.2316</td><td>30.1515</td><td>31.58496</td></tr>\n",
"\t<tr><th scope=row>4</th><td>0</td><td>79.2316</td><td>28.5810</td><td>33.54369</td></tr>\n",
"\t<tr><th scope=row>5</th><td>0</td><td>80.3261</td><td>30.1515</td><td>34.50118</td></tr>\n",
"\t<tr><th scope=row>6</th><td>0</td><td>80.3261</td><td>28.5810</td><td>33.90649</td></tr>\n",
"</tbody>\n",
"</table>\n"
],
Expand All @@ -613,12 +613,12 @@
" & Depth & Latitude & Longitude & Salinity\\\\\n",
" & <dbl> & <dbl> & <dbl> & <dbl>\\\\\n",
"\\hline\n",
"\t1 & 0 & 78.5271 & 30.1515 & 34.56838\\\\\n",
"\t2 & 0 & 78.5271 & 28.5810 & 32.49089\\\\\n",
"\t3 & 0 & 79.2316 & 30.1515 & 31.88859\\\\\n",
"\t4 & 0 & 79.2316 & 28.5810 & 34.27060\\\\\n",
"\t5 & 0 & 80.3261 & 30.1515 & 31.95127\\\\\n",
"\t6 & 0 & 80.3261 & 28.5810 & 33.91914\\\\\n",
"\t1 & 0 & 78.5271 & 30.1515 & 32.21895\\\\\n",
"\t2 & 0 & 78.5271 & 28.5810 & 31.58569\\\\\n",
"\t3 & 0 & 79.2316 & 30.1515 & 31.58496\\\\\n",
"\t4 & 0 & 79.2316 & 28.5810 & 33.54369\\\\\n",
"\t5 & 0 & 80.3261 & 30.1515 & 34.50118\\\\\n",
"\t6 & 0 & 80.3261 & 28.5810 & 33.90649\\\\\n",
"\\end{tabular}\n"
],
"text/markdown": [
Expand All @@ -627,22 +627,22 @@
"\n",
"| <!--/--> | Depth &lt;dbl&gt; | Latitude &lt;dbl&gt; | Longitude &lt;dbl&gt; | Salinity &lt;dbl&gt; |\n",
"|---|---|---|---|---|\n",
"| 1 | 0 | 78.5271 | 30.1515 | 34.56838 |\n",
"| 2 | 0 | 78.5271 | 28.5810 | 32.49089 |\n",
"| 3 | 0 | 79.2316 | 30.1515 | 31.88859 |\n",
"| 4 | 0 | 79.2316 | 28.5810 | 34.27060 |\n",
"| 5 | 0 | 80.3261 | 30.1515 | 31.95127 |\n",
"| 6 | 0 | 80.3261 | 28.5810 | 33.91914 |\n",
"| 1 | 0 | 78.5271 | 30.1515 | 32.21895 |\n",
"| 2 | 0 | 78.5271 | 28.5810 | 31.58569 |\n",
"| 3 | 0 | 79.2316 | 30.1515 | 31.58496 |\n",
"| 4 | 0 | 79.2316 | 28.5810 | 33.54369 |\n",
"| 5 | 0 | 80.3261 | 30.1515 | 34.50118 |\n",
"| 6 | 0 | 80.3261 | 28.5810 | 33.90649 |\n",
"\n"
],
"text/plain": [
" Depth Latitude Longitude Salinity\n",
"1 0 78.5271 30.1515 34.56838\n",
"2 0 78.5271 28.5810 32.49089\n",
"3 0 79.2316 30.1515 31.88859\n",
"4 0 79.2316 28.5810 34.27060\n",
"5 0 80.3261 30.1515 31.95127\n",
"6 0 80.3261 28.5810 33.91914"
"1 0 78.5271 30.1515 32.21895\n",
"2 0 78.5271 28.5810 31.58569\n",
"3 0 79.2316 30.1515 31.58496\n",
"4 0 79.2316 28.5810 33.54369\n",
"5 0 80.3261 30.1515 34.50118\n",
"6 0 80.3261 28.5810 33.90649"
]
},
"metadata": {},
Expand Down Expand Up @@ -705,22 +705,22 @@
", , 1\n",
"\n",
" [,1] [,2] [,3]\n",
"[1,] 34.56838 32.93422 31.86318\n",
"[2,] 32.49089 32.10054 32.26533\n",
"[3,] 31.88859 33.72093 33.69399\n",
"[4,] 34.27060 31.83628 32.57559\n",
"[5,] 31.95127 33.77021 30.12013\n",
"[6,] 33.91914 30.62351 34.69905\n",
"[1,] 32.21895 34.98492 33.64763\n",
"[2,] 31.58569 30.20269 33.05035\n",
"[3,] 31.58496 30.55627 34.35815\n",
"[4,] 33.54369 30.16331 32.48766\n",
"[5,] 34.50118 30.22314 32.51680\n",
"[6,] 33.90649 34.99465 31.72084\n",
"\n",
", , 2\n",
"\n",
" [,1] [,2] [,3]\n",
"[1,] 30.67602 32.30709 31.99243\n",
"[2,] 31.40821 31.65624 31.18882\n",
"[3,] 34.00115 34.75999 32.04929\n",
"[4,] 34.22613 33.28963 31.90601\n",
"[5,] 33.01301 30.78406 31.43816\n",
"[6,] 32.93256 32.25808 31.10621\n",
"[1,] 32.39111 30.07676 32.11331\n",
"[2,] 34.61355 32.05444 31.09897\n",
"[3,] 33.65684 34.31099 34.20126\n",
"[4,] 32.18367 32.13891 31.57414\n",
"[5,] 30.46860 33.73751 31.67851\n",
"[6,] 31.82211 33.03098 31.14319\n",
"\n"
]
}
Expand Down Expand Up @@ -1084,8 +1084,8 @@
"\t\tNC_FLOAT :geospatial_lat_max = 80.3261032104492 ;\n",
"\t\tNC_FLOAT :geospatial_lon_min = 28.5809993743896 ;\n",
"\t\tNC_FLOAT :geospatial_lon_max = 28.5809993743896 ;\n",
"\t\tNC_CHAR :date_created = \"2024-05-31T09:24:04Z\" ;\n",
"\t\tNC_CHAR :history = \"File created at 2024-05-31 09:24:04.760237 using RNetCDF by Luke Marsden\" ;\n",
"\t\tNC_CHAR :date_created = \"2024-05-31T09:26:54Z\" ;\n",
"\t\tNC_CHAR :history = \"File created at 2024-05-31 09:26:54.348541 using RNetCDF by Luke Marsden\" ;\n",
"}\n"
]
}
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 0b3b56a

Please sign in to comment.