Skip to content

Commit

Permalink
deploy: be100a9
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones committed Dec 8, 2024
1 parent 1f282d7 commit 63270bb
Show file tree
Hide file tree
Showing 8 changed files with 187 additions and 6,236 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
95 changes: 95 additions & 0 deletions reports/tut03_spe_xarray.err.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
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:
------------------
with pygmt.config(GMT_DATA_SERVER="NOAA"):
grid = pygmt.datasets.load_earth_relief(resolution="01d")
grid
------------------

----- stderr -----
gmtread [NOTICE]: Remote data courtesy of GMT data server NOAA [http://noaa.generic-mapping-tools.org]
----- stderr -----
gmtread [NOTICE]: SRTM15 Earth Relief v2.6 at 1x1 arc degrees reduced by Gaussian Cartesian filtering (314.5 km fullwidth) [Tozer et al., 2019].
----- stderr -----
gmtread [NOTICE]: -> Download grid file [112K]: earth_relief_01d_g.grd
----- stderr -----
gmtread [ERROR]: Libcurl Error: Failure when receiving data from the peer
----- stderr -----
gmtread [ERROR]: Unable to obtain remote file @earth_relief_01d_g.grd
----- stderr -----
gmtread [NOTICE]: -> Download grid file [112K]: earth_relief_01d_g.grd
----- stderr -----
gmtread [ERROR]: Libcurl Error: Failure when receiving data from the peer
----- stderr -----
gmtread [ERROR]: Unable to obtain remote file @earth_relief_01d_g.grd
----- stderr -----
gmtread [ERROR]: File @earth_relief_01d_g.grd not found
----- stderr -----
[Session pygmt-session (3)]: Error returned from GMT API: GMT_FILE_NOT_FOUND (16)
------------------

---------------------------------------------------------------------------
GMTCLibError Traceback (most recent call last)
Cell In[2], line 2
 1 with pygmt.config(GMT_DATA_SERVER="NOAA"):
----> 2 grid = pygmt.datasets.load_earth_relief(resolution="01d")
 3 grid

File ~/micromamba/envs/agu24workshop/lib/python3.12/site-packages/pygmt/datasets/earth_relief.py:176, in load_earth_relief(resolution, region, registration, data_source, use_srtm)
 174 case "gebco" | "gebcosi":
 175 name = "earth_gebco"
--> 176 grid = _load_remote_dataset(
 177  name=name,
 178  prefix=prefix,
 179  resolution=resolution,
 180  region=region,
 181  registration=registration,
 182 )
 183 return grid

File ~/micromamba/envs/agu24workshop/lib/python3.12/site-packages/pygmt/helpers/decorators.py:773, in kwargs_to_strings.<locals>.converter.<locals>.new_module(*args, **kwargs)
 770 bound.arguments["kwargs"][arg] = newvalue
 772 # Execute the original function and return its output
--> 773 return module_func(*bound.args, **bound.kwargs)

File ~/micromamba/envs/agu24workshop/lib/python3.12/site-packages/pygmt/datasets/load_remote_dataset.py:416, in _load_remote_dataset(name, prefix, resolution, region, registration)
 414 with Session() as lib:
 415 with lib.virtualfile_out(kind="grid") as voutgrd:
--> 416 lib.call_module(
 417  module="read",
 418  args=[fname, voutgrd, *build_arg_list(kwdict)],
 419  )
 420 grid = lib.virtualfile_to_raster(outgrid=None, vfname=voutgrd)
 422 # Full path to the grid if not tiled grids.

File ~/micromamba/envs/agu24workshop/lib/python3.12/site-packages/pygmt/clib/session.py:656, in Session.call_module(self, module, args)
 654 status = c_call_module(self.session_pointer, module.encode(), mode, argv)
 655 if status != 0:
--> 656 raise GMTCLibError(
 657 f"Module '{module}' failed with status code {status}:\n{self._error_message}"
 658 )

GMTCLibError: Module 'read' failed with status code 16:
gmtread [ERROR]: Libcurl Error: Failure when receiving data from the peer
gmtread [ERROR]: Unable to obtain remote file @earth_relief_01d_g.grd
gmtread [ERROR]: Libcurl Error: Failure when receiving data from the peer
gmtread [ERROR]: Unable to obtain remote file @earth_relief_01d_g.grd
gmtread [ERROR]: File @earth_relief_01d_g.grd not found

2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit 63270bb

Please sign in to comment.