def __init__(self, tile_root, tile_type_info,
                 tile_footprint, band_stack):
        self.tile_type_id = tile_type_info['tile_type_id']
        self.tile_type_info = tile_type_info
        self.tile_footprint = tile_footprint
        self.band_stack = band_stack
        x_index, y_index = tile_footprint
        tile_output_root = os.path.join(
            tile_root,
            tile_type_info['tile_directory'],
            '%s_%s' % (band_stack.dataset_mdd['satellite_tag'],
                       re.sub(r'\W', '', band_stack.dataset_mdd['sensor_name'])
                       )
            )

        tile_output_dir = os.path.join(
            tile_output_root,
            re.sub(r'\+', '', ('%+04d_%+04d' % (tile_footprint[0],
                                                tile_footprint[1]
                                                )
                               )
                   ),
            '%04d' % band_stack.dataset_mdd['start_datetime'].year
            )

        self.tile_output_path = os.path.join(
            tile_output_dir,
            '_'.join([band_stack.dataset_mdd['satellite_tag'],
                      re.sub(r'\W', '', band_stack.dataset_mdd['sensor_name']),
                      band_stack.dataset_mdd['processing_level'],
                      re.sub(r'\+', '', '%+04d_%+04d' % (x_index, y_index)),
                      re.sub(':', '-', band_stack.
                             dataset_mdd['start_datetime'].isoformat()
                             )
                      ]) + tile_type_info['file_extension']
            )
        #Set the provisional tile location to be the same as the vrt created
        #for the scenes
        self.temp_tile_output_path = os.path.join(
            os.path.dirname(self.band_stack.vrt_name),
            os.path.basename(self.tile_output_path)
            )
        self.tile_extents = None
        
        # Work-around to allow existing GDAL code to work with netCDF subdatasets as band stacks
        # N.B: file_extension must be set to ".vrt" when used with netCDF
        #TODO: Change all code to use netCDF libraries instead of GDAL for netCDF file handling
        if self.tile_type_info['file_format'] == 'netCDF' and tile_type_info['file_extension'] == '.vrt':
            self.nc_temp_tile_output_path = re.sub('\.vrt$', '.nc', self.temp_tile_output_path) 
            self.nc_tile_output_path = re.sub('\.vrt$', '.nc', self.tile_output_path)
        else:
            self.nc_temp_tile_output_path = None
            self.nc_tile_output_path = None
Set the tile_footprint over which we want to resample this dataset.
dataset/ETHPy150Open GeoscienceAustralia/agdc/src/abstract_ingester/tile_contents.py/TileContents.__init__