WeatherMagic / thor

Back end service for the delivery of climate data
1 stars 1 forks source link

Crash due to OSError: NetCDF: Unknown file format #65

Open Rovanion opened 7 years ago

Rovanion commented 7 years ago

Crash when following the installation instructions, running scripts/get_ESCOG_files.sh and then running thor.py.

./thor.py 
Traceback (most recent call last):
  File "./thor.py", line 52, in <module>
    const.ncFiles = frozendict.FrozenDict(util.openFiles(ncFolder))
  File "/home/rovanion/source/weather-magic/thor/thor/util.py", line 232, in openFiles
    currentFile = reader.Reader(folder + os.sep + currentFile)
  File "/home/rovanion/source/weather-magic/thor/thor/reader.py", line 21, in __init__
    self.netCDF = netCDF4.Dataset(filename, 'r')
  File "netCDF4/_netCDF4.pyx", line 1848, in netCDF4._netCDF4.Dataset.__init__ (netCDF4/_netCDF4.c:13983)
OSError: NetCDF: Unknown file format
owodunni commented 7 years ago

Kan du köra ls på foldern där du har ncFiles tror något har blivit fel när du wgeta

Rovanion commented 7 years ago

http://paste.ubuntu.com/23851766/