Re: Reading GINI images



Don Murray wrote:
John/Yuan-

I tried reading in a GINI image through the IDV.  It comes
in through the GeoGrid interface, but I see the following
issues:

- the range of data ends up being -128 to 128 instead of
0 to 255.  The variable says it's unsigned and in the
GeoGridAdapter for the IDV, we just call:

   Array arr = geoGrid.readVolumeData(timeIndex);
   Object dst       = arr.get1DJavaArray(float.class);

hmmm, i need these lower level libraries to realize the data is unsigned.
it will have to be after the stable release


Should this be returning unsigned values?

- I don't get a time associated with a particular file.
The time axis is null.  Can one be created through the
IOSP layer?

Its handled in the aggregation, for example, open this as a grid:

 dods://motherlode.ucar.edu:8080/thredds/dodsC/satellite/3.9/WEST-CONUS_4km

this is probably the way you want to see these files anyway

this is experimental, but when im done testing, well try to get all the data aggregated that we can.



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



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