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
-----Original Message-----
From: owner-gembud@xxxxxxxxxxxxxxxx [mailto:owner-gembud@xxxxxxxxxxxxxxxx]
On Behalf Of Janine Goldstein
Sent: Thursday, November 16, 2006 6:34 PM
To: gembud@xxxxxxxxxxxxxxxx
Subject: Help with error: [SFEDIT 2] Station cannot be added to the file
Hi all,
I am stumped. I have a very simple (one station) test case that I can't get
to run. I run sfcfil and then sfedit, and get the above error.
My station file, stationCD.fil, contains a single line:
>16980603 999999 TEST -- US 3210 -9170 24
My data file, 20020612.txt, contains 24 hourly values:
>PARM = P01M
>
>STN YYMMDD/HHMM P01M
>16980603 020612/0000 0.00
>16980603 020612/0100 0.00
>16980603 020612/0200 0.00
>16980603 020612/0300 0.00
>.
>.
>.
>16980603 020612/2300 0.00
I run sfcfil with the following options:
> SFOUTF = 20020612.sfc
> SFPRMF = P01M
> STNFIL = stationCD.fil
>SHIPFL = no
>TIMSTN = 24/0
>SFFSRC = 20020612.txt
and get
> SFCFIL PARAMETERS:
>
> New surface file:
20020612.sfc
> Parameter file:
P01M
> Station
file:
> Number of stations in STNFIL: 1
> Number of additional stations: 0
> Total number of stations: 1
> 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.
Then I run sfedit and get:
> SFEFIL = 20020612.txt
> SFFILE = 20020612.sfc
> GEMPAK-SFEDIT>run
>
> 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:
> [SFEDIT 2] Station 16980603 cannot be added to the file.
>.
>.
>. (24 times)
> Parameters requested: SFEFIL,SFFILE.
What am I missing?????
Thanks in advance,
Janine Goldstein
NCAR/EOL