ECMWFCode4Earth / vAirify

code repository for 2024 Code for Earth project #16
0 stars 0 forks source link

[BUG] os.environ not overriding in cams_known_test.py #119

Closed mnyamunda-scottlogic closed 1 week ago

mnyamunda-scottlogic commented 1 week ago

The cams_known_grib.py test aims to override the forecast_base_time but is failing to do so. Furthermore, where we expect these tests to fail, they pass.

Upon running the suite:

Expected: grib of "FORECAST_BASE_TIME" = "2024-06-04 00" is fetched and processed and added to database

Actual : GRIB of "FORECAST_BASE_TIME" of most recent CAMS forecast. So. either yesterday with base_time of 12:00 or todays date with base_time of 00:00

Additional: