openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

add normalize function on pydantic models #46

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

Add option to normalize Forecasts

Fixes #

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #46 (f2756ad) into main (01eeacb) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   98.37%   98.40%   +0.02%     
==========================================
  Files          16       16              
  Lines         617      628      +11     
==========================================
+ Hits          607      618      +11     
  Misses         10       10              
Impacted Files Coverage Δ
nowcasting_datamodel/migrations/app.py 96.66% <ø> (-0.21%) :arrow_down:
nowcasting_datamodel/__init__.py 100.00% <100.00%> (ø)
nowcasting_datamodel/fake.py 100.00% <100.00%> (ø)
nowcasting_datamodel/models/models.py 100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more