openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

Issue/194 Use default value for nil adjust_mw #204

Closed petermnhull closed 1 year ago

petermnhull commented 1 year ago

Pull Request

Description

Fixes #194

Also includes a few minor additional improvements:

FAILED tests/read/test_read.py::test_get_latest_input_data_last_updated - assert datetime.datetime(2023, 7, 1, 18, 29, 57, 40344) == datetime.datetime(2023, 7, 1, 17, 29, 57, 40344)
FAILED tests/read/test_read.py::test_update_latest_input_data_last_updated - assert datetime.datetime(2023, 7, 1, 18, 29, 57, 387618) == datetime.datetime(2023, 7, 1, 17, 29, 57, 38...

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

Tested this locally on bare metal in a virtualenv.

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

Checklist: