Skip to content

Commit

Permalink
first draft of book ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Marsden committed Feb 21, 2024
1 parent 7ddb401 commit 82b65eb
Show file tree
Hide file tree
Showing 103 changed files with 4,313 additions and 5,311 deletions.

Large diffs are not rendered by default.

33 changes: 0 additions & 33 deletions .ipynb_checkpoints/08_cells_and_cell_methods-checkpoint.ipynb

This file was deleted.

This file was deleted.

81 changes: 41 additions & 40 deletions 02_creating_plots.ipynb

Large diffs are not rendered by default.

429 changes: 214 additions & 215 deletions 05_how_to_structure_your_NetCDF_file_or_files.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 07_combing_data_from_multiple_netcdf_files.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.11.5"
}
},
"nbformat": 4,
Expand Down
Binary file modified _build/.doctrees/01_opening_and_understanding.doctree
Binary file not shown.
Binary file modified _build/.doctrees/02_creating_plots.doctree
Binary file not shown.
Binary file modified _build/.doctrees/03_extracting_data_to_different_formats.doctree
Binary file not shown.
Binary file modified _build/.doctrees/04_creating_a_cfnetcdf_file.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _build/.doctrees/07_combing_data_from_multiple_netcdf_files.doctree
Binary file not shown.
Binary file modified _build/.doctrees/08_ancillary_variables.doctree
Binary file not shown.
Binary file modified _build/.doctrees/09_cells_and_cell_methods.doctree
Binary file not shown.
Binary file modified _build/.doctrees/10_netcdf_files_with_groups.doctree
Binary file not shown.
Binary file modified _build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified _build/.doctrees/intro.doctree
Binary file not shown.
Binary file added _build/.doctrees/notes.doctree
Binary file not shown.
27 changes: 13 additions & 14 deletions _build/html/01_opening_and_understanding.html

Large diffs are not rendered by default.

122 changes: 59 additions & 63 deletions _build/html/02_creating_plots.html

Large diffs are not rendered by default.

230 changes: 120 additions & 110 deletions _build/html/03_extracting_data_to_different_formats.html

Large diffs are not rendered by default.

356 changes: 194 additions & 162 deletions _build/html/04_creating_a_cfnetcdf_file.html

Large diffs are not rendered by default.

1,579 changes: 595 additions & 984 deletions _build/html/05_how_to_structure_your_NetCDF_file_or_files.html

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions _build/html/06_creating_multiple_cfnetcdf_files_in_one_go.html

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions _build/html/07_combing_data_from_multiple_netcdf_files.html

Large diffs are not rendered by default.

25 changes: 7 additions & 18 deletions _build/html/08_ancillary_variables.html

Large diffs are not rendered by default.

41 changes: 15 additions & 26 deletions _build/html/09_cells_and_cell_methods.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions _build/html/10_netcdf_files_with_groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@
<li class="toctree-l1"><a class="reference internal" href="06_creating_multiple_cfnetcdf_files_in_one_go.html">06: Creating multiple CF-NetCDF files in one go</a></li>
<li class="toctree-l1"><a class="reference internal" href="07_combing_data_from_multiple_netcdf_files.html">07: Combining data from multiple netcdf files</a></li>
<li class="toctree-l1"><a class="reference internal" href="08_ancillary_variables.html">08: Ancillary variables</a></li>
<li class="toctree-l1"><a class="reference internal" href="09_cells_and_cell_methods.html">09: Cells and cell methods</a></li>
</ul>

</div>
Expand Down Expand Up @@ -402,12 +401,12 @@ <h1>10: NetCDF files with groups<a class="headerlink" href="#netcdf-files-with-g
<span class="ne">----&gt; </span><span class="mi">3</span> <span class="n">xrds</span> <span class="o">=</span> <span class="n">xr</span><span class="o">.</span><span class="n">open_dataset</span><span class="p">(</span><span class="n">netcdf_file</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">4</span> <span class="nb">print</span><span class="p">(</span><span class="n">xrds</span><span class="p">)</span>

<span class="nn">File ~/anaconda3/lib/python3.11/site-packages/xarray/backends/api.py:547,</span> in <span class="ni">open_dataset</span><span class="nt">(filename_or_obj, engine, chunks, cache, decode_cf, mask_and_scale, decode_times, decode_timedelta, use_cftime, concat_characters, decode_coords, drop_variables, inline_array, chunked_array_type, from_array_kwargs, backend_kwargs, **kwargs)</span>
<span class="g g-Whitespace"> </span><span class="mi">544</span> <span class="n">kwargs</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">backend_kwargs</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">546</span> <span class="k">if</span> <span class="n">engine</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="ne">--&gt; </span><span class="mi">547</span> <span class="n">engine</span> <span class="o">=</span> <span class="n">plugins</span><span class="o">.</span><span class="n">guess_engine</span><span class="p">(</span><span class="n">filename_or_obj</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">549</span> <span class="k">if</span> <span class="n">from_array_kwargs</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="g g-Whitespace"> </span><span class="mi">550</span> <span class="n">from_array_kwargs</span> <span class="o">=</span> <span class="p">{}</span>
<span class="nn">File ~/anaconda3/lib/python3.11/site-packages/xarray/backends/api.py:553,</span> in <span class="ni">open_dataset</span><span class="nt">(filename_or_obj, engine, chunks, cache, decode_cf, mask_and_scale, decode_times, decode_timedelta, use_cftime, concat_characters, decode_coords, drop_variables, inline_array, chunked_array_type, from_array_kwargs, backend_kwargs, **kwargs)</span>
<span class="g g-Whitespace"> </span><span class="mi">550</span> <span class="n">kwargs</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">backend_kwargs</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">552</span> <span class="k">if</span> <span class="n">engine</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="ne">--&gt; </span><span class="mi">553</span> <span class="n">engine</span> <span class="o">=</span> <span class="n">plugins</span><span class="o">.</span><span class="n">guess_engine</span><span class="p">(</span><span class="n">filename_or_obj</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">555</span> <span class="k">if</span> <span class="n">from_array_kwargs</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="g g-Whitespace"> </span><span class="mi">556</span> <span class="n">from_array_kwargs</span> <span class="o">=</span> <span class="p">{}</span>

<span class="nn">File ~/anaconda3/lib/python3.11/site-packages/xarray/backends/plugins.py:197,</span> in <span class="ni">guess_engine</span><span class="nt">(store_spec)</span>
<span class="g g-Whitespace"> </span><span class="mi">189</span> <span class="k">else</span><span class="p">:</span>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 82b65eb

Please sign in to comment.