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

20001017: 20001016: GEMPAK SNCFIL/SNEDIT question



Tom,

I posted the Linux binaries yesterday. We had some network
trouble over the weekend which makes nfs for Linux really slow.

To compile for Linux you need gcc/g77 and Motif.

Steve Chiswell
Unidata User Support


>From: "Thomas L. Mote" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200010171528.e9HFSR421674

>
>Thanks, Steve. I guess I have always used sncfil, so I 
>didn't think about it. I must have always had the 
>parameters in the same order as the packing file. This 
>way is much easier, of course. 
>
>BTW, I am eager to try NMAP. Do you have a time frame for 
>building a binary for LINUX for GEMPAK 5.6? I tried 
>compiling the source code with no luck. I noticed you had 
>an x86 binary on the ftp site.
>
>No hurry, but I would like to try it.
>
>Tom
>
>
>On Mon, 16 Oct 2000 15:51:20 -0600 Unidata Support 
><address@hidden> wrote:
>
>> 
>> Tom,
>> 
>> A couple of points here.
>> First, you don't need to create the upperair file ahead of time
>> with sncfil (unlike sfedit). All you need to do in snedit
>> is give the output file name and the number of times and stations 
>> to allow in the file, for example:
>>  SNEFIL    Sounding edit file                springfield.fil
>>  SNFILE    Sounding data file                springfield.gem
>>  TIMSTN    Times/additional stations         24/2000
>> I ran SNEDIT using the above and was able to input the data
>> (see note below on missing DRCT values).
>> 
>> Upon reading the PARM line in your input file, the program will
>> create the output file using the parameters specified as the
>> packing parms. The only disadvantage in doing things this way is that
>> your output file may be slightly larger since you don't have
>> the max/min and resolution fields ahead of time.
>> 
>> You can create the file first using SNCFIL and snmerg.pack,
>> but your PARM line and data have the parameters in a different
>> order from that which the packing file specifies- so either
>> you would have to modify the packing file to match your order,
>> or modify your data to match the order of the packing file.
>> Also, the snmerg packing file specifies DWPT and TEMP (instead of DWPC and
>> TMPC).
>> 
>> On a separate issue, I found 2 data lines in springfield.fil that
>> were missing values for DRCT. You need to fill this parameter
>> with -9999.0 where data doesn't exist, otherwise the fortran read 
>> will get out of order. I fixed this first before running SNEDIT.
>> 
>> Steve Chiswell
>> Unidata User Support
>> 
>> 
>> 
>> >From: "Thomas L. Mote" <address@hidden>
>> >Organization: UCAR/Unidata
>> >Keywords: 200010162032.e9GKW3420263
>> 
>> >--Part10010161653.A
>> >Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
>> >
>> >
>> >Steve (presumably):
>> >
>> >I evidently cannot complete a simple task like getting 
>> >a GEMPAK upperair file created from a text file (for one 
>> >station at one time). I have created these files in the 
>> >past, and I cannot figure out what I am doing wrong.
>> >
>> >I shortened the station list to just one station 
>> >(Springfield), after trying this using the entire station 
>> >list. I also used the standard packing file, that appears 
>> >to include all of the same parameters as I have in the file 
>> >(pres,hght,tmpc,dwpc,sped,drct).
>> >
>> >I created the *.gem file using sncfil then tried adding an 
>> >ASCII file that I created (based on the format of snlist 
>> >output) using snedit. I keep getting the error that the 
>> >snparms don't match (a -8 error) when I run snedit. I did 
>> >set this up to be a merged file, if that matters.
>> >
>> >I have attached the *.gem and the ASCII *.fil files. Can 
>> >you give me any idea what I'm doing wrong???
>> >
>> >Thanks in advance.
>> >
>> >Tom
>> >
>> >
>> >
>> >**********************************************************
>> >Thomas L. Mote                               address@hidden
>> >Associate Professor of Geography         ph:  706-542-2906
>> >University of Georgia                    lab: 706-542-6060
>> >Athens, GA 30602-2502 USA                fax: 706-542-2388
>> >
>> >
>> 
>> ****************************************************************************
>> Unidata User Support                                    UCAR Unidata Program
>> (303)497-8644                                                  P.O. Box 3000
>> address@hidden                                   Boulder, CO 80307
>> ----------------------------------------------------------------------------
>> Unidata WWW Service                        http://www.unidata.ucar.edu/     
>> ****************************************************************************
>
>**********************************************************
>Thomas L. Mote                               address@hidden
>Associate Professor of Geography         ph:  706-542-2906
>University of Georgia                    lab: 706-542-6060
>Athens, GA 30602-2502 USA                fax: 706-542-2388
>