Bugfix: backward compatibility with netcdf files.