def METHOD_NAME(self, directory=None):
    if directory is None:
        thedir = self.get_base_data_directory()
    else:
        thedir = directory
    if "RAW_DATA" in thedir:
        thedir = thedir.replace("RAW_DATA", "ARCHIVE")
    else:
        thedir = os.path.join(thedir, "ARCHIVE")
    return thedir