This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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.