I am having trouble indexing GeoTIFF files using the Python API. I have managed to generate a .yml file for my .tif file and would like to now add it to the index. Basically what datacube dataset add XYZ.yml
would do.
I was able to find
dc.index.datasets.add(dataset)
I then created the dataset:
yml = yaml.safe_load(ymlfile) # ymlfile is the corresponding XYZ.yml
dataset=datacube.model.Dataset(???,cfg)
but I can't seem to figure out what the DatasetType should be.