[Met_help] [rt.rap.ucar.edu #70926] History for Example of a Text Input File for ASCII2NC

Julie Prestopnik via RT met_help at ucar.edu
Tue Mar 3 16:13:15 MST 2015


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Greetings,

I'm finally getting around to testing MET to see how it works for WRF
verification.  First, I want to try converting surface (MesoWest)
observations into the proper format for the input for ASCII2NC.  I see this
on the MET website:

   1. *Message_Type*
   2. *Station_ID*
   3. *Valid_Time* in YYYYMMDD_HHMMSS format
   4. *Lat* in degrees North
   5. *Lon* in degrees East
   6. *Elevation* in meters above sea level
   7. *Grib_Code* corresponding to this observation type
   8. *Level* as the pressure level in hPa or accumulation interval in hours
   9. *Height* in meters above sea level
   10. *Observation_Value* in the units prescribed for the grib code

Do you have a small sample file I could view (that's often worth more than
a description)?  There are things that aren't clear how to use, like
"Message_Type" or "Grib_Code".


Thanks,
Brandt/NWS San Diego


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Example of a Text Input File for ASCII2NC
From: Julie Prestopnik
Time: Tue Mar 03 15:55:51 2015

Hi Brandt.

A sample input file for ascii2nc is included in the distribution.  If
using
version 5.0, you should be able to find it here:
met-5.0/data/sample_obs/ascii/sample_ascii_obs.txt

Here is a sample ASCII observation file we have used for testing. The
numbers don't mean much since it is just for software testing, but the
sample observations are for 12-hour accumulated precipitation at the
surface:

ADPSFC SID1 20050807_120001 40.00 -105.00 2001 61 12 -9999 1.01
ADPSFC SID2 20050807_120002 40.00 -105.00 2002 61 12 -9999 1.02
ADPSFC SID3 20050807_120003 40.00 -105.00 2003 61 12 -9999 1.03
ADPSFC SID4 20050807_120004 40.00 -105.00 2004 61 12 -9999 1.04
ADPSFC SID5 20050807_120005 35.00 -105.00 2005 61 12 -9999 1.05
ADPSFC SID6 20050807_120006 35.00 -105.00 2006 61 12 -9999 1.06
ADPSFC SID7 20050807_120007 35.00 -105.00 2007 61 12 -9999 1.07
ADPSFC SID8 20050807_120008 35.00 -105.00 2008 61 12 -9999 1.08
ADPSFC SID9 20050807_120009 35.00 -105.00 2009 61 12 -9999 1.09

The table of message types can be found here in the PREPBUFR
documentation:
http://www.emc.ncep.noaa.gov/mmb/data_processing/prepbufr.doc/table_1.htm

For the "surface" observations - meaning 2-meter variables (like temp,
dpt, pressure, rh) and 10-meter winds, use a message type of "ADPSFC".
MET matches point observations to the surface in a very
simplistic way... we're just mimicking the way NCEP does it.
Basically, if an observation has a message type of ADPSFC or SFCSHP,
it is considered to be at the surface.  So when verifying 2-meter
temperature or 10-meter winds, the Point-Stat tool in MET only uses
observations with one of those message types.

Regarding the grib code, just use the code from the GRIB file output.
The "wgrib" command is very help for dumping the contents of a GRIB
file to the screen.
It will tell you what GRIB codes are contained in a file.

I hope this helps.  Please let us know if you have any other
questions.

Thanks,

Julie

On Tue, Mar 3, 2015 at 3:40 PM, Brandt Maxwell - NOAA Federal via RT <
met_help at ucar.edu> wrote:

>
> Tue Mar 03 15:40:52 2015: Request 70926 was acted upon.
> Transaction: Ticket created by brandt.maxwell at noaa.gov
>        Queue: met_help
>      Subject: Example of a Text Input File for ASCII2NC
>        Owner: Nobody
>   Requestors: brandt.maxwell at noaa.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926 >
>
>
> Greetings,
>
> I'm finally getting around to testing MET to see how it works for
WRF
> verification.  First, I want to try converting surface (MesoWest)
> observations into the proper format for the input for ASCII2NC.  I
see this
> on the MET website:
>
>    1. *Message_Type*
>    2. *Station_ID*
>    3. *Valid_Time* in YYYYMMDD_HHMMSS format
>    4. *Lat* in degrees North
>    5. *Lon* in degrees East
>    6. *Elevation* in meters above sea level
>    7. *Grib_Code* corresponding to this observation type
>    8. *Level* as the pressure level in hPa or accumulation interval
in
> hours
>    9. *Height* in meters above sea level
>    10. *Observation_Value* in the units prescribed for the grib code
>
> Do you have a small sample file I could view (that's often worth
more than
> a description)?  There are things that aren't clear how to use, like
> "Message_Type" or "Grib_Code".
>
>
> Thanks,
> Brandt/NWS San Diego
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Example of a Text Input File for ASCII2NC
From: Brandt Maxwell - NOAA Federal
Time: Tue Mar 03 15:58:39 2015

Thanks, Julie!

Brandt

On Tue, Mar 3, 2015 at 2:55 PM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Brandt.
>
> A sample input file for ascii2nc is included in the distribution.
If using
> version 5.0, you should be able to find it here:
> met-5.0/data/sample_obs/ascii/sample_ascii_obs.txt
>
> Here is a sample ASCII observation file we have used for testing.
The
> numbers don't mean much since it is just for software testing, but
the
> sample observations are for 12-hour accumulated precipitation at the
> surface:
>
> ADPSFC SID1 20050807_120001 40.00 -105.00 2001 61 12 -9999 1.01
> ADPSFC SID2 20050807_120002 40.00 -105.00 2002 61 12 -9999 1.02
> ADPSFC SID3 20050807_120003 40.00 -105.00 2003 61 12 -9999 1.03
> ADPSFC SID4 20050807_120004 40.00 -105.00 2004 61 12 -9999 1.04
> ADPSFC SID5 20050807_120005 35.00 -105.00 2005 61 12 -9999 1.05
> ADPSFC SID6 20050807_120006 35.00 -105.00 2006 61 12 -9999 1.06
> ADPSFC SID7 20050807_120007 35.00 -105.00 2007 61 12 -9999 1.07
> ADPSFC SID8 20050807_120008 35.00 -105.00 2008 61 12 -9999 1.08
> ADPSFC SID9 20050807_120009 35.00 -105.00 2009 61 12 -9999 1.09
>
> The table of message types can be found here in the PREPBUFR
documentation:
>
http://www.emc.ncep.noaa.gov/mmb/data_processing/prepbufr.doc/table_1.htm
>
> For the "surface" observations - meaning 2-meter variables (like
temp,
> dpt, pressure, rh) and 10-meter winds, use a message type of
"ADPSFC".
> MET matches point observations to the surface in a very
> simplistic way... we're just mimicking the way NCEP does it.
> Basically, if an observation has a message type of ADPSFC or SFCSHP,
> it is considered to be at the surface.  So when verifying 2-meter
> temperature or 10-meter winds, the Point-Stat tool in MET only uses
> observations with one of those message types.
>
> Regarding the grib code, just use the code from the GRIB file
output.
> The "wgrib" command is very help for dumping the contents of a GRIB
> file to the screen.
> It will tell you what GRIB codes are contained in a file.
>
> I hope this helps.  Please let us know if you have any other
questions.
>
> Thanks,
>
> Julie
>
> On Tue, Mar 3, 2015 at 3:40 PM, Brandt Maxwell - NOAA Federal via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > Tue Mar 03 15:40:52 2015: Request 70926 was acted upon.
> > Transaction: Ticket created by brandt.maxwell at noaa.gov
> >        Queue: met_help
> >      Subject: Example of a Text Input File for ASCII2NC
> >        Owner: Nobody
> >   Requestors: brandt.maxwell at noaa.gov
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926 >
> >
> >
> > Greetings,
> >
> > I'm finally getting around to testing MET to see how it works for
WRF
> > verification.  First, I want to try converting surface (MesoWest)
> > observations into the proper format for the input for ASCII2NC.  I
see
> this
> > on the MET website:
> >
> >    1. *Message_Type*
> >    2. *Station_ID*
> >    3. *Valid_Time* in YYYYMMDD_HHMMSS format
> >    4. *Lat* in degrees North
> >    5. *Lon* in degrees East
> >    6. *Elevation* in meters above sea level
> >    7. *Grib_Code* corresponding to this observation type
> >    8. *Level* as the pressure level in hPa or accumulation
interval in
> > hours
> >    9. *Height* in meters above sea level
> >    10. *Observation_Value* in the units prescribed for the grib
code
> >
> > Do you have a small sample file I could view (that's often worth
more
> than
> > a description)?  There are things that aren't clear how to use,
like
> > "Message_Type" or "Grib_Code".
> >
> >
> > Thanks,
> > Brandt/NWS San Diego
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>

------------------------------------------------


More information about the Met_help mailing list