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.
Hi Stephanie I'd highly recommend looking at the pygrib2 module. It can do what you need quite simply. http://code.google.com/p/pygrib2/ Good luck Sam http://somafm.com 2009/1/27 Robb Kambic <address@hidden>: > > On Mon, 26 Jan 2009, Stephanie Mayfield wrote: > >> >> I am attempting to use the grib-6.0.jar (GribJava) for extracting data >> from a grib file. What I want to do is extract data based on a >> particular lat/lon point within the area. > > Hiya, > > Noop, the GribJava library is mainly a low level grib reader. There is a > netCDF subset service that can perform that task. It at: > > http://motherlode.ucar.edu:8080/thredds > > drill down to a model file level, then there are some options about how > to extract the data. > > Robb.. > > > >> >> For instance, I would like to take the NAM model's grib files and >> extract the temperature for a specific point, say Halifax International >> Airport. Is it possible to use this library for that purpose? If so, >> can anyone post and example of how that would be done or even point me >> at the right direction? I've managed to get the test files to run and >> show me data. I have a vague understanding of how to choose which >> parameters I want. But I'm having trouble figuring out how, if at all, >> I can indicate the location. >> >> Thanks! >> Steph >> >> -- >> Stephanie Mayfield >> Senior Programmer/Analyst >> Scotia Weather Services Inc. >> address@hidden >> 902.468.3866 >> >> _______________________________________________ >> decoders mailing list >> address@hidden >> For list information or to unsubscribe, visit: >> http://www.unidata.ucar.edu/mailing_lists/ >> > > =============================================================================== > Robb Kambic Unidata Program Center > Software Engineer III Univ. Corp for Atmospheric Research > address@hidden WWW: http://www.unidata.ucar.edu/ > =============================================================================== > _______________________________________________ > decoders mailing list > address@hidden > For list information or to unsubscribe, visit: > http://www.unidata.ucar.edu/mailing_lists/ >