[netcdf-java] Converting GRIB2 InputStream to netCDF

I am currently trying to convert a Grib2 File to a netCDF file -- more specifically I am trying to create a GridDataset object off of it. The only issue is that the Grib2 "File" is actually coming from a database and really is an InputStream (or byte[]). It seems that the open method really wants a pathname to a file. It would be convenient for it to be able to also take an InputStream. Is there some way of getting the inputstream into GridDataset?

Joel Mirkin

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