Re: fatal:Attribute assignment type mismatch

From: Takeshi Enomoto <eno_at_nyahnyahspammersnyahnyah>
Date: Wed, 8 Aug 2007 10:44:27 +0900

Hello,

I download the same file from CDC and identified the problem.
It has a missing_value in NC_SHORT although the uwnd itself is NC_FLOAT.
So the behaviour of NCL is correct and the file has an inappropriate
attribute.

Try deleting this attribute. If you have NCO,

ncatted -a missing_value,uwnd,d,, uwnd10m.mon.mean.nc tmp.nc

You could rewrite the original file if you are sure what you are doing.

ncatted -O -a missing_value,uwnd,d,, uwnd10m.mon.mean.nc

Takeshi

-----
Dr Takeshi Enomoto
eno_at_jamstec.go.jp
Earth Simulator Center, JAMSTEC

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Aug 07 2007 - 19:44:27 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 09 2007 - 10:59:25 MDT