Hi Dennis,
Thanks for your message. I've tried your suggestion and my new code is like
this:
data = new((/2,144/),float)
data(0,:) = fl_z
data(1,:) = fl_o
...
data(0,:)@_Fillvalue = 9999.
data(1,:)@_FillValue = 9999.
plot = gsn_csm_xy(wks,ispan(1,144,1),data,res)
...
But I got some error like:
See http://www.ncl.ucar.edu/ for more details.
fatal:syntax error: line 86 in file draw6day.ncl before or near @_Fillvalue
data(0,:)@_Fillvalue
--------------------^
fatal:error in statement
fatal:syntax error: line 87 in file draw6day.ncl before or near @_FillValue
data(1,:)@_FillValue
Have I made some mistake? Thanks.
Hongyan
On Sat, Mar 26, 2011 at 5:35 AM, Dennis Shea <shea@ucar.edu> wrote:
> If you have x(:) and y(:) and the v missing value is 1234
> and the y is 456789
>
> x = ...
> y = ...
>
> x@_Fillvalue = 1234
> y@_FillValue = 456789
>
>
> On 3/25/11 2:45 PM, H.Dang wrote:
>
>> Dear all,
>>
>> There are 2 missing values in my time series data. Seems I can't assign
>> them to either 9999 or -9999. Is there a way not to plot these 2 values?
>> Thanks..
>>
>> Have a good weekend.
>> --
>> Cordially,
>> Hongyan(鸿雁)
>> Tel: 1-519-8884567ext36667
>>
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
-- Cordially, Hongyan(鸿雁) Tel: 1-519-8884567ext36667
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 25 16:27:13 2011
This archive was generated by hypermail 2.1.8 : Mon Mar 28 2011 - 08:51:50 MDT