Re: [ldm-users] ldm-users Digest, Vol 57, Issue 7


Thanks a lot. I will take a look at this script and see if it can help me.


Arturo   Diaz, Jr.
Programmer I (CEES)
arturo.diaz@xxxxxxxxx
Tel. (956) 326-2415
Fax (956) 326-3125
Biology and Chemistry
Texas A&M International University
LBVSC 346
5201 University Boulevard
,

As pursuant to Texas A&M International University rule 33.04.99.L2 concerning 
the Use and Disposition of Electronic Communications, this email is a mechanism 
for official communication of the University. Electronic mail (e-mail) should 
be used only for legitimate academic or state business. Official email 
communications are intended only to meet the academic and administrative needs 
of the campus community.
________________________________________
From: ldm-users-bounces@xxxxxxxxxxxxxxxx [ldm-users-bounces@xxxxxxxxxxxxxxxx] 
on behalf of ldm-users-request@xxxxxxxxxxxxxxxx 
[ldm-users-request@xxxxxxxxxxxxxxxx]
Sent: Tuesday, October 15, 2013 1:00 PM
To: ldm-users@xxxxxxxxxxxxxxxx
Subject: ldm-users Digest, Vol 57, Issue 7

Send ldm-users mailing list submissions to
        ldm-users@xxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.unidata.ucar.edu/mailman/listinfo/ldm-users
or, via email, send a message with subject or body 'help' to
        ldm-users-request@xxxxxxxxxxxxxxxx

You can reach the person managing the list at
        ldm-users-owner@xxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ldm-users digest..."


Today's Topics:

   1. Re: LDM Metar Feeds (Stonie R. Cooper)
   2. Re: LDM Metar Feeds (Gerry Creager - NOAA Affiliate)


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

Message: 1
Date: Tue, 15 Oct 2013 12:36:56 -0500
From: "Stonie R. Cooper" <stonewall@xxxxxxxxxxxxx>
To: ldm-users@xxxxxxxxxxxxxxxx
Subject: Re: [ldm-users] LDM Metar Feeds
Message-ID: <525D7D38.9080804@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Additionally, as I have already received a direct reply from someone
wanting details:

 - create a script, say "/home/ldm/bin/cutmetars.sh" that looks similar
to this:

-- cut here --
#! /bin/bash

if [ -r /etc/profile ]; then
  source /etc/profile
fi

if [ -r ${HOME}/.bashrc ]; then
  source ${HOME}/.bashrc
fi

if [ -r ${HOME}/.bash_profile ]; then
  source ${HOME}/.bash_profile
fi

finalfile=`echo "${1}" | awk -F"/" '{print $NF}'`

finalpath=`echo "${1}" | sed -e "s/${finalfile}$//g"`

mkdir -p ${finalpath}

cat | tr '\n' '\r' | sed -e "s/ \r\r\r//g" | \
  sed -e "s/\r\r\r    //g" | sed -e "s/\r\r\r/\r/g" | \
  tr '\r' '\n' | grep -E -o "[A-Z][0-9A-Z]{3} [0-9]{6}Z .*" >> ${1}
-- cut here --

Then edit your pqact.conf file to PIPE the incoming METAR/SPECI to this
script:

#
WMO     ^S[AP].... .... ([0-3][0-9])([0-2][0-9])([0-5][0-9])
        PIPE    -close  /home/ldm/bin/cutmetars.sh
data/metar_list/%Y%m%d_%H.txt
#

Check syntax (you need tabs in particular places that email will
probably not carry):

ldmadmin pqactcheck

Then HUP it:

ldmadmin pqactHUP

This is not bulletproof, it will have both false negative and positives,
but it will work to give you a basic idea of what is coming in.

On 10/15/2013 11:05 AM, Neil Smith wrote:
> He's essentially asking if there is a way to save a short list of
> individual station metar reports to their own directory - as they come
> in from the IDD.  I remember doing this as a post process with Peter
> Nelley's 'Weather' program, in conjunction with the ldm pqsurf queue.
>
> Is there a way to do this with the ldm, maybe with a decoder?
>
> -Neil
> ---
> Neil Smith  neils@xxxxxxxx <mailto:neils@xxxxxxxx>   979.845.6272
> Senior IT Professional, Atmospheric Sciences, TAMU
>
>
> On Oct 15, 2013, at 10:43 AM, "Diaz, Jr., Arturo" <arturo.diaz@xxxxxxxxx
> <mailto:arturo.diaz@xxxxxxxxx>> wrote:
>
>> Good morning,
>>
>> I was wondering if anybody had information as to how the METAR reports
>> are distributed within the LDM. I have found the information about the
>> WMO header required to request file this data as text files. However,
>> it seems as if some stations are responsible to transmit reports from
>> other stations as well because I cannot request METAR reports from
>> specific stations. When requesting all reports from the United States
>> and filing the files in folder based on the ICAO ID only 60 folders
>> get created and those 60 stations' reports contain reports for many
>> stations.
>>
>> Does anyone know if there is hierarchy for reporting METAR reports?
>>
>> Any help or guidance will be much appreciated. Thank you very much in
>> advance.
>>
>>
>>
>>
>> P       Please consider the environment before printing this email.
>>
>>  <tamiu-banner.jpg>
>>
>> ------------------------------------------------------------------------
>> <poweredbytamiu.png>
>>
>> Arturo  Diaz, Jr.
>> Programmer I (CEES)
>> Biology and Chemistry
>> LBVSC 346
>> Laredo, TX 78041
>> Tel. (956) 326-2415
>> Fax (956) 326-3125
>>
>> ------------------------------------------------------------------------
>>
>> As pursuant to Texas A&M International University rule 33.04.99.L2
>> concerning the Use and Disposition of Electronic Communications, this
>> email is a mechanism for official communication of the University.
>> Electronic mail (e-mail) should be used only for legitimate academic
>> or state business. Official email communications are intended only to
>> meet the academic and administrative needs of the campus community.
>>
>> _______________________________________________
>> ldm-users mailing list
>> ldm-users@xxxxxxxxxxxxxxxx <mailto:ldm-users@xxxxxxxxxxxxxxxx>
>> For list information or to unsubscribe,
>>  visit: http://www.unidata.ucar.edu/mailing_lists/
>
>
>
> _______________________________________________
> ldm-users mailing list
> ldm-users@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/
>



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

