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.
Tim, If you can put your data into a surface format similar to what SFLIST produces, then SFEDIT will create a gempak surface file from your ascii data. The tutorial page: http://my.unidata.ucar.edu/content/software/gempak/tutorial/importing_exercises.html shows an example of a way to create an ascii formated data file and station table. If your 1300 sites are fixed locations, then creating a standard surface file is the easiest route since you will only have to create a station table once. For mobile locations, then you would have to have SLAT and SLON in every record and create a ship format surface file. You will need to assign a unique 4 to 8 character station ID for each site (this can be as simple as a counter as shown in the example). More information on the station table location format is shown here: http://my.unidata.ucar.edu/content/software/gempak/tutorial/station_tables.html Information on SFLIST is here: http://my.unidata.ucar.edu/content/software/gempak/tutorial/sflist.html and SFEDIT here: http://my.unidata.ucar.edu/content/software/gempak/tutorial/manual/programs/chap4.php?prog=sfedit you will have to create an empty surface file using a station table using SFCFIL http://my.unidata.ucar.edu/content/software/gempak/tutorial/manual/programs/chap4.php?prog=sfcfil before running SFEDIT. Steve Chiswell >From: "Critter Consulting" <address@hidden> >Organization: Critter Consulting >Keywords: 200310202204.h9KM43Ob024326 >This is a multi-part message in MIME format. > >------=_NextPart_000_0001_01C3971B.5F9FDF90 >Content-Type: text/plain; > charset="us-ascii" >Content-Transfer-Encoding: 7bit > >Hi, > > I'm new at using Gempak. We want to plot some air quality >data (hourly surface ozone concentration) at 1300 sites throughout the >U.S. > > If I understand Gempak we need to get the data converted to >a .gem file and then it could be plotted with a program like GARP or >NMAP2. > > How to I get this air quality data (which is in a CSV >formatted file) into a .gem file? > > Do you now of generic decoders for non-weather data? > > Can I write my own program? > >Thanks for you help on this issue. > >Regards, > >Tim Dye >(707) 665-9900 > > >------=_NextPart_000_0001_01C3971B.5F9FDF90 >Content-Type: text/html; > charset="us-ascii" >Content-Transfer-Encoding: quoted-printable > ><html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = >xmlns:w=3D"urn:schemas-microsoft-com:office:word" = >xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = >xmlns=3D"http://www.w3.org/TR/REC-html40"> > ><head> ><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = >charset=3Dus-ascii"> > > ><meta name=3DProgId content=3DWord.Document> ><meta name=3DGenerator content=3D"Microsoft Word 10"> ><meta name=3DOriginator content=3D"Microsoft Word 10"> ><link rel=3DFile-List href=3D"cid:filelist.xml@01C3971B.5E43D200"> ><o:SmartTagType = >namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"country-region"/> ><o:SmartTagType = >namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"place"/> ><!--[if gte mso 9]><xml> > <o:OfficeDocumentSettings> > <o:DoNotRelyOnCSS/> > </o:OfficeDocumentSettings> ></xml><![endif]--><!--[if gte mso 9]><xml> > <w:WordDocument> > <w:SpellingState>Clean</w:SpellingState> > <w:GrammarState>Clean</w:GrammarState> > <w:DocumentKind>DocumentEmail</w:DocumentKind> > <w:EnvelopeVis/> > <w:Compatibility> > <w:BreakWrappedTables/> > <w:SnapToGridInCell/> > <w:WrapTextWithPunct/> > <w:UseAsianBreakRules/> > </w:Compatibility> > <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> > </w:WordDocument> ></xml><![endif]--><!--[if !mso]> ><style> >st1\:*{behavior:url(#default#ieooui) } ></style> ><![endif]--> ><style> ><!-- > /* Style Definitions */ > p.MsoNormal, li.MsoNormal, div.MsoNormal > {mso-style-parent:""; > margin:0in; > margin-bottom:.0001pt; > mso-pagination:widow-orphan; > font-size:12.0pt; > font-family:"Times New Roman"; > mso-fareast-font-family:"Times New Roman";} >a:link, span.MsoHyperlink > {color:blue; > text-decoration:underline; > text-underline:single;} >a:visited, span.MsoHyperlinkFollowed > {color:purple; > text-decoration:underline; > text-underline:single;} >span.EmailStyle17 > {mso-style-type:personal-compose; > mso-style-noshow:yes; > mso-ansi-font-size:10.0pt; > mso-bidi-font-size:10.0pt; > font-family:Arial; > mso-ascii-font-family:Arial; > mso-hansi-font-family:Arial; > mso-bidi-font-family:Arial; > color:windowtext;} >span.SpellE > {mso-style-name:""; > mso-spl-e:yes;} >span.GramE > {mso-style-name:""; > mso-gram-e:yes;} >@page Section1 > {size:8.5in 11.0in; > margin:1.0in 1.25in 1.0in 1.25in; > mso-header-margin:.5in; > mso-footer-margin:.5in; > mso-paper-source:0;} >div.Section1 > {page:Section1;} >--> ></style> ><!--[if gte mso 10]> ><style> > /* Style Definitions */=20 > table.MsoNormalTable > {mso-style-name:"Table Normal"; > mso-tstyle-rowband-size:0; > mso-tstyle-colband-size:0; > mso-style-noshow:yes; > mso-style-parent:""; > mso-padding-alt:0in 5.4pt 0in 5.4pt; > mso-para-margin:0in; > mso-para-margin-bottom:.0001pt; > mso-pagination:widow-orphan; > font-size:10.0pt; > font-family:"Times New Roman";} ></style> ><![endif]--> ></head> > ><body lang=3DEN-US link=3Dblue vlink=3Dpurple = >style=3D'tab-interval:.5in'> > ><div class=3DSection1> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'>Hi,<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><span = >style=3D'mso-tab-count:1'>  = >; </span>I’m >new at using <span class=3DSpellE>Gempak</span>.<span >style=3D'mso-spacerun:yes'> </span>We want to plot some air = >quality data >(hourly surface ozone concentration) at 1300 sites throughout the = ></span></font><st1:country-region><st1:place><font > size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt;font-family:Arial'>U.S.</span></font></st1:plac= >e></st1:country-region><font >size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt;font-family:Arial'><span >style=3D'mso-spacerun:yes'> </span><o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><span = >style=3D'mso-tab-count:1'>  = >; </span>If >I understand <span class=3DSpellE>Gempak</span> we need to get the data = >converted >to a .gem file and then it could be plotted with a program like GARP or = >NMAP2.<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><span = >style=3D'mso-tab-count:1'>  = >; </span>How >to I get this air quality data (which is in a CSV formatted file) into a = >.gem >file?<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><span = >style=3D'mso-tab-count:1'>  = >; </span>Do >you now of generic decoders for non-weather = >data?<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><span = >style=3D'mso-tab-count:1'>  = >; </span>Can >I write my own program?<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'>Thanks for you help on this = >issue.<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'>Regards,<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><o:p> </o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'>Tim Dye<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'>(707) 665-9900<o:p></o:p></span></font></p> > ><p class=3DMsoNormal><font size=3D2 face=3DArial><span = >style=3D'font-size:10.0pt; >font-family:Arial'><span = >style=3D'mso-spacerun:yes'> </span><o:p></o:p></span></font></p> > ></div> > ></body> > ></html> > >------=_NextPart_000_0001_01C3971B.5F9FDF90-- > >