[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20010416: Importing ship format data
- Subject: 20010416: Importing ship format data
- Date: Mon, 16 Apr 2001 15:18:34 -0600
Jimmy,
The type of input file you have created in storms.txt is a SHIP
format surface file. That is, you have station ID's that move with
time (different slat/slon possitions for the same station id).
So, start with creating a ship format file:
SFOUTF = storms1.gem
SFPRMF = wind
STNFIL =
SHIPFL = y
TIMSTN = /500
SFFSRC =
GEMPAK-SFCFIL>r
Now you can use sfedit to read the data into the file.
Note that SFCFIL used only WIND as an expected parameter. That is
because slat and slon are already part of the surface file.
SFEFIL = storms.txt
SFFILE = storms1.gem
GEMPAK-SFEDIT>r
SFEDIT PARAMETERS:
Edit file: storms.txt
Output surface file: storms1.gem
Parameters to be added to file:
SLAT SLON WIND
Now your data is in a ship format surface file. I can list it like:
SFFILE = storms1.gem
AREA = dset
DATTIM = all
SFPARM = dset
OUTPUT = t
IDNTYP = stid
GEMPAK-SFLIST>r
PARM = WIND
STN YYMMDD/HHMM WIND
BONN 980819/1200 25.00
DANI 980819/1200 25.00
GEOR 980819/1200 30.00
JEAN 980819/1200 30.00
MITC 980819/1200 30.00
CIND 980819/1200 30.00
DENN 980819/1200 30.00
<etc.>
Steve Chiswell
Unidata User Support
On Wed, 11 Apr 2001, J. Correia wrote:
> hi again-
> btw...thanks for all your help...the diagnostic calculations worked
> great..
> now on to creating data files in gempak
> my file storms.txt cant be opened by the sfedit program...i did get an
> earlier version of this file to open, but no data was written to the
> gempak file...
> i searched the archives and found one email where the user had siimiliar
> data and her file wouldnt open either...but i never saw a solution...as
> you were able to open and plot her data...
> any thoughts?
> thanks again.
> jimmyc
>
>