DisplayImpl can't draw data from Netcdf (About IsoContour and Animation)

劉育帆 monica at cwb.gov.tw
Thu Nov 16 02:35:22 MST 2006


Dear All:
        I get a netcdf file (0f64af9404ddffcc0b8bedbdf264d061.nc) and
use visad to show the data..
    But there is nothiing in the picture like dms510.JPG..
    
        I check data from Netcdf file and DisplayImpl, they are same,
and program(Animation2DVisad.java) seem no error...
    I don't know what error cause the data not show...

        Could some one know how to show the nectdf file data? Thanks
lot~
        P.S But Animation2DVisad.java can show xyt.nc data~

        This is the head of 0f64af9404ddffcc0b8bedbdf264d061.nc data:

netcdf 0f64af9404ddffcc0b8bedbdf264d061 {
    dimensions:
     lat = 27 ;
     lon = 33 ;
     time = 9 ;
     level510 = 1 ;
    variables:
         double time(time) ;
          time:units = "hours since 1-1-1 00:00:00" ;
          time:prev_avg_period = "0000-00-01 00:00:00" ;
          time:avg_period = "0000-01-00 00:00:00" ;
          time:delta_t = "0000-01-00 00:00:00" ;
          time:actual_range = 17067072., 17581344. ;
         float lon(lon) ;
          lon:units = "degrees_east" ;
          lon:long_name = "Longitude" ;
          lon:actual_range = -90.f, 90.f ;
         float lat(lat) ;
          lat:units = "degrees_north" ;
          lat:long_name = "Latitude" ;
         float level510(level510) ;
          level510:units = "mb" ;
         double dms510(time, level510, lat, lon) ;
          dms510:units = "%" ;
          dms510:long_name = "Monthly Mean of Relative Humidity at 850
millibar" ;

        // global attributes:
          :SpecialVarNum = "0" ;
          :SpecialVar = "" ;
          :GeneralVarNum = "1" ;
          :GeneralVar = "510" ;
          :Flapcharacters = "GE0B" ;
          :Variabletype = "F" ;
          :DataLength = "0000891" ;
          :Datatype = "NC_DOUBLE" ;
          :projName = "CylindricalEquidistant" ;
          :centralLat = 10.f ;
          :centralLon = 120.f ;
          :rotation = 40.f ;
          :lat00 = 0 ;
          :lon00 = 77.5 ;
          :latNxNy = 65 ;
          :lonNxNy = 157.5 ;
          :Dx = 1 ;
          :Dy = 1 ;
}
    

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 49089 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/visad/attachments/20061116/737e3170/attachment.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Animation2DVisad.java
Type: application/octet-stream
Size: 14016 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/visad/attachments/20061116/737e3170/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyDataUtility.java
Type: application/octet-stream
Size: 53666 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/visad/attachments/20061116/737e3170/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BaseMapAdapter.java
Type: application/octet-stream
Size: 22767 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/visad/attachments/20061116/737e3170/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0f64af9404ddffcc0b8bedbdf264d061.nc
Type: application/octet-stream
Size: 88857 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/visad/attachments/20061116/737e3170/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xyt.nc
Type: application/octet-stream
Size: 233400 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/visad/attachments/20061116/737e3170/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dms510.JPG
Type: image/jpeg
Size: 49089 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/visad/attachments/20061116/737e3170/attachment-0001.jpe 


More information about the visad mailing list