clessig / atmorep

AtmoRep model code
MIT License
39 stars 9 forks source link

global_forecast: solve evaluation inconsistencies for batch size different from 1 #33

Open iluise opened 2 months ago

iluise commented 2 months ago

When batch_size in evaluator.py is different from 1, then we see that:

1) when running multi-dates global_forecasts only the first lead time is saved. 2) data reconstruction for predictions (not target!) is mis-reconstructed as shown below:

image

Temporary solution: hardcode batch_size = 1 in evaluator.py

clessig commented 2 months ago

Is only the first lead time or the first date saved? What does it tell us that target is reconstructed correctly?