Message: 2
Date: Tue, 15 Oct 2013 12:47:18 -0500
From: Gerry Creager - NOAA Affiliate <gerry.creager@xxxxxxxx>
To: Waldenio Almeida <waldenio.almeida@xxxxxxxxxxxxx>
Cc: ldm-users <ldm-users@xxxxxxxxxxxxxxxx>
Subject: Re: [ldm-users] LDM Metar Feeds
Message-ID:
        <CAFufYD7qzzY+9YfPH=AjE64FiaseLE3XOYK8MbW87HuUeBzhVg@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="windows-1252"

Stoney's suggestion is about the best, overall. It's not that hard to
accomplish, either. There's some order and hierarchy, but generally, you
just need to know what stations are using which IDs, and grab the ones you
want.

gerry


On Tue, Oct 15, 2013 at 11:45 AM, Waldenio Almeida <
waldenio.almeida@xxxxxxxxxxxxx> wrote:

>  Is there a hierarchy for the metar reports, but it change from country to
> country and each message will have several reports anyway.
>
> The best solution may be just to decode the reports (eg. for gempak with
> "dcmetr" decoder) and recover the desired stations using an script for
> gempak?s "sflist".
> This will account for issues with duplicated/null/invalid  reports and
> other "real-life" problems that already have been solved in the decoders.
>
> Cheers,
> Waldenio.
>
>
> Em 15/10/2013 13:05, Neil Smith escreveu:
>
> He's essentially asking if there is a way to save a short list of
> individual station metar reports to their own directory - as they come in
> from the IDD.  I remember doing this as a post process with Peter Nelley's
> 'Weather' program, in conjunction with the ldm pqsurf queue.
>
>  Is there a way to do this with the ldm, maybe with a decoder?
>
>  -Neil
>     ---
> Neil Smith  neils@xxxxxxxx   979.845.6272
> Senior IT Professional, Atmospheric Sciences, TAMU
>
>
>  On Oct 15, 2013, at 10:43 AM, "Diaz, Jr., Arturo" <arturo.diaz@xxxxxxxxx>
> wrote:
>
>  Good morning,
>
>  I was wondering if anybody had information as to how the METAR reports
> are distributed within the LDM. I have found the information about the WMO
> header required to request file this data as text files. However, it seems
> as if some stations are responsible to transmit reports from other stations
> as well because I cannot request METAR reports from specific stations. When
> requesting all reports from the United States and filing the files in
> folder based on the ICAO ID only 60 folders get created and those 60
> stations' reports contain reports for many stations.
>
>  Does anyone know if there is hierarchy for reporting METAR reports?
>
>  Any help or guidance will be much appreciated. Thank you very much in
> advance.
>
>
>
>
> P       Please consider the environment before printing this email.
>
>  <tamiu-banner.jpg>
> ------------------------------
>   <poweredbytamiu.png>
>
> Arturo  Diaz, Jr.
> Programmer I (CEES)
> Biology and Chemistry
> LBVSC 346
> Laredo, TX 78041
> Tel. (956) 326-2415
> Fax (956) 326-3125
>   ------------------------------
>
> As pursuant to Texas A&M International University rule 33.04.99.L2
> concerning the Use and Disposition of Electronic Communications, this email
> is a mechanism for official communication of the University. Electronic
> mail (e-mail) should be used only for legitimate academic or state
> business. Official email communications are intended only to meet the
> academic and administrative needs of the campus community.
> _______________________________________________
> ldm-users mailing list
> ldm-users@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
>
>
> _______________________________________________
> ldm-users mailing listldm-users@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/
>
>
> --
> ***********************************************
>   Waldenio Gambi de Almeida
>   Divis?o de Opera??es
>   CPTEC/INPE
>  **********************************************
>   INPE
>   Caixa Postal 01
>   12630-000 Cachoeira Paulista, SP
>   Brasil
>  **********************************************
>   e-mail   : waldenio.almeida @ cptec.inpe.br
>   phone    : +55 (0)12 3186-8541
>   fax      : +55 (0)12 3186-8547
>   home-page: http://www.cptec.inpe.br/
> ***********************************************
>
>
> _______________________________________________
> ldm-users mailing list
> ldm-users@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>



--
Gerry Creager
NSSL/CIMMS
405.325.6371
++++++++++++++++++++++
?Big whorls have little whorls,
That feed on their velocity;
And little whorls have lesser whorls,
And so on to viscosity.?
Lewis Fry Richardson (1881-1953)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mailman.unidata.ucar.edu/mailing_lists/archives/ldm-users/attachments/20131015/d09d11ee/attachment.html>

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

_______________________________________________
ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

End of ldm-users Digest, Vol 57, Issue 7
****************************************



  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: