Re: Help with error: [SFEDIT 2] Station cannot be added to the fi le

  • Subject: Re: Help with error: [SFEDIT 2] Station cannot be added to the fi le
  • From: Janine Goldstein <janine@xxxxxxxx>
  • Date: Fri, 17 Nov 2006 16:49:47 -0700
Thanks to those who responded. It turns out that stationIDs can be up to 8 chars in length, but must begin with a char and must be comprised entirely of capital letters and/or the digits 0-9.

So my stationID 16980603 begins with a 1. Changing that to a char fixes it.

Janine

Stephen Sinnis wrote:
Hi Janine.


I made two changes and successfully imported and listed your data:

 GEMPAK-SFCFIL>l
 SFOUTF   = 20020612.sfc
 SFPRMF   = P01M/0.0-300.0-0.01
 STNFIL   = stationCD.fil
 SHIPFL   = NO
 TIMSTN   = 24/5
 SFFSRC   = metr
 GEMPAK-SFCFIL>r

 SFCFIL PARAMETERS:

 New surface file:      20020612.sfc
 Parameter file:        P01M/0.0-300.0-0.01
 Station file:
 Number of stations in STNFIL:       1
 Number of additional stations:      5
 Total number of stations:           6
 Total number of times:             24

 This file will be a standard surface file.

Enter <cr> to accept parameters or type EXIT:
 The file has been created.
 Parameters requested: SFOUTF,SFPRMF,STNFIL,SHIPFL,TIMSTN,SFFSRC.

 GEMPAK-SFEDIT>l
 SFEFIL   = 20020612.txt
 SFFILE   = 20020612.sfc
 GEMPAK-SFEDIT>r

 SFEDIT PARAMETERS:

 Edit file:           20020612.txt
 Output surface file: 20020612.sfc

 Parameters to be added to file:

 P01M
Enter <cr> to accept parameters or type EXIT:
 Parameters requested: SFEFIL,SFFILE.

  GEMPAK-SFLIST>l
 SFFILE   = 20020612.sfc
 AREA     = dset
 DATTIM   = all
 SFPARM   = dset
 OUTPUT   = T
 IDNTYP   = STID
 GEMPAK-SFLIST>r
 PARM = P01M

    STN    YYMMDD/HHMM      P01M
           020612/0000      0.00
           020612/0100      0.00
           020612/0200      0.00
           020612/0300      0.00
           020612/0400      0.00
           020612/0500      0.00
           020612/0600      0.00
           020612/0700      0.00
           020612/0800      0.00
           020612/0900      0.00
           020612/1000      0.00
           020612/1100      0.00
           020612/1200      0.00
           020612/1300      0.00
           020612/1400      0.00
           020612/1500      0.00
           020612/1600      0.00
           020612/1700      0.00
           020612/1800      0.00
           020612/1900      0.00
           020612/2000      0.00
           020612/2100      0.00
           020612/2200      0.00
           020612/2300      0.00



Stephen Sinnis
Pelmorex Media Inc
T. 905.829.1159 x1379
F. 905.829.5800