[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDFJava #SBH-372787]: HDF4



Greetings,

Try opening the file using GridDataset:

https://www.unidata.ucar.edu/software/thredds/current/netcdf-java/javadoc/ucar/nc2/dt/grid/GridDataset.html#findGridByName-java.lang.String-

Once you have the file open, you can use the findGridByName method
to select a data variable (a GeoGrid object), and use one of the GeoGrid read
methods to get the values (for example, readDataSlice):

https://www.unidata.ucar.edu/software/thredds/current/netcdf-java/javadoc/ucar/nc2/dt/grid/GeoGrid.html

Cheers,

Sean

> Full Name: hopeful nick
> Email Address: address@hidden
> Organization: WHU
> Package Version:
> Operating System:
> Hardware:
> Description of problem:
> 
> I have trouble accessing MODIS(HDF4).I don't how to look at the raster
> values, and it seems your website doesn't lead a way.
> 
> 

Ticket Details
===================
Ticket ID: SBH-372787
Department: Support netCDF Java
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.