Problem

ecmwf.API error 1: Resource not found: datasets/NAME

Solution

This dataset is no longer available via the Web API. Sometimes it has been superseed by another dataser or it has been phased out. You should find more information in the dataset documentation page.