FillValue

From: Prince K. Xavier <xavier_at_nyahnyahspammersnyahnyah>
Date: Thu, 19 Jan 2006 00:41:14 +0530 (IST)

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

-- 
Prince K XAVIER
Centre for Atmospheric and Oceanic Sciences 
Indian Institute of Science 
Bangalore - 560 012 
INDIA 
http://caos.iisc.ernet.in/hpg/students/prince.html
__________________________________________________ 
Phone No. 
+91 80 2293 2505 (Extn:201)
+91 98808 19172  (Mobile)
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jan 18 2006 - 12:11:14 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 18 2006 - 14:34:50 MST