Re: fatal:Attribute assignment type mismatch

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 8 Aug 2007 08:48:39 -0600 (MDT)

Hi Takeshi,

Thanks for taking a look at this. I'll see if we can't improve
the error message on our end so that a warning specifically about
the missing value is issued, if there's a type conflict.

--Mary

On Wed, 8 Aug 2007, Takeshi Enomoto wrote:

> 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
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 08 2007 - 08:48:39 MDT

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