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

[netCDFJava #REQ-189814]: Avoid writing index file when reading GRIB file



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