Index: trunk/SDToolBox/output_data.py =================================================================== diff -u -r75 -r76 --- trunk/SDToolBox/output_data.py (.../output_data.py) (revision 75) +++ trunk/SDToolBox/output_data.py (.../output_data.py) (revision 76) @@ -591,5 +591,10 @@ continue # Assign the data from the frame towards the netCDF-parameter print('writing variable {}'.format(var_name)) - netcdf.variables[var_name.upper()][:] = \ - np.transpose(variables[var_name]) + if self.is_gridded: + netcdf.variables[var_name.upper()][:] = \ + variables[var_name] + else: + # When non-gridded we need to transpose the dimensions. + netcdf.variables[var_name.upper()][:] = \ + np.transpose(variables[var_name])