ET-NCMP / NCMP

Software in R for calculating National Climate Monitoring Products
5 stars 1 forks source link

Region Average - programs crashes when there are no calculated indices #45

Open ET-NCMP opened 7 years ago

ET-NCMP commented 7 years ago

At the moment the program crashes if you try to run it for a month with no calculated indices.

Error in cbind(Dsq[sqs, c(1, 6:8)], Index = t(Ix)) : number of rows of matrices must match (see arg 2)

ET-NCMP commented 6 years ago

This is still the case. The user needs to be careful to make sure they don't try and calculate for partially complete years. I guess the program needs to be modified such that where there are no data, missing data is returned.