Feature request: Prevent MERRA2 get_data from downloading empty files when credentials are insufficient
willhonaker opened this issue · comments
When Merra2 credentials are present but insufficient to download a dataset, get_data runs and downloads empty files. From a user perspective, it looks as if the download is successful, so when creating the cutout fails, it is not obvious what the issue is.
get_data()
for Merra2 should check the API response to make sure data is actually being download, and cancel the process if it is not.