Index: wflow-py/wflow/pcrglobwb/ncConverter.py =================================================================== diff -u -rb7003f98f20ca40439ced290e61620df123c327c -r5191d30aab0a049554d6f048c56a3689f9a07a56 --- wflow-py/wflow/pcrglobwb/ncConverter.py (.../ncConverter.py) (revision b7003f98f20ca40439ced290e61620df123c327c) +++ wflow-py/wflow/pcrglobwb/ncConverter.py (.../ncConverter.py) (revision 5191d30aab0a049554d6f048c56a3689f9a07a56) @@ -59,9 +59,7 @@ and iniItems.reportingOptions["netcdf_y_orientation_follow_cf_convention"] == "True" ): - msg = ( - "Latitude (y) orientation for output netcdf files start from the bottom to top." - ) + msg = "Latitude (y) orientation for output netcdf files start from the bottom to top." self.netcdf_y_orientation_follow_cf_convention = True self.latitudes = np.unique(pcr.pcr2numpy(pcr.ycoordinate(cloneMap), vos.MV)) @@ -214,7 +212,9 @@ date_time = rootgrp.variables["time"] if posCnt == None: posCnt = len(date_time) - date_time[posCnt] = cftime.date2num(timeStamp, date_time.units, date_time.calendar) + date_time[posCnt] = cftime.date2num( + timeStamp, date_time.units, date_time.calendar + ) # flip variable if necessary (to follow cf_convention) if self.netcdf_y_orientation_follow_cf_convention: