Re: PyNIO And NOAAPort Grids

From: Bryan Rockwood <bryan.rockwood_at_nyahnyahspammersnyahnyah>
Date: Tue, 04 Nov 2008 06:58:11 -0600

Hello Mary,

Thank you for the quick response. I have played with the
script and have gotten it to work as written. The problem I am running
into is that I do not have access to a single file with the entire model
run but a series of files (in the case of the 218 grid, 7046 files). I
suppose my main question would be, what is the proper way to append
grids to an existing NetCDF file where the main attributes already exist?


Mary Haley wrote:
> Hi Bryan,
> Please see an example we have at:
> As the description of this example states:
> # This example reads a GRIB2 file and copies its contents
> # to a NetCDF file, setting some options for efficient
> # copying along the way.
> --Mary
> On Nov 3, 2008, at 3:16 PM, Bryan Rockwood wrote:
>> Greetings,
>> I am trying to use PyNIO to read in a NAM12 (218 grid) model run that
>> was received from the NOAAPort in GRIB2 format. Since the data
>> received is in individual files, I am trying to write a simple script
>> that takes each individual file and inserts them into a single
>> NetCDF3 file. Being relatively new to PyNIO, and if at all possible,
>> I was hoping someone would have an example of how to do this or could
>> point me to an example someplace on line. Thanks.
>> Bryan Rockwood
>> _______________________________________________
>> pyngl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
Received on Tue Nov 04 2008 - 05:58:11 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 14 2008 - 16:43:44 MST