Skip to content

HatYaz/ERA5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This Python script downloads weather data from the ERA5 reanalysis dataset using the Climate Data Store (CDS) API. Here's what the code does:

  1. It imports the cdsapi module, which provides functionality to interact with the CDS API.

  2. It initializes a Client object from cdsapi.

  3. It calls the retrieve() method of the Client object to request data from the ERA5 reanalysis dataset. The parameters passed to retrieve() specify details of the data to be retrieved, including product type, format, variables (10m u and v wind components), year, month, day, and time range.

  4. The retrieved data is saved to a NetCDF file named 'download.nc'.

  5. After the data is successfully downloaded, it prints a message indicating that the data has been downloaded.

In summary, this script automates the process of downloading wind data from the ERA5 reanalysis dataset for a specific time range and saves it to a NetCDF file for further analysis or use.

About

Download ERA5 v00

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published