check_dataset_path function

Check dataset and path_to_nc params