When I ran with TRUNK 4.0 (as described in my comment to Issue #2 ), I had the following error message.
Traceback (most recent call last):
File "main.py", line 83, in
dis_all=Cluster.Cluster_test(packdata,auxil,varlist,logfile)
File "/home/orchidee03/mmcgrath/TEST_SPINacc/SPINacc/Tools/Cluster.py", line 96, in Cluster_test
ClusD,disx,traID=Cluster_Ana(packdata,auxil,PFT_mask,veg,var_pred,var_pred_name,kkk,10)
File "/home/orchidee03/mmcgrath/TEST_SPINacc/SPINacc/Tools/Cluster.py", line 36, in Cluster_Ana
pp[laix<0.01]=np.nan
IndexError: too many indices for array
When I ran with TRUNK 4.0 (as described in my comment to Issue #2 ), I had the following error message.
Traceback (most recent call last): File "main.py", line 83, in dis_all=Cluster.Cluster_test(packdata,auxil,varlist,logfile) File "/home/orchidee03/mmcgrath/TEST_SPINacc/SPINacc/Tools/Cluster.py", line 96, in Cluster_test ClusD,disx,traID=Cluster_Ana(packdata,auxil,PFT_mask,veg,var_pred,var_pred_name,kkk,10) File "/home/orchidee03/mmcgrath/TEST_SPINacc/SPINacc/Tools/Cluster.py", line 36, in Cluster_Ana pp[laix<0.01]=np.nan IndexError: too many indices for array