Skip to content

Commit

Permalink
add full instruction for ecmwf api
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Jul 30, 2022
1 parent d7c9ee5 commit 6bb4d4f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions examples/Download Satellite data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,20 @@
"1 - to be able to use Hapi to download ECMWF data you need to register and setup your account in the ECMWF website (https://apps.ecmwf.int/registration/)\n",
"\n",
"2 - Install ECMWF key (instruction are here https://confluence.ecmwf.int/display/WEBAPI/Access+ECMWF+Public+Datasets#AccessECMWFPublicDatasets-key)\n",
"(https://confluence.ecmwf.int/display/WEBAPI/Install+ECMWF+API+Key)"
"(https://confluence.ecmwf.int/display/WEBAPI/Install+ECMWF+API+Key)\n",
" (to get youe API key https://api.ecmwf.int/v1/key/)\n",
" (key)[\\examples\\img\\key.png\n",
"\n",
"Copy/paste the key into a text file and save it to your $HOME directory as .ecmwfapirc (If you use\n",
"Windows, you have to put the file in C:\\Users\\<USERNAME>\\.ecmwfapirc\n",
"\n",
"3- add environment variables\n",
"\n",
"in your command prompt type the following lines and press enter\n",
"\n",
"export ECMWF_API_URL=\"https://api.ecmwf.int/v1\"\n",
"export ECMWF_API_KEY=\"73978adaef38142a3669b68789b78098\"\n",
"export ECMWF_API_EMAIL=\"[email protected]\"\n"
]
},
{
Expand Down Expand Up @@ -488,4 +501,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Binary file modified examples/data/ecmwf/data_interim.nc
Binary file not shown.

0 comments on commit 6bb4d4f

Please sign in to comment.