self.add_variable(outnf,self.route_togrid,NCFillValue,"routetogrid",vtyp,('htu','y','x'),"Grid into which the basin flows","-","int")
self.add_variable(outnf,self.route_tobasin,NCFillValue,"routetobasin",vtyp,('htu','y','x'),"Basin in to which the water goes","-","int")
self.add_variable(outnf,self.global_basinid,NCFillValue,"basinid",vtyp,('htu','y','x'),"ID of basin","-","int")
self.add_variable(outnf,self.route_nbintobas,NCFillValue,"routenbintobas",vtyp,('y','x'),"Number of basin into current one","-","int")
self.add_variable(outnf,self.origin_nbintobas,NCFillValue,"originnbintobas",vtyp,('y','x'),"Number of sub-grid basin into current one before truncation","-","int")
self.add_variable(outnf,self.route_outlet[:,:,0],NCFillValue,"outletlat",vtyp,('htu','y','x'),"Latitude of Outlet","degrees north","float")
self.add_variable(outnf,self.route_outlet[:,:,1],NCFillValue,"outletlon",vtyp,('htu','y','x'),"Longitude of outlet","degrees east","float")
self.add_variable(outnf,self.route_type[:,:],NCFillValue,"outlettype",vtyp,('htu','y','x'),"Type of outlet","code","int")
self.add_variable(outnf,self.topo_resid[:,:],NCFillValue,"topoindex",vtyp,('htu','y','x'),"Topographic index of the retention time","m","float")
self.add_variable(outnf,self.routing_cg[:,:,1],NCFillValue,"CG_lon",vtyp,('htu','y','x'),"Longitude of centre of gravity of HTU","degrees east","float")
self.add_variable(outnf,self.routing_cg[:,:,0],NCFillValue,"CG_lat",vtyp,('htu','y','x'),"Latitude of centre of gravity of HTU","degrees east","float")
self.add_variable(outnf,self.routing_fetch,NCFillValue,"fetch",vtyp,('htu','y','x'),"Fetch contributing to each HTU","m^2","float")
self.add_variable(outnf,self.inflow_number[:,:self.nbasmax],NCFillValue,"inflow_number",vtyp,('htu','y','x'),"Fetch contributing to each HTU","m^2","int")
self.add_variable(outnf,self.inflow_grid[:,:self.nbasmax,:100],NCFillValue,"inflow_grid",vtyp,('in','htu','y','x'),"Grid of HTUs flowing into the basin","-","int")
self.add_variable(outnf,self.inflow_basin[:,:self.nbasmax,:100],NCFillValue,"inflow_basin",vtyp,('in','htu','y','x'),"Basin of HTUs flowing into the basin","-","int")