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

20030717: 20030716: Gempak - linux -opening multiple files at one time



Dusty,

As I said previously, you will need to place your
soundings in a single file using SNMOD.


>Subject: 20030714: Cross section
>In-reply-to: Your message of "Wed, 09 Jul 2003 16:32:47 MDT."
>             <address@hidden>
>Date: Mon, 14 Jul 2003 12:30:59 -0600
>From: Unidata Support <address@hidden>
>
>
>Dusty,
>
>I'm assuming from your past questions that you are using sounding data.
>The program SNCROSS can plot a time series at a single station,
>of a spatial cross section at a single time.
>
>For X axis representing time, and Y axis representing height,
>you would set CXSTNS to the station id or WMO number
>(eg CXSTNS=72365 or CXSTNS=ABQ). The Upper air file should
>contain all the times for the station. If your data is in
>separate daily files, then you would use SNMOD to copy
>data to a single file.
>

You would do this for each file:
 SNFILE   = 20030714_upa.gem
 SNOUTF   = abq.gem
 SNPARM   = dset
 AREA     = @abq
 DATTIM   = 0000;1200
 LEVELS   = all
 VCOORD   = pres
 TIMSTN   = 200/1000
 MRGDAT   = n
 IDNTYP   = stid
 GEMPAK-SNMOD>r

 SNMOD PARAMETERS: 

 Input sounding file:   $UPA/20030714_upa.gem
 Output sounding file:  abq.gem              
 This file will be created with 200 times and    5 stations.
 It is an unmerged file with all mandatory and significant data.

 Parameters in the output file: 


 DATTIM:   0000;1200                                                            
                                                           
 AREA:     @ABQ                                                                 
                                                           
 LEVELS:   all                                                                  
                                                           
 VCOORD:   PRES
 IDNTYP:   STID                                                                 
                                                           

 WARNING, IDNTYP is set to STID

Enter <cr> to accept parameters or type EXIT:
     1 stations were added for time 030714/0000         
     1 stations were added for time 030714/1200         
 Parameters requested: SNFILE,SNOUTF,SNPARM,AREA,DATTIM,LEVELS,VCOORD,TIMSTN,
 MRGDAT,IDNTYP.
 GEMPAK-SNMOD>


the above will take the 0000Z and 1200Z ABQ soundings from
the file 20030714_upa.gem and move them to abq.gem.
You would then set SNFILE to the next file and run again.
Repeat for each file you have. The TIMSTN parameter is set to
200 times in the file. Presumably your case has less than
200 sounding times.



Steve Chiswell






>From: <address@hidden>
>Organization: UCAR/Unidata


Jeff
---------------------------------------------------------------------
Jeff Weber                                    address@hidden        :
Unidata Program Center                        PH:303-497-8676        :
University Corp for Atmospheric Research      3300 Mitchell Ln       :
http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000  :
---------------------------------------------------------------------

>From: <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200307171534.h6HFYHLd014195

>Steve, 
>I have researched the web and couldn't find anywhere on opening multiple
>files.  I want to open 2 or more files from my gempak home directory for
>a sounding parameter.  I tried to use the command snparm=200006_upa.gem;
>200007_upa.gem however that didn't work is this even possible?
>Thanks,
>Dusty
>
>-----Original Message-----
>From: Unidata Support [mailto:address@hidden] 
>Sent: Wednesday, July 16, 2003 12:43 PM
>To: Gillingham, Dustin (Dusty)
>Cc: address@hidden
>Subject: 20030716: Gempak - linux - display drivers 
>
>
>
>Dusty,
>
><CR> is an abbreviation for "carriage return". The carrage return key is
>also called "Enter" or "Return" on many keyboards. It is not asking you
>to type "cr" followed by a return.
>
>The message:
>[IP-1] Global file cannot be open for write access
>indicates that either: 1) you do not have write permission in the
>directory you are working in, or, 2) a file named gemglb.nts already
>exists and you do not have write permission for that file.
>
>When using the XW and GF device drivers that use the X server, if you
>are loggen in to your console, you should already have write permission
>to the X display. You should set the DISPLAY environmental
>variable:
>setenv DISPLAY :0.0
>
>If you are not logged in to the console, you have to have access to the
>console, and the user logged in to the console has to allow you to
>display there by typing: xhost + `hostname`
>
>see the unix man pages on xhost and X, eg "man xhost" and "man X".
>
>If you do not have access to the consoile, you can use the PS or GIF
>drivers. See the tutorial page:
>http://my.unidata.ucar.edu/content/software/gempak/tutorial/devices.html
>
>Note that when you use a device driver that writes to an output file,
>you must use the "gpend" command as decribed at the bottom of the web
>page discussed above.
>
>Steve Chiswell
>
>
>
>
>
>
>>From: "dusty" <address@hidden>
>>Organization: UCAR/Unidata
>>Keywords: 200307161525.h6GFPDif011599
>
>>Institution: physical science labrotory
>>Package Version: 5.6
>>Operating System: linux
>>Hardware Information: dell computer
>>Inquiry: I recently pulled a example off the web to work in gempak and 
>>try to
>> run and display it well when i run it it runs okay but when it asks me
>to:
>>Enter <cr> to accept parameters or type exit
>>and i type cr and then hit enter nothing happens except it just asks me
>the sa
>> me thing over and over.  Untill I type exit and then it will exit me
>out i th
>> en press e like the example shows and the message displays:
>>
>>[IP-1] Global file cannot be open for write access
>>
>>So how do i get to see my data on a graph like the example?  I tried 
>>using the
>>  XW, PS, and GIF to get it to display and it will only run under the
>ps, and 
>> gif.  I want to be able to see the graph like the one from they're
>example of
>>  the unidata web site
>>please help,
>>Dusty
>>
>>
>>
>
>************************************************************************
>Unidata User Support                                    UCAR Unidata
>(303)497-8643                                                  P.O. Box
>address@hidden                                   Boulder, CO
>------------------------------------------------------------------------
>Unidata WWW Service
>************************************************************************
>