[Met_help] Question on pb2nc to create daily netcdf OBS files
John Halley Gotway
johnhg at rap.ucar.edu
Wed Feb 11 09:29:54 MST 2009
Jonathan,
Yes, there is an easy way of doing that in METv1.1.
Use the "-pbfile" command line option for PB2NC to pass it multiple PrepBufr files. It should write all the observations to a single NetCDF file.
I haven't used this option much myself, so I'd be interested to find out how it works for you.
John
Case, Jonathan (MSFC)[] wrote:
> John,
>
>
>
> I have been working up a script to run pb2nc on a variety of the gdas1.*
> PREPBUFR files that I downloaded off of NOMADS.
>
> These files are every 6 hours, and I would like to lump them all into a
> single daily netcdf file (00z to 00z) for input to the point_stat
> program.
>
>
>
> So far, I have tried running pb2nc on the individual files, varying the
> "beg_ds" and "end_ds" to control the time windows. For example, the
> gdas1.t00z.* files, I have applied a beg_ds and end_ds of -900 and 10800
> (-15min and +3hours), then applied
>
> -10800 and 10800 for the 06z/12z/18z, and then -10800 to -900 to the
> next day's 00z file. I did this to capture a whole day's worth of data
> in 5 separate netcdf files. Then, I tried running nccat to concatenate
> them into a single netcdf file, but it didn't work.
>
>
>
> Could you recommend a method for accomplishing this? Is there a way to
> modify the pb2nc options to place all OBS data of interest into a single
> daily file?
>
>
>
> Thanks for the advice,
>
> Jonathan
>
>
>
> ***********************************************************
> Jonathan Case, ENSCO, Inc.
> Aerospace Sciences & Engineering Division
> Short-term Prediction Research and Transition Center
> 320 Sparkman Drive, Room 3062
> Huntsville, AL 35805-1912
> Voice: (256) 961-7504 Fax: (256) 961-7788
> Emails: Jonathan.Case-1 at nasa.gov
>
> case.jonathan at ensco.com
>
> ***********************************************************
>
>
>
>
More information about the Met_help
mailing list