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

[GEMPAK #SKK-692451]: SFEDIT and merging of datasets



Arlene,

Usercomm this week..... fun as you know! Support time, a little slower than 
ideal.

The general problem below is that the parameter list you are trying to add
does not match that of your GEMPAK format "global set".

When the global data set was created, was this by dcmetr? If so, then the
file was created using the parameter in $GEMTBL/pack/metar.pack
(you can see the parameters in the file with SFPARM=dset to
verify those that are actually in the file).

When you run sflist as you did below, with  SFPARM = 
SKYC;TMPF;WSYM;PMSL;DWPF;BRBK,
several of those parameters are not what is stored in the data file, but rather 
what you are 
computing from available quantities. For example, TMPF is likely being computed 
from TMPC.
DWPF from DWPC, and BRBK (the packed windspeed/direction) certainly from SPED 
and DRCT.
As a result, even though you can output those parameters, that
is not the list of parameters in the original file you are trying to match up.

Use the SFLIST with SFPARM=dset to see the packing list for the file, and
use those parameters for your edit file to merge together.

Steve Chiswell
Unidata User Support




> Hi Steve,
> 
> Thanks again for your help with converting our ascii data to GEMPAK format.
> Now that we have the extra station data in GEMPAK format, we would
> like to add that data to the existing global set of archived data.
> I tried to follow the instructions for SFEDIT but without success.
> I get error messages about the parameter list although the
> parameter list for the new and existing data are the same.
> I hope that you can help us to figure this out.  The relevant file info and
> sequence of commands are presented below.
> 
> Thanks,
> Arlene
> 
> -----------------------------------------------------------------
> 
> GEMPAK surface files
> --------------------
> existing_060111_sao.gem - Global data set
> extra_060111_sao.gem - Stations to be added
> extra_060111_sao.dat - ascii data file (generated by SFLIST of 
> extra_060111_sao.gem)
> 
> 
> Here's what I get when I run sfedit
> ------------------------------------
> queso: 84 % sfedit
> SFEFIL    Surface edit file                 extra_060111_sao.dat
> SFFILE    Surface data file                 existing_060111_sao.gem
> Parameters requested: SFEFIL,SFFILE.
> GEMPAK-SFEDIT>r
> [SFEDIT -8]  Parameter SKYC is not in the data set.
> [SFEDIT -8]  Parameter TMPF is not in the data set.
> [SFEDIT -8]  Parameter WSYM is not in the data set.
> [SFEDIT -8]  Parameter DWPF is not in the data set.
> [SFEDIT -8]  Parameter BRBK is not in the data set.
> [SFEDIT -9]  SFEDIT cannot continue with invalid parameters.
> Parameters requested: SFEFIL,SFFILE.
> 
> 
> Here is the SFLIST information
> ---------------------------
> GEMPAK-SFLIST>sffile=extra_060111_sao.gem
> GEMPAK-SFLIST>r
> [SFLIST 1]  Parameter BLNK is not computable.
> PARM = SKYC;TMPF;WSYM;PMSL;DWPF;BRBK
> 
> STN    YYMMDD/HHMM      SKYC     TMPF     WSYM     PMSL     DWPF     BRBK
> KQHN    060111/1200      2.00    64.40     5.00  1020.00    12.20  7250.00
> KQSA    060111/1200      6.00    48.20     5.00  1027.10    28.40  5050.00
> EQBF    060111/1200  -9999.00    39.20 -9999.00 -9999.00    33.80 -9999.00
> KQAQ    060111/1200      6.00    62.60 -9999.00  1010.20    48.20 11140.00
> KQCO    060111/1200      8.00    50.00    80.00  1014.40    44.60  3040.00
> KQEZ    060111/1200      8.00    60.26 -9999.00  1011.00    47.30  5090.00
> KQSE    060111/1200      8.00    53.60 -9999.00  1014.90    39.20  2340.00
> KQTI    060111/1200      8.00    50.00 -9999.00  1015.80    42.80 -9999.00
> KQTX    060111/1200      8.00    50.00    80.00  1014.40    46.40 -9999.00
> KQTZ    060111/1200      8.00    64.40 -9999.00  1010.10    48.20  9110.00
> KQXJ    060111/1200      8.00    66.20     5.00  1010.00    53.60  3090.00
> OKBK    060111/1200      6.00    66.20 -9999.00 -9999.00    53.60 10150.00
> 
> 
> Parameters requested: SFFILE,AREA,DATTIM,SFPARM,OUTPUT,IDNTYP.
> 
> GEMPAK-SFLIST>sffile=existing_060111_sao.gem
> GEMPAK-SFLIST>r
> [SFLIST 1]  Parameter BLNK is not computable.
> PARM = SKYC;TMPF;WSYM;PMSL;DWPF;BRBK
> 
> STN    YYMMDD/HHMM      SKYC     TMPF     WSYM     PMSL     DWPF     BRBK
> HECA    060111/1200      6.00    62.60 -9999.00 -9999.00    41.00 13290.00
> HEGN    060111/1200      2.00    68.00 -9999.00 -9999.00    41.00 22350.00
> HELX    060111/1200  -9999.00    68.00 -9999.00 -9999.00    39.20 12310.00
> HEPS    060111/1200      3.00    60.80 -9999.00 -9999.00    46.40 18250.00
> HESN    060111/1200  -9999.00    68.00 -9999.00 -9999.00    33.80 15020.00
> LCEN    060111/1200      8.00    51.80    80.00 -9999.00    46.40  9050.00
> LCLK    060111/1200      8.00    53.60    95.00 -9999.00    48.20 12360.00
> LCPH    060111/1200      6.00    57.20 -9999.00 -9999.00    48.20  9030.00
> LCRA    060111/1200      6.00    50.00    80.00 -9999.00    48.20  8010.00
> LLBG    060111/1200      8.00    53.60    61.00 -9999.00    46.40  7180.00
> LLET    060111/1200      3.00    64.40 -9999.00 -9999.00    42.80  1250.00
> LTAC    060111/1200      6.00    32.00 -9999.00 -9999.00    23.00 13040.00
> LTAD    060111/1200      6.00    35.60 -9999.00 -9999.00    23.00 10060.00
> LTAF    060111/1200      6.00    59.00 -9999.00 -9999.00    35.60 11070.00
> LTAG    060111/1200      6.00    55.40 -9999.00 -9999.00    35.60 14060.00
> LTAI    060111/1200      2.00    57.20 -9999.00 -9999.00    21.20 14320.00
> LTAJ    060111/1200      8.00    37.40    61.00 -9999.00    35.60  9040.00
> LTAN    060111/1200      6.00    32.00 -9999.00 -9999.00    21.20  6350.00
> 
> 
> Here is the sfefil (ascii format)
> ------------------
> queso: 82 % more extra_060111_sao.dat
> PARM = SKYC;TMPF;WSYM;PMSL;DWPF;BRBK
> 
> STN    YYMMDD/HHMM      SKYC     TMPF     WSYM     PMSL     DWPF     BRBK
> KQAQ    060111/1200      6.00    62.60 -9999.00  1010.20    48.20 11140.00
> KQCO    060111/1200      8.00    50.00    80.00  1014.40    44.60  3040.00
> KQEZ    060111/1200      8.00    60.26 -9999.00  1011.00    47.30  5090.00
> KQSE    060111/1200      8.00    53.60 -9999.00  1014.90    39.20  2340.00
> KQTI    060111/1200      8.00    50.00 -9999.00  1015.80    42.80 -9999.00
> KQTX    060111/1200      8.00    50.00    80.00  1014.40    46.40 -9999.00
> KQTZ    060111/1200      8.00    64.40 -9999.00  1010.10    48.20  9110.00
> KQXJ    060111/1200      8.00    66.20     5.00  1010.00    53.60  3090.00
> OKBK    060111/1200      6.00    66.20 -9999.00 -9999.00    53.60 10150.00
> 
> 
> 


Ticket Details
===================
Ticket ID: SKK-692451
Department: Support GEMPAK
Priority: Urgent
Status: Closed