NetcdfFileSubclass: get rid of inner classes subclassing NetcdfFile