From 6bb4d4f124f73f7b920015dc8d4034078f2e97c4 Mon Sep 17 00:00:00 2001 From: Mostafa Farrag Date: Sun, 31 Jul 2022 00:20:14 +0200 Subject: [PATCH] add full instruction for ecmwf api --- examples/Download Satellite data.ipynb | 17 +++++++++++++++-- examples/data/ecmwf/data_interim.nc | Bin 17032 -> 17028 bytes 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/examples/Download Satellite data.ipynb b/examples/Download Satellite data.ipynb index cc6c291..35ba245 100644 --- a/examples/Download Satellite data.ipynb +++ b/examples/Download Satellite data.ipynb @@ -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\\\\.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=\"moah.farag@gmail.com\"\n" ] }, { @@ -488,4 +501,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} diff --git a/examples/data/ecmwf/data_interim.nc b/examples/data/ecmwf/data_interim.nc index 489124d200dd07a70bce1583a914a6f314e07f71..3d8fd13145d05ec38d27e979e9c651005ac3d7ec 100644 GIT binary patch delta 172 zcmeBZWo&6>oKP*SZDe3%q-$WVYiyukWMpM%WMwe1Pnywe;wm+6b7KQtBO^lt{nXTn zx1~6ea!ONm4Gc^t{!`L*P4%!a3f4<6%1lzw%~#M*Ni0d!FHSB>EJ@DL2N`Jq*PLuN z*_TlfrrQjtTOgv?CpRZbFE3d^x3nZPH+AxA#u`SK$r?=gj5(8MFwJIc*=)ir%*fcW J*@MNw4gj*fGM@kd delta 176 zcmZo^W$b8WoKP*SYh++#q-$WRYh