Problem
ecmwf.API error 1: User has no access to services mars
Solution
Your username is not authorised to use the Access MARS service.
- Check that you are logged in using the correct username in www.ecmwf.int
- Retrieve the key at https://api.ecmwf.int/v1/key/
- If you need an authorised account, check https://www.ecmwf.int/en/forecasts/accessing-forecasts. Please be aware that self-registered accounts have a limited access to MARS. Be sure to access the referred page to see how you can gain access to the full contents.