From: Peter K. <pet...@wa...> - 2013-05-26 19:10:09
|
On 05/26/2013 01:31 PM, yinjinfang88 wrote: > Dear all, > I run ccplot for visualising CloudSat data. However, I got a > error at line 1504 in ccplot file. That is: > data = cctk.interpolate2d(data, X, Y, (0, e2-e1, e2-e1), > (ve1, ve2, resolution), float("nan"), 0, radius) > and the error message is as follows: > > Traceback (most recent call last): > File "/usr/local/bin/ccplot", line 2265, in <module> > main(sys.argv) > File "/usr/local/bin/ccplot", line 2183, in main > opts=opts.plot_opts) > File "/usr/local/bin/ccplot", line 1505, in plot_profile > (ve1, ve2, resolution), float("nan"), 0, radius) > TypeError: Cannot cast array data from dtype('float64') to dtype('float32') according to the rule 'safe' > > Did something wrong? > Thinks! > > Yin Dear Yin, Thank you very much for the report. This is a bug in ccplot. Could you please let me know what CloudSat granule it was and the command you used? It'll be helpful in pinpointing and fixing the problem. Regards, Peter |