I'm not sure if you're still struggling with this, but I think you might have a problem with the name of your file. It should read exactly ".ecmwfapirc", without an extension and including the dot (it means your file is hidden to the system).
You can create it with Notepad, but then you'd have to remove the extension. For example from the command window. Be sure you have this file under your User directory and be aware that you need to run the script from a Unix system.
0
Pedro Amaral Reis
On
If you're on Windows, $HOME is your user directory, so it's telling you should create this file there.
Example: C:/Users/YOUR_USER/
This file MUST be named .ecmwfapirc, to do so, open cmd, go to your user directory and type echo > .ecmwfapirc.
I'm not sure if you're still struggling with this, but I think you might have a problem with the name of your file. It should read exactly ".ecmwfapirc", without an extension and including the dot (it means your file is hidden to the system).
You can create it with Notepad, but then you'd have to remove the extension. For example from the command window. Be sure you have this file under your
Userdirectory and be aware that you need to run the script from a Unix system.