[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
Thu Mar 5 16:51:07 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
>
>

------------------------------------------------
Subject: Example of a Text Input File for ASCII2NC
From: Brandt Maxwell - NOAA Federal
Time: Tue Mar 03 17:00:47 2015

Julie,

Just wanted to check to make sure I didn't mess anything up.  I
attached
both my input and output files (the ncdump on test.nc looked OK, I
think).

Thanks,
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
>
>

------------------------------------------------
Subject: Example of a Text Input File for ASCII2NC
From: Julie Prestopnik
Time: Thu Mar 05 10:41:55 2015

Hi Brandt.  Thanks for checking in.  I apologize for the delay - I was
out
of the office yesterday.

I took a look at your files.  They look good.  However, the grib code
should be an integer value.  The value for TMP is 11.  Here is a link
to
the grid code table:
http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html

You could also find the grib code by using the "wgrib" or "wgrib2"
command.  It will tell you what GRIB codes are contained in a file.

Please let us know if you have any other questions.

Thanks,
Julie

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

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926 >
>
> Julie,
>
> Just wanted to check to make sure I didn't mess anything up.  I
attached
> both my input and output files (the ncdump on test.nc looked OK, I
think).
>
> Thanks,
> 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
> >
> >
>
>


--
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: Thu Mar 05 16:35:46 2015

Thanks, Julie...I'll try that (and then eventually see how well the
PointStat tool works.  Just a bit of the big picture--I'm eventually
planning on using this for verification of surface parameters of our
local
WRF at NWS San Diego (especially wind), but in the shorter term, I'm
doing
a project with Kyrgyzstan (Central Asia) where they are installing a
WRF,
and they very much will need verification (using the precious few
surface
obs they have).

Thanks,
Brandt

On Thu, Mar 5, 2015 at 9:41 AM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Brandt.  Thanks for checking in.  I apologize for the delay - I
was out
> of the office yesterday.
>
> I took a look at your files.  They look good.  However, the grib
code
> should be an integer value.  The value for TMP is 11.  Here is a
link to
> the grid code table:
> http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html
>
> You could also find the grib code by using the "wgrib" or "wgrib2"
> command.  It will tell you what GRIB codes are contained in a file.
>
> Please let us know if you have any other questions.
>
> Thanks,
> Julie
>
> On Tue, Mar 3, 2015 at 5:00 PM, Brandt Maxwell - NOAA Federal via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926 >
> >
> > Julie,
> >
> > Just wanted to check to make sure I didn't mess anything up.  I
attached
> > both my input and output files (the ncdump on test.nc looked OK, I
> think).
> >
> > Thanks,
> > 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
> > >
> > >
> >
> >
>
>
> --
> 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: Julie Prestopnik
Time: Thu Mar 05 16:42:40 2015

Thanks, Brandt.  I'm glad to hear that you'll be using MET at NWS San
Diego
and for your project with Kyrgyzstan.

I'm going to go ahead and close this ticket.  Please don't hesitate to
write to us with any questions in the future.

Julie

On Thu, Mar 5, 2015 at 4:35 PM, Brandt Maxwell - NOAA Federal via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926 >
>
> Thanks, Julie...I'll try that (and then eventually see how well the
> PointStat tool works.  Just a bit of the big picture--I'm eventually
> planning on using this for verification of surface parameters of our
local
> WRF at NWS San Diego (especially wind), but in the shorter term, I'm
doing
> a project with Kyrgyzstan (Central Asia) where they are installing a
WRF,
> and they very much will need verification (using the precious few
surface
> obs they have).
>
> Thanks,
> Brandt
>
> On Thu, Mar 5, 2015 at 9:41 AM, Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Brandt.  Thanks for checking in.  I apologize for the delay - I
was
> out
> > of the office yesterday.
> >
> > I took a look at your files.  They look good.  However, the grib
code
> > should be an integer value.  The value for TMP is 11.  Here is a
link to
> > the grid code table:
> > http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html
> >
> > You could also find the grib code by using the "wgrib" or "wgrib2"
> > command.  It will tell you what GRIB codes are contained in a
file.
> >
> > Please let us know if you have any other questions.
> >
> > Thanks,
> > Julie
> >
> > On Tue, Mar 3, 2015 at 5:00 PM, Brandt Maxwell - NOAA Federal via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926 >
> > >
> > > Julie,
> > >
> > > Just wanted to check to make sure I didn't mess anything up.  I
> attached
> > > both my input and output files (the ncdump on test.nc looked OK,
I
> > think).
> > >
> > > Thanks,
> > > 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
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>


--
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: Thu Mar 05 16:45:58 2015

Thanks, Julie!

Brandt

On Thu, Mar 5, 2015 at 3:42 PM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Thanks, Brandt.  I'm glad to hear that you'll be using MET at NWS
San Diego
> and for your project with Kyrgyzstan.
>
> I'm going to go ahead and close this ticket.  Please don't hesitate
to
> write to us with any questions in the future.
>
> Julie
>
> On Thu, Mar 5, 2015 at 4:35 PM, Brandt Maxwell - NOAA Federal via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926 >
> >
> > Thanks, Julie...I'll try that (and then eventually see how well
the
> > PointStat tool works.  Just a bit of the big picture--I'm
eventually
> > planning on using this for verification of surface parameters of
our
> local
> > WRF at NWS San Diego (especially wind), but in the shorter term,
I'm
> doing
> > a project with Kyrgyzstan (Central Asia) where they are installing
a WRF,
> > and they very much will need verification (using the precious few
surface
> > obs they have).
> >
> > Thanks,
> > Brandt
> >
> > On Thu, Mar 5, 2015 at 9:41 AM, Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Hi Brandt.  Thanks for checking in.  I apologize for the delay -
I was
> > out
> > > of the office yesterday.
> > >
> > > I took a look at your files.  They look good.  However, the grib
code
> > > should be an integer value.  The value for TMP is 11.  Here is a
link
> to
> > > the grid code table:
> > > http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html
> > >
> > > You could also find the grib code by using the "wgrib" or
"wgrib2"
> > > command.  It will tell you what GRIB codes are contained in a
file.
> > >
> > > Please let us know if you have any other questions.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Tue, Mar 3, 2015 at 5:00 PM, Brandt Maxwell - NOAA Federal
via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70926
>
> > > >
> > > > Julie,
> > > >
> > > > Just wanted to check to make sure I didn't mess anything up.
I
> > attached
> > > > both my input and output files (the ncdump on test.nc looked
OK, I
> > > think).
> > > >
> > > > Thanks,
> > > > 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
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > >
> >
> >
>
>
> --
> 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