This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Dongyu, The error message below seems to indicate that your display is running in 24 bit mode (as I had previously described lower in this thread. What version of GEMPAK are you running? Beginning with the GEMPAK 5.6.g release, 24 bit color is now supported. If you are running a version older than 5.6.g, then you either have to set your X display to 8 bit color, or upgrade your GEMPAK distribution. You can check your X display configuration using the "xdpyinfo" command. This command will show what the color setting is for your default visual id. Steve Chiswell >From: <address@hidden> >Organization: UCAR/Unidata >Keywords: 200301250149.h0P1mx602016 >Dear steve: > Thank you for your help! > I have a new question for you. When I run the command ntl -s 10, >there are following info: > > spring% ntl -s 10 >Resource File: /export/home0/gempack/resource/Ntop >graphic, satellite, radar -- 33 10 20 > Request total # of colors = 63 >X Error of failed request: BadValue (integer parameter out of range >for operation) > Major opcode of failed request: 86 (X_AllocColorCells) > Value in failed request: 0x0 > Serial number of failed request: 264 > Current serial number in output stream: 264 > >Thank you for your help! >Dongyu > >----- Original Message ----- >From: Unidata Support <address@hidden> >Date: Wednesday, April 24, 2002 6:38 pm >Subject: 20020424: Gempak installation! > >> Dongyu, >> >> Your error message: >> >> >InitGempakColorMap: Can't allocate Graphic colors. >> >GarpInitialize: GempakInit failed >> >> is the result of Garp not being able to obtain colors. >> You should always launch the GUI programs like garp from the >> NTL program. Running ntl will set up the required shared >> color map segment and ensure you have enough colors. If you do not >> haveenough colors, you can launch ntl with command line options to >> use fewer >> colors for GEMPAK. >> >> You must be running your X display with the default visual as 8 >> bit pseudocolor. >> You can verify your current X display settings using the >> "xdpyinfo" program. >> >> When you launch ntl, and your default visual is 8 bit, then ntl >> will provide a launcher bar for the GUIs- or, if you do not have >> enough colors, >> it will tell you how many you have. The default settings use 95 >> colors for >> satellite images. You can lower this to 32 colors by launching >> NTL with "ntl -s 32". If you still have problems getting enough >> colors, then >> close down any web browsers or file managers that use a lot of >> colors. >> Once ntl has launched, you can restart those applications. >> >> Steve Chiswell >> >> >> >> >From: <address@hidden> >> >Organization: UCAR/Unidata >> >Keywords: 200204242155.g3OLtWa25357 >> >> >Dear Steve: >> > Thank you for your help. >> > I think I have got your meaning. When I run ldd $GEMEXE/garp ,I >> got >> >the following information: >> > ldd $GEMEXE/garp >> > libXm.so.3 => /usr/dt/lib/libXm.so.3 >> > libXt.so.4 => /usr/openwin/lib/libXt.so.4 >> > libX11.so.4 => /usr/openwin/lib/libX11.so.4 >> > libm.so.1 => /export/home/gempack/lib/sol/libm.so.1 >> > libF77.so.4 => /export/home/gempack/lib/sol/libF77.so.4 >> > libM77.so.2 => /export/home/gempack/lib/sol/libM77.so.2 >> > libsunmath.so.1 >> >=> /export/home/gempack/lib/sol/libsunmath.so.1 >> > libc.so.1 => /usr/lib/libc.so.1 >> > libSM.so.6 => /usr/openwin/lib/libSM.so.6 >> > libICE.so.6 => /usr/openwin/lib/libICE.so.6 >> > libXext.so.0 => /usr/openwin/lib/libXext.so.0 >> > libsocket.so.1 => /usr/lib/libsocket.so.1 >> > libnsl.so.1 => /usr/lib/libnsl.so.1 >> > libdl.so.1 => /usr/lib/libdl.so.1 >> > libdga.so.1 => /usr/openwin/lib/libdga.so.1 >> > libmp.so.2 => /usr/lib/libmp.so.2 >> > /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1 >> > I think there is no problem. >> > >> >But when I want to run $GEMEXE/garp, there are some error >> information >> >as the followings: >> > csh> $GEMEXE/garp >> >G A R P - v2.1 starting... >> >Warning: Missing charsets in String to FontSet conversion >> >Warning: Missing charsets in String to FontSet conversion >> > Warning: keylist is null >> > Cannnot set option menu default button >> > Warning: keylist is null >> > Cannnot set option menu default button >> > Warning: keylist is null >> > Cannnot set option menu default button >> > Warning: keylist is null >> > Cannnot set option menu default button >> >InitGempakColorMap: Can't allocate Graphic colors. >> >GarpInitialize: GempakInit failed >> >Main: Initialization failed. Exiting >> > >> >Could you tell why? How can I solve this problem? Thank you again! >> > >> >Dongyu Liu >> > >> >----- Original Message ----- >> >From: Unidata Support <address@hidden> >> >Date: Wednesday, April 24, 2002 5:27 pm >> >Subject: 20020424: 20020424: Gempak installation! >> > >> >> >> >> dongyu, >> >> >> >> The binary installation does not contain the $GEMLIB directory >> since>> you do not need that to run the programs. The binary >> installation>> only includes the directories necessary to run GEMPAK. >> >> >> >> If you want to link your own programs against the GEMPAK >> >> libraries, then >> >> you can download them as a separate tar file from the Web portal. >> >> >> >> You should set your LD_LIBRARY_PATH environmental variable to >> >> the location of our F77 shareable libraries on your system. >> >> If you do not have the appropriate Fortran shareable libraries >> >> already, then you can download them as well from the Web portal >> site>> and place them in a location on your system and add that to >> your>> LD_LIBRARY_PATH. All of this is included in the README file for >> >> the binary installations. >> >> >> >> >> >> See the Solaris binary installation instructions under: >> >> http://my.unidata.ucar.edu/modules.php? >> >name=Downloads&d_op=viewsdownload&sid=5 >> >> >> >> The following links are provided: >> >> README file for GEMPAK binary installation (SOLARIS SPARC) >> >> GEMPAK program libraries, V5.6.F, Solaris Sparc >> >> System shared libraries for Solaris Sparc >> >> >> >> Steve Chiswell >> >> Unidata User SUpport >> >> >> >> >From: <address@hidden> >> >> >Organization: UCAR/Unidata >> >> >Keywords: 200204242119.g3OLJka14932 >> >> >> >> >Hi: >> >> > I have settled the (1)(2) problem by creating the lib >> directory >> >> by >> >> >myself and download the system library from your ftp site. >> >> > Then how about the third question? >> >> > >> >> >dongyu >> >> > >> >> >----- Original Message ----- >> >> >From: Steve Chiswell <address@hidden> >> >> >Date: Wednesday, April 24, 2002 4:05 pm >> >> >Subject: 20020424: Gempak installation! >> >> > >> >> >> >> >> >> Dongyu, >> >> >> >> >> >> If you downloaded a binary distribution of GEMPAK, then >> there are >> >> >> no Makefiles because the distribution is already built. All >> >> >> you have to do is edit the Gemenviron file. For more >> >> instructions, see >> >> >> the README files for the appropriate binary installation as >> found>> >> on the Unidata web portal site. >> >> >> >> >> >> If you want to build the GEMPAK distribution locally, >> download the >> >> >> source code tarfile. >> >> >> >> >> >> Steve Chiswell >> >> >> Unidata User Support >> >> >> >> >> >> > >> >> >> > ---------- Forwarded message ---------- >> >> >> > Date: Wed, 24 Apr 2002 14:09:30 -0400 >> >> >> > From: address@hidden >> >> >> > To: Jeff Weber <address@hidden> >> >> >> > Subject: Gempack installation! >> >> >> > >> >> >> > Hi Jeff: >> >> >> > >> >> >> > Sorry to bother you again! >> >> >> > >> >> >> > I am installing Gempak on our machine. Now I meet some >> >> >> problems:When I >> >> >> > run "make all >& make.out &", I can't continue my >> >> installation. >> >> >> I can't >> >> >> > find the makefiles.Where can I find the Unidata makefiles? >> >> Could you >> >> >> > tell me? I have followed the procedure in the installation >> file.>> >> > >> >> >> > dongyu Liu >> >> >> > George Mason University >> >> >> > >> >> >> > ----- Original Message ----- >> >> >> > From: Jeff Weber <address@hidden> >> >> >> > Date: Monday, April 22, 2002 3:29 pm >> >> >> > Subject: Re: Feed Request >> >> >> > >> >> >> > > Hi Dongyu, >> >> >> > > >> >> >> > > If you are still requesting UNIDATA ".*"as a feed type >> you >> >> >> should be >> >> >> > > getting the HDS/HRS (model) feed. >> >> >> > > >> >> >> > > Here are some examples from our pqact.conf file..: >> >> >> > > >> >> >> > > Keep in mind you need to use tabs and no "carriage >> >> returns"..for>> > > pqact.conf >> >> >> > > >> >> >> > > # Select an# >> >> >> > > # RUC/MAPS model output >> >> >> > > # Grid #211 CONUS 80km: ^[YZ].Q.*/mRUC >> >> >> > > # Currently, only grid #211 >> >> >> > > # >> >> >> > > # NGM model output >> >> >> > > # Grid #211 CONUS 80km: ^[YZ].Q.*/mNGM >> >> >> > > # Grid #207 Alaska 95km: ^[YZ].N.*/mNGM >> >> >> > > # Grid #202 CONUS 190km: ^[YZ].I.*/mNGM >> >> >> > > # Grid #213 CONUS 47.5km: ^[YZ].H.*/mNGM >> >> >> > > # Select an >> >> >> > > HRS ^[YZ].(.)... KWB. ([0-3][0-9])([0-2][0- >> >> >> 9]).*/m(ETA|NGM|RUC)> > FILE >> >> >> > > data/pub/raw/hrs/model/\1/(\2:yyyy)(\2:mm)\2\3_\4.wmo >> >> >> > > >> >> >> > > # NOAAport MRF grids >> >> >> > > # Grid #201 N. Hemisphere 381km: ^Y.A... KWBH >> >> >> > > # Grid #202 CONUS 190km: ^Y.I... KWBH >> >> >> > > # Grid #203 Alaska 190km: ^Y.J... KWBH >> >> >> > > # Grid #204 Hawaii 160km: ^Y.K... KWBH >> >> >> > > # Grid #205 Puerto Rico 190km: ^Y.L... KWBH >> >> >> > > # Select an >> >> >> > > HRS ^[YZ].(.)... KWBH ([0-3][0-9])([0-2][0-9]) >> >> >> > > FILE >> >> >> > > >> data/pub/raw/hrs/model/\1/(\2:yyyy)(\2:mm)\2\3_MRF.wmo>> >> > > >> >> >> > > # AVN model output >> >> >> > > # Grid #201 N. Hemisphere 381km: ^Y.A... >> KWBC.*(/mAVN|/mSSIAVN)>> >> > > # Grid #202 CONUS 190km: >> ^Y.I... KWBC.*(/mAVN|/mSSIAVN) >> >> >> > > # Grid #203 Alaska 190km: ^Y.J... >> KWBC.*(/mAVN|/mSSIAVN)>> >> > > # Grid #211 CONUS 80km: >> ^Y.Q... KWBC.*(/mAVN|/mSSIAVN) >> >> >> > > # Grid #213 CONUS 95km: ^Y.H... >> KWBC.*(/mAVN|/mSSIAVN)>> >> > > # Select an >> >> >> > > HRS ^[YZ].([QAIJH])... KWB. ([0-3][0-9])([0-2][0- >> >> >> > > 9]).*(/mAVN|/mSSIAVN) FILE >> >> >> > > >> data/pub/raw/hrs/model/\1/(\2:yyyy)(\2:mm)\2\3_AVN.wmo>> >> > > >> >> >> > > >> >> >> > > >> >> >> > > Let me know if I can help further... >> >> >> > > >> >> >> > > Thank you, >> >> >> > > >> >> >> > > -Jeff >> >> >> > > ____________________________ >> >> >> _____________________> > Jeff Weber >> >> >> >> >> >> address@hidden >> >> >> > > Unidata Support PH:303-497- >> 8676>> >> > > NWS-COMET Case Study Library FX:303- >> 497-8690 >> >> >> > > University Corp for Atmospheric Research 3300 >> Mitchell Ln >> >> >> > > http://www.unidata.ucar.edu/staff/jweber Boulder,Co >> >> 80307- >> >> >> 3000> > ________________________________________ >> >> >> ______________________> > >> >> >> > > On Mon, 22 Apr 2002 address@hidden wrote: >> >> >> > > >> >> >> > > > Hi Jeff: >> >> >> > > > >> >> >> > > > Thank you very much for your reply! I think I have >> send too >> >> >> > > many >> >> >> > > > questions to you. >> >> >> > > > >> >> >> > > > I have already received some data from LDM. Now I >> want >> >> to get >> >> >> > > some Grib >> >> >> > > > (.GRIB) file. I don't care what category of data it >> is. I >> >> only>> > > want to >> >> >> > > > make that it is GRIB file. >> >> >> > > > >> >> >> > > > Could you tell me how to config in the pqact.conf? Or >> >> Could you >> >> >> > > > recommend somebody I can ask for a advice ? >> >> >> > > > Thank you again. >> >> >> > > > >> >> >> > > > dongyu >> >> >> > >> >> >> >> >> >> >> >> > >> >> >> >> >> >>*********************************************************************** >* >> >> Unidata User Support UCAR >> >> (303)497-8644 >> >> address@hidden >> >> ---------------------------------------------------------------- >> --- >> >> Unidata WWW Service >> >> >> >>*********************************************************************** >* >> >> >> > >> >> >************************************************************************ >> Unidata User Support UCAR >> (303)497-8644 >> address@hidden >> ------------------------------------------------------------------- >> Unidata WWW Service >> >************************************************************************ >> >