Re: vector doesn't appear

From: ahmed lasheen <ahmed4kernel_at_nyahnyahspammersnyahnyah>
Date: Fri Sep 16 2011 - 14:23:38 MDT

yes thanks , it is know working well without the error.

On Fri, Sep 16, 2011 at 11:21 PM, David Brown <dbrown@ucar.edu> wrote:

> I think there was a typo. It should be "default_fillvalue", as stated in
> the text.
> -dave
>
> On Sep 16, 2011, at 2:19 PM, ahmed lasheen wrote:
>
> thank you , it is know working very well.
> just when i put the default_missing function,it gives me the following
> error
> fatal:Undefined identifier: (default_missing) is undefined, can't continue
> thanks
>
> On Fri, Sep 16, 2011 at 10:43 PM, Mary Haley <haley@ucar.edu> wrote:
>
>> Dear Ahmed,
>>
>> Thanks for providing your script and data offline.
>>
>> The fix is pretty simple. You had named the dimensions of "u" and "v"
>> correctly, but you
>> need additional code to attach the coordinate arrays.
>>
>> After this code:
>>
>> u!0="for_time"
>> u!1="lat"
>> u!2 ="lon"
>> v!0="for_time"
>> v!1="lat"
>> v!2 ="lon"
>>
>> Add this code:
>>
>> ;---Attach coordinate arrays to u and v
>> u&lat = lat
>> u&lon = lon
>> v&lat = lat
>> v&lon = lon
>>
>>
>> Furthermore, I noticed you are hard-coding your missing values:
>>
>> u@_FillValue=9.96921e+36
>> v@_FillValue=9.96921e+36
>>
>> If you are using NCL V6.0.0, then you can use the "default_fillvalue"
>> function, which gives the same values:
>>
>> u@_FillValue = default_missing("float")
>> v@_FillValue = default_missing("float")
>>
>> --Mary
>>
>>
>> On Sep 16, 2011, at 8:27 AM, ahmed lasheen wrote:
>>
>> hello every body
>> i am trying to plot the wind velocity for the wam model , but i have a
>> problem in drawing them
>> i have wind speed and wind direction and from them i calculate the u and v
>> to draw them
>> .
>> i used the overlay function , gsn_csm_map and gsn_csm_vector
>> the script and the grib file are attached in the email
>> thanks in advance
>>
>> --
>> ===============
>> Ahmed Lasheen
>> Junior researcher at Cairo Numerical Weather Prediction Center (CNWPC)
>> Egyptian Meteorological Authority(EMA)
>> Cairo,Egypt
>> ===============
>>
>>
>>
>
>
> --
> ===============
> Ahmed Lasheen
> Junior researcher at Cairo Numerical Weather Prediction Center (CNWPC)
> Egyptian Meteorological Authority(EMA)
> Cairo,Egypt
> ===============
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>

-- 
===============
Ahmed Lasheen
Junior researcher at Cairo Numerical Weather Prediction Center (CNWPC)
Egyptian Meteorological Authority(EMA)
Cairo,Egypt
===============

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Sep 16 16:24:28 2011

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2011 - 17:12:44 MDT