[ncl-talk] cssgrid error
Mary Haley
haley at ucar.edu
Thu Aug 28 08:41:41 MDT 2014
Dear Liang,
I don't think this is a missing value issue, as cssgrid is supposed to
check for these and ignore them. But, you must have the "_FillValue"
attribute set to this missing value in order for this to work.
I am not very familiar with cssgrid, but my guess is that you have two or
more lat/lon pairs that are identical. If this is the case, then you may
have to decide what to do with these duplicate values. You could choose to
throw them away, or perhaps take an average of the duplicate values, and
then throw the duplicates away.
--Mary
On Wed, Aug 27, 2014 at 12:36 PM, Liang Ning <ningliangumass at gmail.com>
wrote:
> Hi NCL community,
>
> I tried to use the command cssgrid to interpolate a station data set to
> regular grid. My data is 2d 18262*7981, and 7981 is the number of station.
> When I run the code, it shows this error message:
>
> "CSSGRID - error -493, coordinates 493 and M coincide for some M >
> 493 >= 1 (coordinate numbering starting at 1).
> Error number -493 returned from c_cssgridd
> fatal:cssgrid: Error number -493.
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 47 in
> file data_interpolation.ncl"
> Would anyone please tell what this message means and how to fix it? Does
> it relate to the missing values? Thank you.
>
> Best,
>
> Liang
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140828/2f60e297/attachment.html
More information about the ncl-talk
mailing list