https://github.com/csyhuang/download_era5
Download ERA5 data to Winds
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.7%) to scientific vocabulary
Repository
Download ERA5 data to Winds
Basic Info
- Host: GitHub
- Owner: csyhuang
- Language: Python
- Default Branch: master
- Size: 33.2 KB
Statistics
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Download ERA5 data
Create environment to run the scripts
For the first time you run the script:
bash
conda create -n dlera5 python=3.7 lxml pandas
conda activate dlera5
pip install cdsapi
In the future, you only need to activate the environment before running the script by
bash
conda activate dlera5
Define your download task in task_definition.yaml(see below).
In this directory(which contains download_api.py), run:
bash
python download_api.py
The file will be downloaded to the local directory.
Define a download task
The task is specified in task_definition.yaml. The data will be grouped monthly into netCDF files with the filename
year_month_shortname.nc and saved in the same directory as where the script download_api.py stands.
In task_definition.yaml, there are several parameters to set:
- "start_year_month": it is a string that specifies the first month of data you want, e.g. Jan 2019 would be 201901.
- "end_year_month": it is a string that specifies the last month of data you want, e.g. Jun 2020 would be 202006.
- "grid_resolution": grid resolution of the netCDF file.
- "times_in_a_day": time points in a day (the spacing of the time points would be the temporal resolution)
- "reanalysis-era5-pressure-levels": an array of string of pressure-level variable names (Variable name in CDS).
See Table 9 on the
ERA5 data documentation page for available variables to download.
- "reanalysis-era5-single-levels": an array of string of single-level variable names (Variable name in CDS).
See Table 1-6 and 8 on the
ERA5 data documentation page for available
variables to download.
In the current task_definition.yaml file
- Date range: Dec 2019 - Jan 2020
- Spatial Resolution: 1 degree x 1 degree, 6 hourly data
- Time resolution: Every 6 hours
- Pressure level analysis variables:
- geopotential
- temperature
- u
- v
- vertical velocity
- Surface/single level variables:
- land-sea mask
- surface pressure
- sea surface temperature
- instantaneous surface sensible heat flux
- large-scale precipitation
- convective precipitation
Owner
- Name: Clare S. Y. Huang
- Login: csyhuang
- Kind: user
- Website: http://claresyhuang.info
- Twitter: claresyhuang
- Repositories: 43
- Profile: https://github.com/csyhuang
Data Scientist. Climate Scientist. Ph.D in Geophysical Sciences (U of Chicago). Love coding, writing and playing music.
GitHub Events
Total
Last Year
Committers
Last synced: 12 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| csyhuang | c****g@u****u | 29 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0