def copyTrueRelProbDistMapsForAllSpp (self, guppy):

        clusterTest = False
        if (clusterTest):
            filespec = "spp.*.asc"
        else:
            filespec = "*.asc"
            #  2013 10 23 - BTL
            #  Guppy was crashing when there were 8 species and 3 env layers.
            #  It would crash when trying to read in the 8 generated species
            #  because there were only 3 species in the directory the
            #  generated species were copied into.
            #  For some reason, it was copying the env files as the
            #  generated species files.  Seems to work now that I've changed
            #  the srcFile directory.
###2013.10.23###        srcFiles = gsf.buildNamesOfSrcFiles (guppy.curFullMaxentEnvLayersDirName, filespec)


#2013.11.08 - fooling around with hacking clustering species
#NEED TO MAKE NUMBER AND SOURCE OF ENV LAYERS MATCH THE ONES USED FOR
#THE CLUSTER TESTS IN THE GUPPY DIRECTORY, I.E., ALL OF MATT'S ENV LAYERS

#Then, need to copy the cluster output images instead of the maxent
#generated species for this quick and dirty tests.

        print "\n\nvvvvvvvvvvvvvvvvvvvvvvvvvv\n\n*****  In copyTrueRelProbDistMapsForAllSpp():\n"

        if (clusterTest):
#            srcDir = "/Users/Bill/D/rdv-framework/projects/guppy"
            srcDir = "/Users/Bill/D/rdv-framework/projects/guppy/Clustered_kmeans_MattEnvLayers_All/ClusteredWith500pointsAnd15clusters"
        else:
            srcDir = guppy.sppGenOutputDir

        print "\nAbout to get srcFiles with first call to gsf.buildNamesOfSrcFiles()."
        srcFiles = gsf.buildNamesOfSrcFiles (srcDir, filespec)




        print "srcDir = '" + srcDir + "'\n"
        #pprint (srcFiles)
        print "\nAbout to get fileRootNames with second call to gsf.buildNamesOfSrcFiles()."
        fileRootNames = gsf.buildDestFileRootNames (guppy.sppGenOutputDir, filespec)
        print "fileRootNames = "
        pprint (fileRootNames)
        print "*****  srcFiles_1 = \n"
        pprint (srcFiles)

        prefix = self.variables ["PAR.trueProbDistFilePrefix"] + "."
        print "\n\nprefix = " + prefix
        destFilesPrefix = guppy.probDistLayersDirWithSlash + prefix

        print "destFilesPrefix = " + destFilesPrefix

        destFiles = [destFilesPrefix + fileRootNames[i] for i in range (len(fileRootNames))]
        pprint (destFiles)
        print "\n\n"
        print "^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"

        gsf.copyFiles (srcFiles, destFiles)
    def genEnvLayers (self):

#        imgSrcDir = "/Users/Bill/D/Projects_RMIT/AAA_PapersInProgress/G01 - simulated_ecology/MaxentTests/MattsVicTestLandscape/MtBuffaloEnvVarsSubset/"
        srcDir = self.envLayersDir
        filespec = "*.asc"
        targetDirWithSlash = self.curFullMaxentEnvLayersDirName + CONST.dirSlash

            #  NOTE:  THIS DOESN'T WORK FOR REMOTE (URL) FILES YET...

#        copyFiles_Matt (imgSrcDir, "*.asc", targetDirWithSlash)

        print "\n>>> About to build srcFiles with call to gsf.buildNamesOfSrcFiles() in GuppyEnvLayers::genEnvLayers()\n"
        srcFiles = gsf.buildNamesOfSrcFiles (srcDir, filespec)
        print "\n>>> About to build destFiles with call to gsf.buildNamesOfSrcFiles() in GuppyEnvLayers::genEnvLayers()\n"
        destFiles = gsf.buildNamesOfDestFiles (srcDir, filespec, targetDirWithSlash)
        print "\n>>> About to copy srcFiles to destFiles with call to gsf.copyFiles() in GuppyEnvLayers::genEnvLayers()\n"

        print "\n>>>>>>  In GuppyMattEnvLayers.genEnvLayers():"
        print "\n        len (srcFiles) = "
        print len (srcFiles)
        print "\n        len (destFiles) = "
        print len (destFiles)
        print "\n        self.numEnvLayers BEFORE setting = "
        print self.numEnvLayers

        self.numEnvLayers = len (srcFiles)

        print "\n        self.numEnvLayers AFTER setting = "
        print self.numEnvLayers

        gsf.copyFiles (srcFiles, destFiles)