[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #BCK-543992]: GEMPAK-metar data



AREA can be defined as US (the abbreviation for a geographic area encompassing 
the continental us)

see 

http://www.unidata.ucar.edu/cgi-bin/gempak/manual/variables_index?area 

for more info


-michael



> Is there a way to create a loop for the states so that i do not have to
> repeat 50 times? Here is what I have:
> 
> #!/bin/csh
> 
> # Get UTC hour and add zeros
> set hour=`date -u "+%H"`
> set hour="${hour}00"
> 
> # Loop through states and get METAR data
> foreach state (al ak as az ar ca co ct de dc fm fl ga gu hi id il in ia
> ks ky la me mh)
> echo $state
> end
> 
> sflist<< SFLIST_FLAG
> sffile=metar
> area=@$state
> dattim=$hour
> sfparm=text
> output=f / metar_text.txt
> idntyp=stid
> 
> run
> 
> exit
> 
> SFLIST_FLAG
> 
> 
> 
> Unidata GEMPAK Support wrote:
> > Keshab,
> >
> > Because some metar obs are reported every 20 minutes, setting DATTIM = LAST 
> > will sometimes not show any stations for the specified area.  Try setting 
> > DATTIM to a specific hour (in UTC), or try to define it as a range, such as 
> > DATTIM = 1500-1700
> >
> > -Michael
> >
> >
> >
> >> I went through the SFLIST tutorial and performed the following to
> >> display metar data.
> >>
> >> SFFILE    Surface data file                 metar
> >> AREA      Data area                         @ia
> >> DATTIM    Date/time                         last
> >> SFPARM    Surface parameter list            dset
> >> OUTPUT    Output device/filename            t
> >> IDNTYP    STNM or STID                      stid
> >> Parameters requested: SFFILE,AREA,DATTIM,SFPARM,OUTPUT,IDNTYP.
> >> GEMPAK-SFLIST>run
> >> PARM =
> >> PMSL;ALTI;TMPC;DWPC;SKNT;DRCT;GUST;WNUM;CHC1;CHC2;CHC3;VSBY;P03D;P03I;
> >>
> >> MSUN;SNOW;WEQS;P24I;TDXC;TDNC;P03C;CTYL;CTYM;CTYH;P06I;T6XC;T6NC;CEIL;
> >>
> >> P01I
> >>
> >> STN    YYMMDD/HHMM      PMSL     ALTI     TMPC     DWPC     SKNT
> >> DRCT
> >> GUST     WNUM     CHC1     CHC2     CHC3
> >> VSBY
> >> P03D     P03I     MSUN     SNOW     WEQS
> >> P24I
> >> TDXC     TDNC     P03C     CTYL     CTYM
> >> CTYH
> >> P06I     T6XC     T6NC     CEIL     P01I
> >>
> >>
> >> [SFLIST -3]  No stations reporting data.
> >> Parameters requested: SFFILE,AREA,DATTIM,SFPARM,OUTPUT,IDNTYP.
> >> GEMPAK-SFLIST>
> >>
> >> I was still not able to get to the point I wanted. I want to be able to
> >> list like this:
> >>
> >> KADU 230255Z AUTO 19014G21KT 10SM CLR 20/19 A2947 RMK AO2
> >> KAIO 230255Z AUTO 18021G27KT 10SM CLR 20/19 A2947 RMK AO2
> >> KALO 230254Z 15020G23KT 5SM BR OVC006 17/15 A2962 RMK AO2 SLP029 T01670150 
> >> 58017
> >> KAMW 230253Z AUTO 13014KT 5SM BR BKN008 19/17 A2954 RMK AO2 CIG 007V012 
> >> SLP997 T01890172 58017
> >> KAWG 230255Z AUTO 14020G25KT 7SM BKN006 BKN085 16/16 A2969 RMK AO2
> >>
> >> Thanks,
> >> Keshab
> >>
> >>
> >> Unidata GEMPAK Support wrote:
> >>
> >>> Keshab,
> >>>
> >>> If you wish to plot surface data please refer to the SFMAP tutorial at
> >>>
> >>> http://www.unidata.ucar.edu/software/gempak/tutorial/sfmap.html
> >>>
> >>> If you wish to list metar reports, refer to the SFLIST tutorial at
> >>>
> >>> http://www.unidata.ucar.edu/software/gempak/tutorial/sflist.html
> >>>
> >>> These two pages should provide you with a thorough overview of how to 
> >>> display metar reports with GEMPAK.
> >>>
> >>> Best,
> >>>
> >>> Michael James
> >>> Unidata User Support
> >>>
> >>>
> >>>
> >>>
> >>>> I would like to be able to display the raw metar and speci reports for a
> >>>> station or all stations in a state for the last N hours. How do I start?
> >>>> It would be nice if you can kindly provide an example script.
> >>>>
> >>>> Thanks in advance!
> >>>> Keshab
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: BCK-543992
> >>> Department: Support GEMPAK
> >>> Priority: Normal
> >>> Status: Open
> >>>
> >>>
> >>>
> >>>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: BCK-543992
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Open
> >
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: BCK-543992
Department: Support GEMPAK
Priority: Normal
Status: Open