Re: How to deal with the missing data

Hi-

Wang Lizhi wrote:
> Hi,
> 
> I want to display some 2D/3D data, but I'm not sure whether visad can deal 
> with the missing data, or how to do it?

Missing data is indicated by NaNs in VisAD.  If you are
reading from a netCDF file, there are conventions for
indicating missing data using attributes.  See:

http://www.unidata.ucar.edu/software/netcdf/docs/netcdf/Attribute-Conventions.html#Attribute-Conventions

if you have your own adapter, it will need to convert
from the file values to NaN's in the VisAD Data object.

For display, you can use the GraphicModeControl or
a ConstantMap to set missing values transparent.

Don Murray
> thanks
> ##########################################################################
> 
>   WANG Lizhi
> 
>   Key Laboratory of Regional Climate-Environment for East Asia,
>   START/RRC Temperate East Asia, Institute of
>   Atmospheric Physics, Chinese Academy of Sciences
> 
>   Tel(O)  :  86-10-62063389
>   Fax(O)  :  86-10-62045230
>   E-mail  :  wlz@xxxxxxxxx
>   Address :  P.O.Box 9804,Beijing 100029,  P.R.China
> ##########################################################################
> 
> ==============================================================================
> To unsubscribe visad, visit:
> http://www.unidata.ucar.edu/mailing-list-delete-form.html
> ==============================================================================

-- 
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************


==============================================================================
To unsubscribe visad, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: