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

20051031: 20051027: Gempak - VGF File Not Plotted



Don,

You don't have a color defined for "LINE", so the color
used for the VGF file would be whatever is in the last.nts
or gemglb.nts file in the directory you are using.

If the script doesn't "cd" to a different directory, then it will execute
from your home directory, which may be a different location than
you were working in interactively.

Steve Chiswell
Unidata User Support


>From: "Don Clary" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200510311744.j9VHiJ7s013987

>
>Thanks for the hint, but I still have a problem.
>
>The Gemenviron file already included the following:
>
>#
># Site Directories for BUFR files
>#
>   setenv SIGWX         $GEMDATA/sigwx
>
>
>I added the line "echo $SIGWX" after "source $NAWIPS/Gemenviron", then ran
>the script again.
>
>[gempak@hsdevlinux6 ~]$ ./euro_chart.gif
>/home/gempak/GEMPAK5.8.3a/gempak/data/sigwx
>Creating process: gplt for queue 2719821
> MAP       Map color/dash/width/filter flag  31
> MSCALE    fgc;bgc;mask/units/lat;hide/valu  0
> GAREA     Graphics area                     24.00;-16.00;52.00;80.0
> PROJ      Map projection/angles/margins|dr  str/90;10;0
> SATFIL    Satellite image filename(s)
> RADFIL    Radar image filename(s)
> IMCBAR    Color/ornt/anch/x;y/ln;wd/freq
> LATLON    Line color/dash/width/freq/inc/l  2/10/1/1/15;15
> PANEL     Panel loc/color/dash/width/regn   0
> TITLE     Title color/line/title            31//20 Oct 2005 24 Hr Forecast
> TEXT      Size/fnt/wdth/brdr/N-rot/just/hw  1
> CLEAR     Clear screen flag                 yes
> DEVICE    Device|name|x size;y size|color
>GF|combined_2005102000.gif|700;600|
> LUTFIL    Enhancement lookup table filenam
> STNPLT    Txtc/txt attr|marker attr|stnfil
> VGFILE    Vgfile | scale file | attribute
>/home/gempak/GEMPAK5.8.3a/gempak/data/sigwx/bufrfiles/combined_2005102000_24
>_final.vgf
> AFOSFL    AFOS Graphics File
> AWPSFL    AWIPS Graphics File
> LINE      Color/type/width/label/smth/fltr
> WATCH     End time|Wtch clrs|Wtch Tm;Statu
> WARN      End time|TS;TN;FF clrs|Tm|Lb|Out
> HRCN      End time|colors|syms|Tm|Lb|Mt|Qw
> ISIG      End time|colors|Sym|Tm|Id|Mv|Fl
> LTNG      End time|time ints/colors|marker
> ATCF      Time|colors|models|Tm|Id|Mv|Mkr|
> AIRM      Airmet Plotting Attributes
> NCON      NCON attributes
> CSIG      End time|0_Hr;1_Hr;2_Hr;OL clrs|
> SVRL      End time|SVRL clrs|Tm|Lb|Outline
> BND       Bnd name/color/fillsiz/fillpat/f
> TCMG      End time|colors|center
> QSCT      QuickScat Plotting Attributes
> WSTM      End time|WN;WT;AD clrs|Tm|Lb|Out
> WOU       End time|Cnty bnds clrs|Tm|Lb|Wt
> WCN       End time|Cnty bnds clrs|Tm|Lb|Wt
> WCP       End time|Wtch clrs|Tm|Lb|Clr
> ENCY      Time|colors|models|Tm|Prs|Mkr
> Parameters requested: MAP,MSCALE,GAREA,PROJ,SATFIL,RADFIL,IMCBAR,LATLON,
>
>PANEL,TITLE,TEXT,CLEAR,DEVICE,LUTFIL,STNPLT,VGFILE,AFOSFL,AWPSFL,LINE,WATCH,
>
>WARN,HRCN,ISIG,LTNG,ATCF,AIRM,NCON,CSIG,SVRL,BND,TCMG,QSCT,WSTM,WOU,WCN,WCP,
> ENCY.
> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP>
>GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP>
>GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP>
>GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP>
>GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP>
>GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP>
>GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP> GEMPAK-GPMAP>Creating
> process: gif for queue 2752590
> GPMAP PARAMETERS:
>
> Device:              GIF|combined_2005102000.gif|700;600|
>
> Projection:          str/90;10;0
>
> Graphics area name:  24.00;-16.00;52.00;80.0
>
> Map:                 31
>
> Title:               31//20 Oct 2005 24 Hr Forecast
>
> Panel:               0
>
> Latlon:              2/10/1/1/15;15
>
> Clear:               YES
>Enter <cr> to accept parameters or type EXIT: Parameters requested:
>MAP,MSCALE,GAREA,PROJ,SATFIL,RADFIL,IMCBAR,LATLON,
>
>PANEL,TITLE,TEXT,CLEAR,DEVICE,LUTFIL,STNPLT,VGFILE,AFOSFL,AWPSFL,LINE,WATCH,
>
>WARN,HRCN,ISIG,LTNG,ATCF,AIRM,NCON,CSIG,SVRL,BND,TCMG,QSCT,WSTM,WOU,WCN,WCP,
> ENCY.
> GEMPAK-GPMAP>[gempak@hsdevlinux6 ~]$
>
>
>I switched to the GIF driver because I was getting a "no display" error.
>The new gif still does not include the vgf file, even though the file exists
>
>[gempak@hsdevlinux6 ~]$ ls -l
>/home/gempak/GEMPAK5.8.3a/gempak/data/sigwx/bufrfiles/combined_2005102000_24
>*
>-rw-rw-r--  1 gempak gempak 964463 Oct 24 09:57
>/home/gempak/GEMPAK5.8.3a/gempak/data/sigwx/bufrfiles/combined_2005102000_24
>_final.vgf
>
>
>Do you have any more ideas as to why the vgf file is not being plotted?
>
>
>
>> -----Original Message-----
>> From: Unidata Support [mailto:address@hidden]
>> Sent: Monday, October 31, 2005 9:44 AM
>> To: Don Clary
>> Cc: address@hidden
>> Subject: 20051027: Gempak - VGF File Not Plotted
>>
>>
>>
>> Don,
>>
>> Your scripts use the environmental variable SIGWX in the
>> path name for your VGFILE parameter. I suspect that this variable is not
>> set in your environment when your script runs, but you have set it
>> in your shell environment when running interactively.
>>
>> Check and set this variable in your script as necessary.
>>
>> Steve Chiswell
>> Unidata User Support
>>
>>
>>
>>
>> >From: "Don Clary" <address@hidden>
>> >Organization: UCAR/Unidata
>> >Keywords: 200510272021.j9RKLq92014069
>>
>> >--=_04344d2f3c30ebcabb6fded94409effd
>> >Content-Type: text/plain; charset="ISO-8859-1"
>> >Content-Transfer-Encoding: 7bit
>> >
>> >Institution: Global Weather Dynamics
>> >Package Version: 5.8.3a
>> >Operating System: RH EL 3 update 5
>> >Hardware Information: Intel Celeron
>> >Inquiry: I am using the two attached scripts to create charts of
>> Europe, but t
>> > he VGFILE is not plotted when the script runs.
>> >
>> >The VGFILE is plotted, if I run gpmap then mouse in the
>> parameter values then
>> > run the plot.
>> >
>> >The script files are adapted from examples on the GEMPAK web site.
>> >
>> >What am I doing incorrectly?
>> >
>> >Thank you,
>> >
>> >Don Clary
>> >
>> >
>> >--=_04344d2f3c30ebcabb6fded94409effd
>> >Content-Type: text/plain
>> >Content-Transfer-Encoding: base64
>> >Content-Disposition: attachment; filename="euro_chart.xw"
>> >
>> >IyEvYmluL2NzaCAtZgojc2V0ZW52IERJU1BMQVkgcGNkY2xhcnkxOjAuMApzb3VyY
>> 2UgJE5BV0lQ
>> >Uy9HZW1lbnZpcm9uCiMKIyBOb3RlIEhEUyBzZXQgaW4gR2VtZW52aXJvbiBmb3Igb
>> G9jYXRpb24g
>> >b2YKIyAgICAgRGVjb2RlZCBIUlMgZmlsZXMKCgojc2V0IENVUlJFTlRfRVRBPWBsc
>> yAtdCAkSERT
>> >LypfZXRhLmdlbSB8IGhlYWQgLTFgCgojCiMgR2VuZXJhdGUgR2lmcyBpbiAvdG1wI
>> GRpcmVjdG9y
>> >eQojY2QgL3RtcAoKaWYoLWUgY29tYmluZWQyMDA1MTAyMDAwLmdpZiApIHRoZW4KI
>> yAgIHJtIC1m
>> >IGNvbWJpbmVkMjAwNTEwMjAwMC5naWYqCmVuZGlmCgpncG1hcCA8PCBFT0YKCk1BU
>> AkgPSAgMQpH
>> >QVJFQQkgPSAgMjQuMDA7LTE2LjAwOzUyLjAwOzgwLjAKUFJPSgkgPSAgc3RyLzkwO
>> zEwOzAKU0FU
>> >RklMCSA9ClJBREZJTAkgPQpJTUNCQVIJID0KTEFUTE9OCSA9ICAyLzEwLzEvMS8xN
>> TsxNQpQQU5F
>> >TAkgPSAgMApUSVRMRQkgPSAgMApURVhUCSA9ICAxCkNMRUFSCSA9ICB5ZXMKREVWS
>> UNFCSA9ICB4
>> >dwpMVVRGSUwgICA9ClNUTlBMVCAgID0KVkdGSUxFCSA9ICAkU0lHV1gvYnVmcmZpb
>> GVzL2NvbWJp
>> >bmVkXzIwMDUxMDIwMDBfMjRfZmluYWwudmdmCkFGT1NGTAkgPQpBV1BTRkwJID0KT
>> ElORQkgPQpX
>> >QVRDSCAgICA9CldBUk4gICAgID0KSFJDTiAgICAgPQpJU0lHICAgICA9CkxUTkcgI
>> CAgID0KQVRD
>> >RiAgICAgPQpBSVJNICAgICA9Ck5DT04gICAgID0KQ1NJRyAgICAgPQpTVlJMICAgI
>> CA9CldTVE0J
>> >ID0KV09VICAgICAgPQpXQ04gICAgICA9CldDUCAgICAgID0KRU5DWSAgICAgPQpyC
>> gplCiNFT0YK
>> >IwojZ3BlbmQK
>> >--=_04344d2f3c30ebcabb6fded94409effd
>> >Content-Type: text/plain
>> >Content-Transfer-Encoding: base64
>> >Content-Disposition: attachment; filename="euro_chart.gif"
>> >
>> >IyEvYmluL2NzaCAtZgpzb3VyY2UgJE5BV0lQUy9HZW1lbnZpcm9uCiMKIyBOb3RlI
>> EhEUyBzZXQg
>> >aW4gR2VtZW52aXJvbiBmb3IgbG9jYXRpb24gb2YKIyAgICAgRGVjb2RlZCBIUlMgZ
>> mlsZXMKCgoj
>> >c2V0IENVUlJFTlRfRVRBPWBscyAtdCAkSERTLypfZXRhLmdlbSB8IGhlYWQgLTFgC
>> gojCiMgR2Vu
>> >ZXJhdGUgR2lmcyBpbiAvdG1wIGRpcmVjdG9yeQpjZCAvdG1wCgppZigtZSBjb21ia
>> W5lZDIwMDUx
>> >MDIwMDAuZ2lmICkgdGhlbgogICBybSAtZiBjb21iaW5lZDIwMDUxMDIwMDAuZ2lmK
>> gplbmRpZgoK
>> >Z3BtYXAgPDwgRU9GCgpNQVAJID0gIDEKR0FSRUEJID0gIDI0LjAwOy0xNi4wMDs1M
>> i4wMDs4MC4w
>> >ClBST0oJID0gIHN0ci85MDsxMDswClNBVEZJTAkgPQpSQURGSUwJID0KSU1DQkFSC
>> SA9CkxBVExP
>> >TgkgPSAgMi8xMC8xLzEvMTU7MTUKUEFORUwJID0gIDAKVElUTEUJID0gIDEvLzIwI
>> E9jdCAyMDA1
>> >IDI0IEhyIEZvcmVjYXN0ClRFWFQJID0gIDEKQ0xFQVIJID0gIHllcwpERVZJQ0UJI
>> D0gIEdGfGNv
>> >bWJpbmVkXzIwMDUxMDIwMDAuZ2lmfDcwMDs2MDB8CkxVVEZJTCAgID0KU1ROUExUI
>> CAgPQpWR0ZJ
>> >TEUJID0gICRTSUdXWC9idWZyZmlsZXMvY29tYmluZWRfMjAwNTEwMjAwMF8yNF9ma
>> W5hbC52Z2YK
>> >QUZPU0ZMCSA9CkFXUFNGTAkgPQpMSU5FCSA9CldBVENIICAgID0KV0FSTiAgICAgP
>> QpIUkNOICAg
>> >ICA9CklTSUcgICAgID0KTFRORyAgICAgPQpBVENGICAgICA9CkFJUk0gICAgID0KT
>> kNPTiAgICAg
>> >PQpDU0lHICAgICA9ClNWUkwgICAgID0KV1NUTQkgPQpXT1UgICAgICA9CldDTiAgI
>> CAgID0KV0NQ
>> >ICAgICAgPQpFTkNZICAgICA9CnIKCmUKRU9GCgpncGVuZAo=
>> >--=_04344d2f3c30ebcabb6fded94409effd--
>> >
>> --
>> ******************************************************************
>> Unidata User Support                                    UCAR
>> (303)497-8643
>> address@hidden
>> ------------------------------------------------------------------
>> Unidata WWW Service
>----------------------------------------------------------------------------
><
>NOTE: All email exchanges with Unidata User Support are recorded in the
>Unidata inquiry tracking system and then made publicly available
>through the web.  If you do not want to have your interactions made
>available in this way, you must let us know in each email you send to us.
>
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.