ERA5 data download method record

Download ERA5 data through python
Xiaobai, record the download process.

Configure the environment first, download python,
the main reference link for configuring the environment: link

Install IDM according to the above steps, create a .cdsapirc file, the content in the file is
the picture: Alt
inside the red frame, copy all of them, and then I added a line

verify: 0

I don’t know where I saw that adding this means that you agree to the conditions for obtaining data.

Then I want to download python. In python, I have been unable to run the code given by the official website, so I downloaded another pycharm, and installed anaconda, and then put the code I obtained on the official website into pycharm to run, and it will display at the beginning The cdsapi package could not be found, and then I installed this package in "Settings" → "Project: XXX" → "python: Interpreter", and the code can be run. The speed is generally fast at night, with a speed of nearly a few M.

In the link given above, it is said that it can be downloaded through IDM, and the speed is faster. I did not run the code given in the link, and then I also searched how other people passed IDM, but there was no success. Finally, I chose the most original method. Use the code given on the official website. If you can download through IDM, we can communicate and exchange, I would like to ask for advice.

How to deal with ERA5 data may be updated in the future.

What is the downloaded ERA5 data like? If you download the global data, the coordinates of the upper left corner are [-180,-90], the coordinates of the upper right corner are [180,-90], and the coordinates of the lower left corner are [-180, 90], the coordinates of the lower right corner are [180,90], is it like this, if anyone knows, please leave a message to tell me, thank you

The downloaded data should be [-180,90] for the upper left corner, [180,90] for the upper right corner, [-180,-90] for the lower left corner, and [180,- 90],
because I saw a blog: The link uses code to extract the value of lat lon.
It should be like this

first level title

Guess you like

Origin blog.csdn.net/weixin_44836370/article/details/127328960