Skip to content

Commit

Permalink
deploy: e7282a9
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnefroehlich committed Dec 6, 2024
1 parent cdf4a5b commit f3b5e46
Show file tree
Hide file tree
Showing 9 changed files with 159 additions and 937 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion _sources/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tutorials for making maps 🗺️ and animations 🎦
:gutter: 1

:::{grid-item-card} Tutorial 1 - First figure 🚀 and Subplots / layout
:img-top: \_images/fd70248f75b8b37ee54b3135f77705f98c6d8489eb18b6910184b447d0f0638d.png
:img-top: \_images/595c695c25a21e4711d8c268a368ef6fee13a6d9d7918e1ebdb92d8b0bbd4475.png
:link: ./tut01_firstfigure.html
by [Jing-Hui Tong](https://orcid.org/0009-0002-7195-3071)
+++
Expand Down
2 changes: 1 addition & 1 deletion intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ <h2>📚 Overview of tutorials<a class="headerlink" href="#overview-of-tutorials
<div class="sd-row sd-row-cols-1 sd-row-cols-xs-1 sd-row-cols-sm-1 sd-row-cols-md-1 sd-row-cols-lg-1 sd-g-1 sd-g-xs-1 sd-g-sm-1 sd-g-md-1 sd-g-lg-1 docutils">
<div class="sd-col sd-d-flex-row docutils">
<div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm sd-card-hover docutils">
<img alt="" class="sd-card-img-top" src="_images/fd70248f75b8b37ee54b3135f77705f98c6d8489eb18b6910184b447d0f0638d.png" />
<img alt="" class="sd-card-img-top" src="_images/595c695c25a21e4711d8c268a368ef6fee13a6d9d7918e1ebdb92d8b0bbd4475.png" />
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
Tutorial 1 - First figure 🚀 and Subplots / layout</div>
Expand Down
61 changes: 61 additions & 0 deletions reports/tut03_spe_xarray.err.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
Traceback (most recent call last):
File "/home/runner/micromamba/envs/agu24workshop/lib/python3.12/site-packages/jupyter_cache/executors/utils.py", line 58, in single_nb_execution
executenb(
File "/home/runner/micromamba/envs/agu24workshop/lib/python3.12/site-packages/nbclient/client.py", line 1314, in execute
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/agu24workshop/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped
return loop.run_until_complete(inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/agu24workshop/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/agu24workshop/lib/python3.12/site-packages/nbclient/client.py", line 709, in async_execute
await self.async_execute_cell(
File "/home/runner/micromamba/envs/agu24workshop/lib/python3.12/site-packages/nbclient/client.py", line 1062, in async_execute_cell
await self._check_raise_for_error(cell, cell_index, exec_reply)
File "/home/runner/micromamba/envs/agu24workshop/lib/python3.12/site-packages/nbclient/client.py", line 918, in _check_raise_for_error
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
# Download the dataset from the IRI Data Library
url = "https://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NODC/.WOA09/.Grid-1x1/.Annual/.temperature/.t_an/data.nc"
netcdf_file = pygmt.which(fname=url, download=True)
woa_temp = xr.open_dataset(netcdf_file).isel(time=0)
woa_temp
------------------

----- stderr -----
gmtwhich [ERROR]: Libcurl Error: Timeout was reached
----- stderr -----
gmtwhich [ERROR]: Unable to obtain remote file https://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NODC/.WOA09/.Grid-1x1/.Annual/.temperature/.t_an/data.nc
----- stderr -----
gmtwhich [ERROR]: File https://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NODC/.WOA09/.Grid-1x1/.Annual/.temperature/.t_an/data.nc not found!
------------------

---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Cell In[6], line 3
 1 # Download the dataset from the IRI Data Library
 2 url = "https://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NODC/.WOA09/.Grid-1x1/.Annual/.temperature/.t_an/data.nc"
----> 3 netcdf_file = pygmt.which(fname=url, download=True)
 4 woa_temp = xr.open_dataset(netcdf_file).isel(time=0)
 5 woa_temp

File ~/micromamba/envs/agu24workshop/lib/python3.12/site-packages/pygmt/helpers/decorators.py:609, in use_alias.<locals>.alias_decorator.<locals>.new_module(*args, **kwargs)
 603 msg = (
 604 "Parameters 'Y' and 'yshift' are no longer supported since v0.12.0. "
 605 "Use Figure.shift_origin(yshift=...) instead."
 606 )
 607 raise GMTInvalidInput(msg)
--> 609 return module_func(*args, **kwargs)

File ~/micromamba/envs/agu24workshop/lib/python3.12/site-packages/pygmt/src/which.py:71, in which(fname, **kwargs)
 69 case 0:
 70 _fname = "', '".join(fname) if is_nonstr_iter(fname) else fname
---> 71 raise FileNotFoundError(f"File(s) '{_fname}' not found.")
 72 case 1:
 73 return paths[0]

FileNotFoundError: File(s) 'https://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NODC/.WOA09/.Grid-1x1/.Annual/.temperature/.t_an/data.nc' not found.

2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit f3b5e46

Please sign in to comment.