Revision 445d5f15f5255d4c24f7931f9f829927fd4b1ede authored by heisterm on 30 September 2013, 07:18:01 UTC, committed by heisterm on 30 September 2013, 07:18:01 UTC
In the previous version, the xvalidate method only returned pairs of observed and
estimated if both observed and estimated were valid values. This had a major
disadvantage: You could not relate the values of the returned obs/est pairs to
the original rain gage locations, because there was no mechanism for IDing and
the length of the output arrays depended on the number of valid obs/est pairs.

Now, the returned obs/est pairs have the same length as the original input of
obs. If obs or est have invalid values, the corresponding entries are NaN. This way,
we can relate the output to the exact rain gage locations via indexing.

Basically, returning obs is redundant (because it is the same as the input obs).
But we keep it this way in order to reduce the effect of this change to the API.
1 parent eb7cbeb
History
File Mode Size
publications
source
Makefile -rw-r--r-- 4.5 KB
make-many.bat -rw-r--r-- 358 bytes
make.bat -rw-r--r-- 4.7 KB

back to top