Skip to content

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

@Rovanion

Description

@Rovanion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions