openclimatefix / nowcasting_forecast

Making live forecasts for the nowcasting project
MIT License
5 stars 2 forks source link

Power Perceiver Productionization and Datapipes #160

Open jacobbieker opened 1 year ago

jacobbieker commented 1 year ago

Pull Request

Description

Adds the production power perceiver and datapipes work so that we can actually run forecasts with it.

added test to run batch through model

TODO - run model locally

How Has This Been Tested?

unit tests

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #160 (107fd6c) into main (3a5758c) will increase coverage by 0.41%. The diff coverage is 91.66%.

@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
+ Coverage   90.72%   91.14%   +0.41%     
==========================================
  Files          15       17       +2     
  Lines         733      824      +91     
==========================================
+ Hits          665      751      +86     
- Misses         68       73       +5     
Impacted Files Coverage Δ
nowcasting_forecast/models/cnn/dataloader.py 89.47% <ø> (ø)
nowcasting_forecast/app.py 84.41% <58.33%> (-5.14%) :arrow_down:
...ting_forecast/models/power_perceiver/dataloader.py 93.33% <93.33%> (ø)
...owcasting_forecast/models/power_perceiver/model.py 96.87% <96.87%> (ø)
nowcasting_forecast/__init__.py 100.00% <100.00%> (ø)
nowcasting_forecast/models/utils.py 94.44% <100.00%> (+2.50%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more