Re: argument mismatch issue

From: Coly SAR <colysar_at_nyahnyahspammersnyahnyah>
Date: Sun Oct 16 2011 - 10:18:04 MDT

I had a progress but having an error in variable data with no specified time
, lat ,lon
............................
Variable: data
Type: float
Total Size: 75221244 bytes
            18805311 values
Number of Dimensions: 3
Dimensions and sizes: [1827] x [73] x [141]
Coordinates:
Number Of Attributes: 1
  _FillValue : -9.99e+08
(0) Filtering...dim oct 16 16:13:54 GMT 2011
fatal:(lat) is not a named dimension in variable (data).
fatal:Execute: Error occurred at or near line 83

CS

2011/10/16 Dennis Shea <shea@ucar.edu>

> This type of error can be diagnosed by doing a printVarSummary(...)
> of kf_filter and es. Or, print(typeof(kf_filter)) and print(typeof(es))
>
> Perhaps, kf_filter is type double and es is type float? If so,
>
> es(time|:,lat|y,lon|:) = tofloat( \
>
> (/ kf_filter( data(time|:,lat|y,lon|:), \
> obsPerDay, 2, 10, -20, -6, 90, mis, "mrg" ) /) )
>
>
> On 10/16/11 9:08 AM, Coly SAR wrote:
>
>> Dear all,
>>
>> I am having a mismatch argument error when running a script with my data
>> as shown below:
>>
>> Number of Dimensions: 3
>> Dimensions and sizes: [time | 1827] x [lat | 73] x [lon | 141]
>> Coordinates:
>> time: [ 0..2629440]
>> lat: [-0.5..35.5]
>> lon: [-22.5..47.5]
>> Number Of Attributes: 1
>> _FillValue : -999000000
>> (0) 0 72 dim oct 16 14:55:40 GMT 2011
>> fatal:Argument type mismatch on argument (0) of (kf_filter) can not coerce
>> fatal:Execute: Error occurred at or near line 97
>>
>> Hoping to have a hint to solve this urgent problem.
>>
>> The line of the code is below:
>>
>> es(time|:,lat|y,lon|:) = (/ kf_filter( data(time|:,lat|y,lon|:), \\
>> obsPerDay, 2, 10, -20, -6, 90, mis, "mrg" ) /)
>>
>> Thanks,
>>
>> CS
>>
>>
>>
>> ______________________________**_________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/**mailman/listinfo/ncl-talk<http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Oct 16 10:18:14 2011

This archive was generated by hypermail 2.1.8 : Tue Oct 18 2011 - 09:42:15 MDT