Index: wflow-py/wflow/wf_netcdfio.py =================================================================== diff -u -r0f890faa40b9d70240219d09b0727cd4756fc8cf -rd1b1a23180342c353fa39434b6ec2ad92fcc7ccb --- wflow-py/wflow/wf_netcdfio.py (.../wf_netcdfio.py) (revision 0f890faa40b9d70240219d09b0727cd4756fc8cf) +++ wflow-py/wflow/wf_netcdfio.py (.../wf_netcdfio.py) (revision d1b1a23180342c353fa39434b6ec2ad92fcc7ccb) @@ -172,9 +172,7 @@ self.logger.debug("Writing buffer for " + var + " to file at: " + str(spos) + " " + str(int(bufpos) + 1) + " timesteps") nc_var[spos:idx+1,:,:] = self.bufflst[var][0:bufpos+1,:,:] - #nc_var[idx,:,:] = data - def finish(self): """ Flushes and closes the netcdf file @@ -215,6 +213,7 @@ self.alldat.pop(var, None) logging.warn("Variable " + var + " not found in netcdf file: " + netcdffile) + def gettimestep(self,timestep,logging,var='P'): """ Gets a map for a single timestep. reads data in blocks assuming sequential access