add two functions getLocation from use datasetname