def METHOD_NAME(self, mfile):
    print "Start converting %s to netcdf" % mfile
    inputname=self.directorytoscan+"/"+mfile
    outputname = self.outputfolder+"/"+mfile+".nc"
    if os.path.isfile(outputname) == False:
        try:
            self.convertonc(inputname,mfile, self.imgextent,self.imgproj,self.product,outputname)  
            subprocess.call(("docker exec -i -t my-adaguc-server bash /adaguc/adaguc-server-createtiles.sh " + self.adagucdatasetname).split())
        except:
            print "Error converting image %s" % inputname
            os.remove(inputname)
            pass