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

19990429: importing upperair data



Terence,

Your ascii input file needs either a station id or a station number so that
the data can be stored. You also need a station lat/lon.
When you run snedit, it will output a message for each report that is
successfully stored. 

Here is an example of a proper ascii file read into gempak:



 SNPARM = PRES;TEMP;DWPT;DRCT;SPED;HGHT                                         

 STID = HON           STNM =    99999   TIME = 990429/1200         
 SLAT =  39.75     SLON =  -104.87   SELV =  1608.0

      PRES     TEMP     DWPT     DRCT     SPED     HGHT
    836.00     6.80     4.90   250.00     3.00  1608.00
    813.73     6.02     3.55   180.00    11.00  1829.00
    783.97     4.95     1.69   180.00    12.00  2134.00
    764.00     4.20     0.40   180.00    14.08  2345.27
    755.28     3.61     0.14   180.00    15.00  2438.00
    727.29     1.67    -0.73   175.00    17.00  2743.00
    700.35    -0.27    -1.59   175.00    19.00  3048.00
    700.00    -0.30    -1.60   170.00    19.00  3052.00
    662.00    -2.70    -2.70   173.65    19.00  3496.70
    648.47    -3.73    -4.10   175.00    19.00  3658.00
    599.84    -7.61    -9.37   185.00    15.00  4267.00
    566.00   -10.50   -13.30   188.70    15.74  4720.64
    560.00   -10.70   -16.70   189.37    15.87  4802.58
    554.52   -11.39   -17.07   190.00    16.00  4877.00
    500.00   -18.70   -21.00   190.00    20.00  5660.00
    491.27   -19.51   -21.69   190.00    20.00  5791.00
    485.00   -20.10   -22.20   182.19    20.31  5886.44
    471.48   -20.22   -22.72   165.00    21.00  6096.00
    462.00   -20.30   -23.10   155.16    21.98  6246.48
    452.41   -21.18   -24.09   145.00    23.00  6401.00
    430.00   -23.30   -26.50   140.87    22.59  6775.00
    400.00   -27.30   -30.10   135.00    22.00  7300.00
    382.09   -29.85   -32.74   135.00    23.00  7620.00
    307.21   -41.98   -45.33   135.00    36.00  9144.00
    300.00   -43.30   -46.70   140.00    37.00  9310.00

The above file can be read in to a gempak file with snedit like:

 SNEFIL   = snlist.fil
 SNFILE   = test.gem
 TIMSTN   = 1/1
 GEMPAK-SNEDIT>r

 SNEDIT PARAMETERS: 

 Output sounding file: test.gem
 This file has been created.

 The following parameters are in the file: 
 PRES TEMP DWPT DRCT SPED HGHT

Enter <cr> to accept parameters or type EXIT:
 [SNEDIT 1]  Data for HON at 990429/1200 has been added to the file.
 Parameters requested: SNEFIL,SNFILE,TIMSTN.
 GEMPAK-SNEDIT>


You will notice above that the message "...has been added to the file"
will be shown when snedit finds a record in the correct format.

The above profile can be plotted in snprof using the stid=HON in
this case. If you don't have a station ID or station number for your
data...which you show below a missing, then make one up.


Steve Chiswell
Unidaata User SUpport







>From: Terence Kung <address@hidden>
>Organization: .
>Keywords: 199904291642.KAA22572

>Hi,
>
>I came across a problem on using the gempak program snprof. The format of the
>sounding data (the filename is gem725hon.snd) is as follows:
>
>SNPARM=PRES;  TEMP; DWPT; DRCT; SPED; HGHT
>STID=  STNM=  TIME=910725/1100
>
>PRES   TEMP    DWPT    DRCT    SPED    HGHT
>(values)
>
>I tried running snedit to creat a snfile. The parameters I used for this progr
> am
>is:
>
>SNEFIL= gem725hon.snd
>SNFILE= g725hon.snd
>TIMSTN= 1/1
>
>I was able to run snedit and the snfile was created. Then I tried running snli
> st
>with the following param:
>
>SNFILE= g725hon.snd
>AREA= dset
>DATTIM= list
>SNPARM= dset
>STNDEX= 
>LEVELS= all
>VCOORD = pres
>OUTPUT= t
>MRGDAT = y
>
>When I ran the program, there was an error message i.e.
>There are no times in the data set. (the same happened with snprof)
>
>Can you tell me what the problem is?
>
>Thanks.
>Terence
> 
>