Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support netCDF4 in bald #64

Open
lesserwhirls opened this issue Sep 8, 2017 · 1 comment
Open

Support netCDF4 in bald #64

lesserwhirls opened this issue Sep 8, 2017 · 1 comment

Comments

@lesserwhirls
Copy link

To reproduce:

run nc2rdf.py against a netCDF4 file. I triggered this using a GOES16 netCDF4 file from here:

http://thredds-test.unidata.ucar.edu/thredds/catalog/satellite/goes16/GOES16/CONUS/Channel01/catalog.html

error output:

python nc2rdf.py  ~/Downloads/GOES16_CONUS_20170810_020218_0.47_1km_33.3N_91.4W.nc4 --nc
Traceback (most recent call last):
  File "nc2rdf.py", line 41, in <module>
    nc2rdf(args.ncfile, args.format)
  File "nc2rdf.py", line 12, in nc2rdf
    root_container = bald.load_netcdf(ncfilename)
  File "/Users/sarms/miniconda3/envs/bald/lib/python3.6/site-packages/bald/__init__.py", line 539, in load_netcdf
    with load(afilepath) as fhandle:
  File "/Users/sarms/miniconda3/envs/bald/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/Users/sarms/miniconda3/envs/bald/lib/python3.6/site-packages/bald/__init__.py", line 526, in load
    raise ValueError('filepath suffix not supported')
ValueError: filepath suffix not supported
@marqh
Copy link
Member

marqh commented Sep 26, 2017

this should be easy to fix, I'll get on this and update you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants