Skip to content

Issue on page /content/code_gallery/data_access_notebooks/2022-11-25-plan_surf_trip_EDS.html #282

@MathewBiddle

Description

@MathewBiddle

re-run for Hurricane Erin data!

I'm trying in colab but keep running into this error:

Getting data from http://tds.ioos.us/thredds/dodsC/ioos/gfswave/atlocn/Best
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<timed exec> in <module>

[/usr/local/lib/python3.11/dist-packages/xarray/backends/api.py](https://localhost:8080/#) in open_dataset(filename_or_obj, engine, chunks, cache, decode_cf, mask_and_scale, decode_times, decode_timedelta, use_cftime, concat_characters, decode_coords, drop_variables, create_default_indexes, inline_array, chunked_array_type, from_array_kwargs, backend_kwargs, **kwargs)
    694 
    695     if engine is None:
--> 696         engine = plugins.guess_engine(filename_or_obj)
    697 
    698     if from_array_kwargs is None:

[/usr/local/lib/python3.11/dist-packages/xarray/backends/plugins.py](https://localhost:8080/#) in guess_engine(store_spec)
    192         )
    193 
--> 194     raise ValueError(error_msg)
    195 
    196 

ValueError: found the following matches with the input file in xarray's IO backends: ['netcdf4', 'pydap']. But their dependencies may not be installed, see:
https://docs.xarray.dev/en/stable/user-guide/io.html 
https://docs.xarray.dev/en/stable/getting-started-guide/installing.html

I added

%pip install netcdf4 pydap h5netcdf

but that still doesn't fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions