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.
we will consider it for a new feature. thanks! John > Hi John, > > I understand that index file will help to read the data much faster, but it > should be no uesful when open a grib file first time, when the message > index information was built by reading all messages in the file and then > index files were written. In some cases, I just need to read the grib file > only once such as converting the data format to netCDF, and I don't want to > add so many extra index files which are not useful. So I suggest you to add > a boolean attribute in NetcdfFile class to control if write or not the > index files for grib data in your next netCDF Java library. Thanks! > > By the way, I want to say that netCDF Java library is so elegant and > powerful. > > Regards > Yaqiang > > > address@hidden> wrote: > > > Hi Yaqiang: > > > > Its not really possible. Why do you want to do that? > > > > John > > > > > Some index files (with suffix of .gbx9 and .ncx) were created when read > > > GRIB2 file with netCDF Java API function: NetcdfFile.open(String > > location). > > > I want to know how to avoid creating the index files ? > > > > > > Thanks! > > > > > > Yaqiang > > > -- > > > ************************************************* > > > Dr. Yaqiang Wang > > > Chinese Academy of Meteorological Sciences (CAMS) > > > 46, Zhong-Guan-Cun South Avenue > > > Beijing, 100081 > > > China > > > > > > address@hidden > > > > > > http://www.meteothinker.com > > > ************************************************** > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: REQ-189814 > > Department: Support netCDF Java > > Priority: Urgent > > Status: Closed > > > > > > > -- > ************************************************* > Dr. Yaqiang Wang > Chinese Academy of Meteorological Sciences (CAMS) > 46, Zhong-Guan-Cun South Avenue > Beijing, 100081 > China > > address@hidden > > http://www.meteothinker.com > ************************************************** > > Ticket Details =================== Ticket ID: REQ-189814 Department: Support netCDF Java Priority: Emergency Status: Closed