earthcube2021 / ec21_gray_etal

Leveraging satellite data and pangeo to investigate the role of Gulf Stream frontal dynamics in ocean productivity
3 stars 0 forks source link

notebook doesn't load from myBinder link #1

Open smrgeoinfo opened 3 years ago

smrgeoinfo commented 3 years ago

Try in pangeo binder https://binder.pangeo.io/v2/gh/earthcube2021/ec21_gray_etal/main Notebook opens, but then quits at this: "And now use hvplot to make the plotting interactive and add the ability to move through each time step with the scroll bar on the right."

Command:

chla_ds.chlor_a.hvplot.quadmesh(
    'lon', 'lat', projection=proj, project=True,
    cmap='jet', dynamic=True, coastline='10m', 
    frame_width=300, logz=True, clim=(0.01,20), rasterize=True)

traceback (first line)

---------------------------------------------------------------------------
gaierror                                  Traceback (most recent call last)
/srv/conda/envs/notebook/lib/python3.8/urllib/request.py in do_open(self, http_class, req, **http_conn_args)
   1353             try:
-> 1354                 h.request(req.get_method(), req.selector, req.data, headers,
   1355                           encode_chunked=req.has_header('Transfer-encoding'))

In the middle:

gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

URLError                                  Traceback (most recent call last)

Last line:

/srv/conda/envs/notebook/lib/python3.8/urllib/request.py in do_open(self, http_class, req, **http_conn_args)
   1355                           encode_chunked=req.has_header('Transfer-encoding'))
   1356             except OSError as err: # timeout error
-> 1357                 raise URLError(err)
   1358             r = h.getresponse()
   1359         except:

URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
patrickcgray commented 3 years ago

Hey @smrgeoinfo sorry you had this issue and I didn't get to it sooner. This must have been a strange one time issue I've run the notebooks many times without changing anything and they work for me and I haven't had this error on either pangeo or mybinder.

I think this must've been either because the data didn't properly download or maybe there was a connectivity issue to where I grab it from. Please let me know if you still have this issue.