nansencenter / nersc-vagrant

Nansen-Cloud provisioning with vagrant
GNU General Public License v3.0
0 stars 0 forks source link

Missing jpeg2000 driver in gdal #10

Closed mortenwh closed 8 years ago

mortenwh commented 8 years ago
import gdal
f = '/home/vagrant/ncep_gfs_downloads/gfs_4_20140326_0600_000.grb2'
ds = gdal.Open(f)
ERROR 4: `/vsimem/work.jpc' not recognised as a supported file format.

dec_jpeg2000: Unable to open JPEG2000 image within GRIB file.
Is the JPEG2000 driver available?

The grib file is available at ftp://ftp.nersc.no/pub/nansat/test_data/ncep/gfs_4_20140326_0600_000.grb2

mortenwh commented 8 years ago

To be solved in conda-recipes repos

marineanalytica commented 4 years ago

Hi, I got the same error:

ERROR 4: `/vsimem/work_grib_00000174D4062EDB.jpc' not recognized as a supported file format. dec_jpeg2000: Unable to open JPEG2000 image within GRIB file. Is the JPEG2000 driver available?g2_getfld: return from g2_unpack7 = 7 ERROR 4: multi_reanal.glo_30m_ext.hs.199210.grb2 is a grib file, but no raster dataset was successfully identified.

How did you solve it? Gerardo