What is the "$HOME/.ecmwfapirc" file? And how to create it?
Installation of ECMWF Key in Python
2.1k Views Asked by Ajar At
2
There are 2 best solutions below
0

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.
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 typeecho > .ecmwfapirc
.