[Tutor] Error: 'module' object is not callable

Ajaya Mohan R. S. ajayan_rs at yahoo.com
Tue Nov 13 21:10:18 CET 2007


Hi,
I am trying to run a code for plotting Taylor diagram,
ending up with the following errors. How do I fix
these errors? Help appreciated.

best,
Ajay

Read observation data...
Read 'mri_cgcm2_3_2a' model output...
Compute comparison statistics...
Error treating model: mri_cgcm2_3_2a
Error: 'module' object is not callable
Model: mri_cgcm2_3_2a ignored
Traceback (most recent call last):
  File "model_vs_data_comp_stat.py", line 1471, in ?
    normalize_sign_option=normalize_sign_option,
scaling_factor=scaling_factor)
  File "model_vs_data_comp_stat.py", line 1197, in
model_vs_data_comp_stat
    all_model_output = MV.sort (all_model_output, 0)
  File
"/usr/local/cdat-4.1.2/lib/python2.4/site-packages/cdms/MV.py",
line 310, in sort
    maresult = MA.sort(a, axis)
  File
"/usr/local/cdat-4.1.2/lib/python2.4/site-packages/Numeric/MA/MA.py",
line 2029, in sort
    s = Numeric.sort(d, axis)
  File
"/usr/local/cdat-4.1.2/lib/python2.4/site-packages/Numeric/Numeric.py",
line 257, in sort
    raise ValueError, "sort axis argument out of
bounds"
ValueError: sort axis argument out of bounds



      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 


More information about the Tutor mailing list