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.
You can use the gdgrib program to create a grib product from a grid. It requires specifying several pieces of information for the grib that the GEMPAK file doesn't contain (eg PDS values for model center, number, coordinates etc), so its a 1 by 1 process. Steve Chiswell Unidata User Support >From: "Capehart, William J" <address@hidden> >Organization: UCAR/Unidata >Keywords: 200208092152.g79Lq9K29851 >Hi Steve, > >We finally got the code to execute but we've been having some trouble >specifying the proper variables... At this point I'm interested in a more >direct route to vis5d: Would it be possible in gempak to go from gempak >INTO grib (and not the other way around?) From there, we can translate GRIB >to vis5d. > >Cheers and Thanks! >================================================================ >Bill Capehart <address@hidden> Assistant Professor >Institute of Atmospheric Sciences Land Surface Processes >213 Mineral Industries Building Hydrometeorology >South Dakota School of Mines and Technology Ph: +1-605-394-1994 >501 East Saint Joseph Street Fax: +1-605-394-6061 >Rapid City, SD 57701-3995 Mobile: +1-605-484-5692 >==== http://www.hpcnet.org/sdsmt/personnel/wcapehart/about ===== > > > >-----Original Message----- >From: Unidata Support [mailto:address@hidden] >Sent: Thursday, 08 August 2002 16:07 >To: Capehart, William J >Cc: 'Unidata Support' >Subject: 20020808: 20020808: GEMVIS and Ancient Editions of GEMPAK > > >Bill, > >You might find someone there, maybe Ben Domenico.....I don't >know off hand. > >Several of us have been teaching the Unidata package workshops >for the past week, so there hasn't been alot of time to >find out what others are doing. > >Steve Chiswell > > > > >>From: "Capehart, William J" <address@hidden> >>Organization: UCAR/Unidata >>Keywords: 200208082200.g78M0gK07452 > >>Thanks much, I'll give it a whirl. >> >>I understand that almost EVERYONE will be there in San Antonio (I had a >>number of extra visits planned on top of the GIS workshop). >> >>On that note is anyone from your unit going to be at the NCAR GIS Workshop >>that I was talking about? Converting GEMPAK files into 'GIS-able' products >>is the sort of thing that many of us would find useful. >> >>Cheers and Thanks! >> >>================================================================ >>Bill Capehart <address@hidden> Assistant Professor >>Institute of Atmospheric Sciences Land Surface Processes >>213 Mineral Industries Building Hydrometeorology >>South Dakota School of Mines and Technology Ph: +1-605-394-1994 >>501 East Saint Joseph Street Fax: +1-605-394-6061 >>Rapid City, SD 57701-3995 Mobile: +1-605-484-5692 >>==== http://www.hpcnet.org/sdsmt/personnel/wcapehart/about ===== >> >> >> >>-----Original Message----- >>From: Unidata Support [mailto:address@hidden] >>Sent: Thursday, 08 August 2002 15:50 >>To: Capehart, William J >>Cc: 'address@hidden' >>Subject: 20020808: GEMVIS and Ancient Editions of GEMPAK >> >> >>Bill, >> >>The underlying GEMPAK file format has not changed significantly. But, >>some additions in the newer code include machine number additions for Linux >>that older code would not be able to use if the GEMPAK file was created by >a >>Linux machine for example. >> >>If the only road blocks you are having are gr_file and cfl_scnd, >>then I can suggest the following: >> >>1) gr_file was renamed dg_file in 1996: >> >> try renaming your gr_file calls to dg_file and >> double check the parameters being passed just in case the number/order >> of parameters has changed. >> >>2) The cgemlib.a library includes cfl_scnd. This routine is used by the >> current GEMPAK fl_mfls routine (probably called by the grid file open >> routines). Your old linking probably did not include cgemlib.a, so you >> should add that to the list of GEMPAK libraries you are using >> (and place after the gemlib.a reference since one pass compilers >> will need to resolve the cfl_scnd reference after the gemlib routine >> which calls it). >> >>If necessary, I do have the GEMPAK 5.4 distribution available....but >>hopefully for a simple converter you can update the calls to use >>the new library. >> >>Unfortunately, I will be in San Antonio next week for the >>AMS conferences on Severe Local Storms and NWP, so I won't be >>available while you are in town. But, we should be able to >>get you something to work. >> >>Steve Chiswell >>Unidata User Support >> >> >> >> >>>From: "Capehart, William J" <address@hidden> >>>Organization: UCAR/Unidata >>>Keywords: 200208082036.g78KajK03052 >> >>>This message is in MIME format. Since your mail reader does not understand >>>this format, some or all of this message may not be legible. >>> >>>------_=_NextPart_001_01C23F1B.473E0930 >>>Content-Type: text/plain >>> >>>Thursday, 08 August 2002 >>> >>>To whom it may concern: >>> >>>Here is an interesting one for you! >>> >>>We are working with vis5d+ as both a research and teaching tool in >addition >>>to the garp/nawips suite. One of the things we are interested in doing is >>>putting a few choice Comet case studies into vis5d and vGeo (a package >>based >>>in an immersive version of vis5d). However, the data is in gempak format >>at >>>present. >>> >>>The Vis5D+ program has with it the source code from the old (1995) NCEP >>>program "gemvis" written by Keith Brill (He is no longer able to support >it >>>and regretted that he was unable to assist). >>> >>>The code requires access to the gemvis.o libraries and we have correctly >>>sourced them in the scripts required to compile gemvis. However, we've >>>tried to compile it but have come across a number of roadblocks ending at >>stopping point in which the compiler is attempting to access objects >>>"gr_file_" and "cfl_scnd_". >>> >>>Given the time that has elapsed since the writing of gemvis and the most >>>recent incarnations of the gempak suite of packages we are curious to try >>>compiling gemvis by sourcing an earlier version of Gempak. >>> >>>Which brings us to the questions I'd like to ask: >>> >>>1) has the gempak format changed significantly over the years to make >>>any potential usability "gemvis" a null-and-void issue? >>>2) Are there any old version of gempak software (c. 1995) available >>>that we could acquire for the sole purpose of compiling that code? >>>3) Is there an option for translating gempak data to vis5d that we are >>>unaware of? >>> >>>Additionally I will be at the Foothills Lab next week (12-16 August) for a >>>conference, so if this requires direct contact I should be across the >>street >>>(My mobile number is below). >>> >>>Cheers and Thanks! >>>================================================================ >>>Bill Capehart <address@hidden> Assistant Professor >>>Institute of Atmospheric Sciences Land Surface Processes >>>213 Mineral Industries Building Hydrometeorology >>>South Dakota School of Mines and Technology Ph: +1-605-394-1994 >>>501 East Saint Joseph Street Fax: +1-605-394-6061 >>>Rapid City, SD 57701-3995 Mobile: +1-605-484-5692 >>>==== http://www.hpcnet.org/sdsmt/personnel/wcapehart/about >>><http://www.hpcnet.org/sdsmt/personnel/wcapehart/about> ===== >>> >>> >>> >>> >>>------_=_NextPart_001_01C23F1B.473E0930 >>>Content-Type: text/html >>>Content-Transfer-Encoding: quoted-printable >>> >>><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> >>><HTML> >>><HEAD> >>><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = >>>charset=3DUS-ASCII"> >>><META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = >>>5.5.2654.45"> >>><TITLE>GEMVIS and Ancient Editions of GEMPAK</TITLE> >>></HEAD> >>><BODY BGCOLOR=3D"#FFFFFF"> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">Thursday, 08 = >>>August 2002</FONT></P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">To whom it may = >>>concern:</FONT></P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">Here is an = >>>interesting one for you!</FONT></P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">We are working = >>>with vis5d</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana">+</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"> as both a</FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">research</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"></FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">and teaching tool in addition to</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"> the</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana"> garp/nawips</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana"> suite</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">. One of the things we are interested in doing = >>>is putting a few choice Comet case studies into vis5d and vGeo (a = >>>package based in an immersive version of vis5</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">d</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">)</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">.</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana"> However, the data</FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">is in gempak format at = >>>present. </FONT> </P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">The = >>>Vis5D+</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">program has with = >>>it the</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">source code from = >>>the old (19</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">9</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">5)</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> = >>>NCEP</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">program</FONT> = >>><FONT COLOR=3D"#000066" FACE=3D"Verdana">"</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">gemvis</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">"</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> = >>>written by</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">Keith</FONT> = >>><FONT COLOR=3D"#000066" FACE=3D"Verdana">Brill</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"></FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">(</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana">He is = >>>no longer able to support it and</FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">regretted that he was unable to assist</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">)</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">.</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana"> </FONT> </P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">The code = >>>requires</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">access = >>>to</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">the</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"></FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">gemvis.o libraries</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana"> and we have correctly sourced them</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"> in the scripts required to compile = >>>gemvis. However,</FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">w</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">e</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">'</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana">ve = >>>tried to compile it but have come across a number of roadblocks ending = >>>at stopping point</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> in = >>>which the compiler is attempting to access</FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">objects</FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">"</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">gr_file</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">_</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">"</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> = >>>and</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">"</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">cfl_scnd_</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">"</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">. </FONT></P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">Given</FONT> = >>><FONT COLOR=3D"#000066" FACE=3D"Verdana">the</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"></FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">time that has elapsed since the writing of gemvis and = >>>the most recent incarnations of the gempak suite of packages we are = >>>curious to try compiling gemvis by sourcing a</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">n earlier version of</FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">Gempak.</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"> </FONT> </P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">W</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">h</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">ich</FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">brings us to the questions I</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">'</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">d like to ask:</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana"> </FONT></P> >>> >>><P><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">1) </FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">has the gempak format changed = >>>significantly over the years to make any potential usability</FONT> = >>><FONT COLOR=3D"#000066" FACE=3D"Verdana">"</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">gemvis</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">"</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> a = >>>null-and-void issue?</FONT></P> >>> >>><P><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">2) </FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">A</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">re</FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">there any old version of gempak software</FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">(c. 1995) available that we could = >>>acquire for the sole purpose of compiling that code</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">?</FONT></P> >>> >>><P><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">3) </FONT> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">Is there an option for translating = >>>gempak data to vis5d that we are unaware of?</FONT> >>></P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">Additionally I = >>>will be at</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> = >>>the</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> = >>>Foothills</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> = >>>Lab</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> next week = >>>(12</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana">-16</FONT><SUP><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana"></FONT></SUP> <FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">August</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">)</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> for = >>>a conference, so if this requires direct contact I should be across the = >>>street</FONT><FONT COLOR=3D"#000066" FACE=3D"Verdana"> (</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">M</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">y</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana"></FONT> <FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">mobile number is below).</FONT></P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Verdana">Cheers = >>>and</FONT> <FONT COLOR=3D"#000066" FACE=3D"Verdana">T</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Verdana">hanks</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Verdana">!</FONT></P> >>> >>><P ALIGN=3DLEFT><A NAME=3D"_MailAutoSig"><FONT COLOR=3D"#000066" = >>>SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></A><= >>>FONT COLOR=3D"#000066" FACE=3D"Lucida Sans Typewriter"><BR> >>></FONT><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter">Bill Capehart = >>><address@hidden> </FONT><FONT = >>>COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter"> </FONT><FONT COLOR=3D"#000066" SIZE=3D2 = >>>FACE=3D"Lucida Sans Typewriter">Assistant</FONT><FONT COLOR=3D"#000066" = >>>SIZE=3D2 FACE=3D"Lucida Sans Typewriter"> Professor</FONT><FONT = >>>COLOR=3D"#000066" FACE=3D"Lucida Sans Typewriter"><BR> >>></FONT><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter">Institute of Atmospheric = >>>Sciences Land = >>>Surface Processes</FONT><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida = >>>Sans Typewriter"><BR> >>></FONT><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter">213 Mineral Industries = >>>Building &nbs= >>>p; Hydrometeorology</FONT><FONT = >>>COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans Typewriter"><BR> >>></FONT><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter">South Dakota School of Mines and Technology Ph: = >>>+1-605-394-1994</FONT><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida = >>>Sans Typewriter"><BR> >>>501 East Saint Joseph Street</FONT><FONT COLOR=3D"#000066" SIZE=3D2 = >>>FACE=3D"Lucida Sans = >>>Typewriter"> = >>> </FONT><FONT COLOR=3D"#000066" = >>>SIZE=3D2 FACE=3D"Lucida Sans Typewriter">Fa</FONT><FONT = >>>COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans Typewriter">x: = >>>+1-605-394-6061</FONT><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida = >>>Sans Typewriter"></FONT><BR> >>><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans Typewriter">Rapid = >>>City, SD = >>>57701-3995 &n= >>>bsp; </FONT><FONT COLOR=3D"#000066" SIZE=3D2 = >>>FACE=3D"Lucida Sans Typewriter">Mobile: +1-605-484-5692</FONT><BR> >>><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter">=3D=3D=3D=3D</FONT> <A = >>>HREF=3D"http://www.hpcnet.org/sdsmt/personnel/wcapehart/about"><U></U><U= >>>><FONT COLOR=3D"#3333CC" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter">http://www.hpcnet.org/sdsmt/personnel/wcapehart/about</FONT>= >>></U></A><FONT COLOR=3D"#000066" SIZE=3D2 FACE=3D"Lucida Sans = >>>Typewriter"> =3D=3D=3D=3D=3D</FONT><FONT COLOR=3D"#000066" = >>>FACE=3D"Lucida Sans Typewriter"> </FONT></P> >>> >>><P ALIGN=3DLEFT><FONT COLOR=3D"#000066" FACE=3D"Lucida Sans = >>>Typewriter"> </FONT></P> >>> >>><P ALIGN=3DLEFT></P> >>> >>></BODY> >>></HTML> >>>------_=_NextPart_001_01C23F1B.473E0930-- >>> >> >>*************************************************************************** >* >>< >>Unidata User Support UCAR Unidata >Program >>< >>(303)497-8643 P.O. Box >3000 >>< >>address@hidden Boulder, CO >80307 >>< >>--------------------------------------------------------------------------- >- >>< >>Unidata WWW Service http://www.unidata.ucar.edu/ >>< >>*************************************************************************** >* >>< >> > >**************************************************************************** >< >Unidata User Support UCAR Unidata Program >< >(303)497-8643 P.O. Box 3000 >< >address@hidden Boulder, CO 80307 >< >---------------------------------------------------------------------------- >< >Unidata WWW Service http://www.unidata.ucar.edu/ >< >**************************************************************************** >< >