Hi Prince,
I think you misspelled _FillValue
> u_amip@_Fillvalue = -999.
should be
u_amip@_FillValue = -999.
Adam
Prince K. Xavier wrote:
>
> Hello group,
>
> I have a NetCDF file generated with lats4d utility of Grads, with the
> following header
>
> dimensions:
> time = UNLIMITED ; // (20 currently)
> longitude = 96 ;
> latitude = 34 ;
> variables:
> double time(time) ;
> time:units = "years since 1980-1-1 0" ;
> double longitude(longitude) ;
> longitude:units = "degrees_east" ;
> longitude:long_name = "Longitude" ;
> double latitude(latitude) ;
> latitude:units = "degrees_north" ;
> latitude:long_name = "Latitude" ;
> float u(time, latitude, longitude) ;
> u:comments = "Unknown1 variable comment" ;
> u:long_name = "* u wind :m/s" ;
> u:units = "" ;
> u:grid_name = "grid-1" ;
> u:grid_type = "linear" ;
> u:level_description = "Earth surface" ;
> u:time_statistic = "instantaneous" ;
> u:missing_value = -999.f ;
> ----------------------------------------------
> Now, I am reading this data in NCL, but while plotting it still treats
> -999 as part of the data.
>
> I even tried to reassign the _FillValue as
> ......
> .....
> u_amip = f2->u
> u_amip!0 = "time"
> u_amip!1 = "lat"
> u_amip!2 = "lon"
> u_amip@_Fillvalue = -999.
> ......
> ......
> but makes no difference! What could be wrong?
>
> Thanks in advance
>
> Prince
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Jan 18 2006 - 13:49:17 MST
This archive was generated by hypermail 2.2.0 : Wed Jan 18 2006 - 14:34:50 MST