[Met_help] viewing/plotting data from Prepbufr files

John Halley Gotway johnhg at rap.ucar.edu
Wed Jun 25 15:16:19 MDT 2008


Luke,

The utility is named "pb2nc_var_plot".  You can try to insert it into your version of MET and rebuild.

The attached tar file contains 3 files:
- a top-level MET Makefile.  Look in it to see the lines I added relating to "PB2NC_VAR_PLOT", and modify your version of the top-level Makefile accordingly.
- Put the src/pb2nc_var_plot directory into the src/ directory of MET.
- Try rebuilding MET and building this tool with it.

Let me know if you run into any problems.  And be aware that the Makefiles included are the "latest" development version.  They may not be completely compatible with the version of the code you have. 
  So you may need to tinker with them some.

Good luck.

John

Luke Peffers wrote:
> Sure John, some code that I could tinker with would be great.  I think it
> will help me!
> 
> Thanks
> 
> Luke
> 
> On Wed, Jun 25, 2008 at 3:58 PM, John Halley Gotway <johnhg at rap.ucar.edu>
> wrote:
> 
>> Luke,
>>
>> I have a small utility I use for plotting the locations of the PREPBUFR
>> observations, but it reads the NetCDF output of PB2NC rather than the
>> PREPBUFR files directly.
>>
>> It creates a PostScript plot with the world outlines on it and red dots
>> where there are observations.  You can select the observation variable
>> type(s) to be plotted with the "-var" command line option and message
>> type(s) to be plotted with the "-typ" command line option.  Also, you can
>> specify some arguments to zoom the plot up to a particular region of the
>> world.  By default, it plots the lat/lon location for all variables and
>> message types on the whole earth.
>>
>> If you think it'd be useful, I'd be happy to provide it to you.  But since
>> I'm pretty busy these days, I wouldn't be able to provide much support for
>> it.
>>
>> I'm not aware of tools that plot PrepBufr locations directly, but it might
>> be worth searching for that yourself.
>>
>> Just let me know.
>>
>> John Halley-Gotway
>>
>> Luke Peffers wrote:
>>
>>> Hello, I would like to know if there is a tool that can plot data from the
>>> PREPBUFR files, which I am using with MET.
>>>
>>> Thank you
>>>
>>> Luke Peffers
>>> FSU Meteorology
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Met_help mailing list
>>> Met_help at mailman.ucar.edu
>>> http://mailman.ucar.edu/mailman/listinfo/met_help
>>>
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pb2nc_var_plot.tar.gz
Type: application/gzip
Size: 5183 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/met_help/attachments/20080625/aac167ee/pb2nc_var_plot.tar.bin


More information about the Met_help mailing list