ISI-MIP / attrici

Produce counterfactual climates for ISIMIP.
GNU General Public License v3.0
9 stars 2 forks source link

How to handle NaN and inf values and non-convergent models (logp < -300) in the counterfactual output #93

Open A-Buch opened 1 year ago

A-Buch commented 1 year ago

FIXME in rechunk_necdf() there should not be NaN values in the counterfactual if the factual data (input file) is not NaN for this cell. I am not sure what happens if the factual data is nan only for some of the time steps. That should not happen because it is a reanalysis dataset. If NaN values are in the counterfactual but not the factual are there anyways, it should be further investigated and discussed how to handle those cases. If they can't be avoided, should they be set to the factual value (as currently) or something else?

Todo in attrici.postprocess.py