NREL / OpenOA

This library provides a framework for assessing wind plant performance using operational assessment (OA) methodologies that consume time series data from wind plants. The goal of the project is to provide an open source implementation of common data structures, analysis methods, and utility functions relevant to wind plant OA.
https://openoa.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
194 stars 63 forks source link

Hourly reanalysis downloading #296

Open ejsimley opened 5 months ago

ejsimley commented 5 months ago

This pull request adds two new functions to the utils/downloader module to download hourly reanalysis data: get_era5_hourly and get_merra2_hourly. These functions are modified from get_era5_monthly and get_merra2_monthly contributed by @charlie9578, and similarly download data from the CDS and GES DISC services.

Note that it can take a long time to download historical data (~1 day for a 20-year time series). Downloading era5 data seems to be faster than merra2 for me, though.

codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 0% with 124 lines in your changes missing coverage. Please review.

Project coverage is 70.14%. Comparing base (a53308e) to head (33c940f). Report is 13 commits behind head on develop.

Files Patch % Lines
openoa/utils/downloader.py 0.00% 124 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #296 +/- ## =========================================== - Coverage 72.49% 70.14% -2.35% =========================================== Files 29 29 Lines 3690 3815 +125 Branches 796 819 +23 =========================================== + Hits 2675 2676 +1 - Misses 826 950 +124 Partials 189 189 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.