Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ERA5-land #67

Merged
merged 29 commits into from
Feb 19, 2021
Merged

Add support for ERA5-land #67

merged 29 commits into from
Feb 19, 2021

Conversation

Peter9192
Copy link
Collaborator

@Peter9192 Peter9192 commented Feb 2, 2021

This pull request adds functionality for downloading the ERA5-land datasets (hourly and monthly). For example:

era5cli info land

will list all the available variables in the land data, and

era5cli monthly --variables snow_cover --startyear 2008 --land --dryrun

will print the request for 2008 monthly snow cover data (remove the dry run to actually download the data).

Documentation has been added, as well as several new checks and tests. As the number of input parameters grows, we believe it would be useful to comprehensively check the compatibility of all the available options. We opened a new issue to address this (#68).

closes #54

@codecov
Copy link

codecov bot commented Feb 2, 2021

Codecov Report

Merging #67 (1c1cc84) into master (39d1639) will increase coverage by 0.14%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
+ Coverage   98.06%   98.20%   +0.14%     
==========================================
  Files           7        7              
  Lines         310      335      +25     
==========================================
+ Hits          304      329      +25     
  Misses          6        6              
Impacted Files Coverage Δ
era5cli/cli.py 96.84% <100.00%> (+0.10%) ⬆️
era5cli/fetch.py 98.63% <100.00%> (+0.20%) ⬆️
era5cli/info.py 96.15% <100.00%> (+0.32%) ⬆️
era5cli/inputref.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39d1639...1c1cc84. Read the comment docs.

@Peter9192 Peter9192 marked this pull request as ready for review February 16, 2021 15:37
Copy link
Member

@nielsdrost nielsdrost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @bvreede and @Peter9192 !

A few small comments, otherwise good to go :-)

era5cli/fetch.py Outdated Show resolved Hide resolved
tests/test_fetch.py Show resolved Hide resolved
@nielsdrost nielsdrost merged commit ff1bb4d into master Feb 19, 2021
@nielsdrost nielsdrost deleted the add_era5land_support branch February 19, 2021 16:10
@nielsdrost
Copy link
Member

nielsdrost commented Feb 19, 2021

Thanks @bvreede and @Peter9192!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for ERA5 back extention and ERA5-Land
3 participants