GheodeAI / va_am

VA-AM (Various Advanced - Analogue Methods) is a Python package based on the deep learning enhancement of the classical statistical Analogue Method. It provides several tools to analyse climatological extreme events, particularly heat waves.
https://va-am.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 0 forks source link

nanmean instead of mean #24

Closed cosminmarina closed 1 month ago

cosminmarina commented 2 months ago

Change the numpy mean() to nanmean() on the target numpy array fronm the AM (where we save the data to .CSV) in order to be able to work with masked data (as only land or only ocean data).

Maybe also max() and min() to nanmax() and nanmin().