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

20041231: Plotting Research Data



Eric,

No, the GEMPAK data management file only stores lat/lon data
to 2 decimal point precision, so plotting the location data or 
storing to higer resolution is not possible. It is possible to 
store the DMS data as data, for manipulation there, such as 
calculations you might do with, but as location information only 
2 decimal points will be used.

Steve Chiswell
Unidata User Support




>From: "Eric Nguyen" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200501010241.j012filI002844

>This is a multi-part message in MIME format.
>
>------=_NextPart_000_000C_01C4EF79.425FC370
>Content-Type: text/plain;
>       charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>Actually, I've finally figured it out.  I'm able to plot the data now, =
>however I ran into a small problem that you can probably help me with.
>
>F0000000  99999 ASTEX FLIGHT TRACK               -- AZ  3728  -9713     =
>0
>F0000001  99999 ASTEX FLIGHT TRACK               -- AZ  3728  -9713     =
>0
>F0000002  99999 ASTEX FLIGHT TRACK               -- AZ  3728  -9713     =
>0
>F0000003  99999 ASTEX FLIGHT TRACK               -- AZ  3728  -9713     =
>0
>F0000004  99999 ASTEX FLIGHT TRACK               -- AZ  3727  -9712     =
>0
>
>Above is an example of what I used to make the station ID's using my =
>lat/lon data.  I used the same text format as your tutorial with the =
>flight data.  The data is obviously close to each other and I would like =
>to plot the Lat/Lon using the minutes and seconds data.  For example, =
>the data below is the raw GPS data:
>
>      LAT=20
>      3728 LAT=20
>      0.66 LON=20
>      9713 LON 0.93945=20
>      3728 0.56 9713 0.7998=20
>      3728 0.44 9713 0.64941=20
>      3728 0.05 9713 0.08984=20
>
>
>Is there a way to have a value such as 3728.66 rather then just 3728?  I =
>tried to replace the values with decimal values and I got an error =
>saying there was no room for the surface data.
>
>Thanks,
>
>Eric
>
>
>
>  ----- Original Message -----=20
>  From: Eric Nguyen=20
>  To: address@hidden=20
>  Sent: Friday, December 31, 2004 1:51 AM
>  Subject: Plotting Research Data
>
>
>  I'm trying to duplicate the gem file you created using research =
>aircraft data.  Once I figure how that was done I can more easily =
>determine how to apply it to my situation.  My script is below.  From =
>what I read I think I run sfedit first which it is said that it will =
>look for a .tbl  file.  It doesn't really explain what will happen after =
>that.  I then ran sfcfil to create the gem file.  I basically run it and =
>a worthless gem file is output.  I'm curious if the tutorial you have =
>online has the script that was run to create the astex_1.gem file.
>
>  Thanks,
>
>  Eric
>
>  -------------------------------------
>  #!/bin/csh
>    source /home/nawips/Gemenviron
>
>  sfedit << EOF
>        SFEFIL   =3D astex_1.dat
>        SFFILE   =3D ACFT | base time
>    run
>
>  exit
>  EOF
>
>  sfcfil << EOF
>        SFOUTF   =3D mulvane.gem
>        SFPRMF   =3D
>        STNFIL   =3D /home/nguyen/gem/research/astex_1.tbl
>        SHIPFL   =3D NO
>        TIMSTN   =3D 1/0
>        SFFSRC   =3D TEXT
>    run
>
>  exit
>  EOF
>
>  gpend
>
>  exit
>  -----------------------------------
>------=_NextPart_000_000C_01C4EF79.425FC370
>Content-Type: text/html;
>       charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META http-equiv=3DContent-Type content=3D"text/html; =
>charset=3Diso-8859-1">
><META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
><STYLE></STYLE>
></HEAD>
><BODY bgColor=3D#ffffff>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>Actually, I've =
>finally figured it=20
>out.&nbsp; I'm able to plot the data now, however I ran into a small =
>problem=20
>that you can probably help me with.</FONT></DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>F0000000&nbsp; 99999 =
>ASTEX FLIGHT=20
>TRACK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
>bsp;&nbsp;&nbsp;=20
>-- AZ&nbsp; 3728&nbsp; -9713&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>F0000001&nbsp; =
>99999=20
>ASTEX FLIGHT=20
>TRACK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
>bsp;&nbsp;&nbsp;=20
>-- AZ&nbsp; 3728&nbsp; -9713&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>F0000002&nbsp; =
>99999=20
>ASTEX FLIGHT=20
>TRACK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
>bsp;&nbsp;&nbsp;=20
>-- AZ&nbsp; 3728&nbsp; -9713&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>F0000003&nbsp; =
>99999=20
>ASTEX FLIGHT=20
>TRACK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
>bsp;&nbsp;&nbsp;=20
>-- AZ&nbsp; 3728&nbsp; -9713&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>F0000004&nbsp; =
>99999=20
>ASTEX FLIGHT=20
>TRACK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
>bsp;&nbsp;&nbsp;=20
>-- AZ&nbsp; 3727&nbsp; -9712&nbsp;&nbsp;&nbsp;&nbsp; 0<BR></FONT></DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>Above is an example =
>of what I used=20
>to make the station ID's using my lat/lon data.&nbsp; I used the same =
>text=20
>format as your tutorial with the flight data.&nbsp; The data is =
>obviously close=20
>to each other and I would like to plot the Lat/Lon using the minutes and =
>seconds=20
>data.&nbsp; For example, the data below is the raw GPS =
>data:</FONT></DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>&nbsp;</DIV></FONT>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>
><TABLE style=3D"WIDTH: 195pt; BORDER-COLLAPSE: collapse" cellSpacing=3D0 =
>
>cellPadding=3D0 width=3D260 border=3D0 x:str>
>  <COLGROUP>
>  <COL style=3D"WIDTH: 50pt; mso-width-source: userset; mso-width-alt: =
>2450"=20
>  width=3D67>
>  <COL style=3D"WIDTH: 49pt; mso-width-source: userset; mso-width-alt: =
>2377"=20
>  width=3D65>
>  <COL style=3D"WIDTH: 49pt; mso-width-source: userset; mso-width-alt: =
>2377"=20
>  width=3D65>
>  <COL style=3D"WIDTH: 47pt; mso-width-source: userset; mso-width-alt: =
>2304"=20
>  width=3D63>
>  <TBODY>
>  <TR style=3D"HEIGHT: 12.75pt" height=3D17>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; WIDTH: 50pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 12.75pt; =
>BACKGROUND-COLOR: transparent"=20
>    align=3Dright width=3D67 height=3D17 x:num>
>      <DIV><FONT face=3DArial color=3D#808080 size=3D2>LAT </FONT></DIV>
>      <DIV><FONT face=3DArial color=3D#808080 =
>size=3D2>3728</FONT></DIV></TD>
>    <TD class=3Dxl23=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; WIDTH: 49pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: =
>transparent"=20
>    align=3Dright width=3D65 x:num=3D"0.66478999999999999">
>      <DIV><FONT face=3DArial color=3D#808080 size=3D2>LAT </FONT></DIV>
>      <DIV><FONT face=3DArial color=3D#808080 =
>size=3D2>0.66</FONT></DIV></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; WIDTH: 49pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: =
>transparent"=20
>    align=3Dright width=3D65 x:num>
>      <DIV><FONT face=3DArial color=3D#808080 size=3D2>LON </FONT></DIV>
>      <DIV><FONT face=3DArial color=3D#808080 =
>size=3D2>9713</FONT></DIV></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; WIDTH: 47pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: =
>transparent"=20
>    align=3Dright width=3D63 x:num=3D"0.93945000000000001"><FONT =
>face=3DArial=20
>      color=3D#808080 size=3D2>LON 0.93945</FONT></TD></TR>
>  <TR style=3D"HEIGHT: 12.75pt" height=3D17>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 12.75pt; BACKGROUND-COLOR: =
>transparent"=20
>    align=3Dright height=3D17 x:num><FONT face=3DArial color=3D#808080=20
>      size=3D2>3728</FONT></TD>
>    <TD class=3Dxl23=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num=3D"0.55981000000000003"><FONT face=3DArial =
>color=3D#808080=20
>      size=3D2>0.56</FONT></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num><FONT face=3DArial color=3D#808080 =
>size=3D2>9713</FONT></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num=3D"0.79979999999999996"><FONT face=3DArial =
>color=3D#808080=20
>      size=3D2>0.7998</FONT></TD></TR>
>  <TR style=3D"HEIGHT: 12.75pt" height=3D17>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 12.75pt; BACKGROUND-COLOR: =
>transparent"=20
>    align=3Dright height=3D17 x:num><FONT face=3DArial color=3D#808080=20
>      size=3D2>3728</FONT></TD>
>    <TD class=3Dxl23=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num=3D"0.43994"><FONT face=3DArial color=3D#808080=20
>      size=3D2>0.44</FONT></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num><FONT face=3DArial color=3D#808080 =
>size=3D2>9713</FONT></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num=3D"0.64941000000000004"><FONT face=3DArial =
>color=3D#808080=20
>      size=3D2>0.64941</FONT></TD></TR>
>  <TR style=3D"HEIGHT: 12.75pt" height=3D17>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 12.75pt; BACKGROUND-COLOR: =
>transparent"=20
>    align=3Dright height=3D17 x:num><FONT face=3DArial color=3D#808080=20
>      size=3D2>3728</FONT></TD>
>    <TD class=3Dxl23=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num=3D"4.5900000000000003E-2"><FONT face=3DArial =
>color=3D#808080=20
>      size=3D2>0.05</FONT></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num><FONT face=3DArial color=3D#808080 =
>size=3D2>9713</FONT></TD>
>    <TD class=3Dxl22=20
>    style=3D"BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: =
>#ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"=20
>    align=3Dright x:num=3D"8.9840000000000003E-2"><FONT face=3DArial =
>color=3D#808080=20
>      size=3D2>0.08984</FONT></TD></TR></TBODY></TABLE></FONT></DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>Is there a way to =
>have a value such=20
>as 3728.66 rather then just 3728?&nbsp; I tried to replace the values =
>with=20
>decimal values and I got an error saying there was no room for the =
>surface=20
>data.</FONT></DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>Thanks,</FONT></DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2>Eric</FONT></DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
><BLOCKQUOTE dir=3Dltr=20
>style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
>BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
>  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
>  <DIV=20
>  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
>black"><B>From:</B>=20
>  <A title=address@hidden=20
>  href=3D"mailto:address@hidden";>Eric Nguyen</A> </DIV>
>  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
>title=address@hidden=20
>  href=3D"mailto:address@hidden";>address@hidden</A> =
></DIV>
>  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, December 31, 2004 =
>1:51=20
>  AM</DIV>
>  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Plotting Research =
>Data</DIV>
>  <DIV><BR></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>I'm trying to =
>duplicate the gem=20
>  file you created using research aircraft data.&nbsp; Once I figure how =
>that=20
>  was done I can more easily determine how to apply it to my =
>situation.&nbsp; My=20
>  script is below.&nbsp; From what I read I think I run sfedit first =
>which it is=20
>  said that it will look for a .tbl&nbsp; file.&nbsp; It doesn't really =
>explain=20
>  what will happen after that.&nbsp; I then ran sfcfil to create the gem =
>
>  file.&nbsp; I basically run it and a worthless gem file is =
>output.&nbsp; I'm=20
>  curious if the tutorial you have online has the script that was run to =
>create=20
>  the astex_1.gem file.</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 =
>size=3D2>Thanks,</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>Eric</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080=20
>  size=3D2>-------------------------------------</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 =
>size=3D2>#!/bin/csh</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>&nbsp; source=20
>  /home/nawips/Gemenviron</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>sfedit &lt;&lt;=20
>  EOF<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SFEFIL&nbsp;&nbsp; =3D=20
>  astex_1.dat<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SFFILE&nbsp;&nbsp; =3D =
>ACFT | base=20
>  time<BR>&nbsp; run</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>exit</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>EOF</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>sfcfil &lt;&lt;=20
>  EOF<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SFOUTF&nbsp;&nbsp; =3D=20
>  mulvane.gem<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SFPRMF&nbsp;&nbsp;=20
>  =3D<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STNFIL&nbsp;&nbsp; =3D=20
>  =
>/home/nguyen/gem/research/astex_1.tbl<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
>  SHIPFL&nbsp;&nbsp; =3D NO<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
>TIMSTN&nbsp;&nbsp; =3D=20
>  1/0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SFFSRC&nbsp;&nbsp; =3D =
>TEXT<BR>&nbsp;=20
>  run</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>exit</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>EOF</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080 size=3D2>gpend</FONT></DIV>
>  <DIV><FONT face=3DVerdana color=3D#000080=20
>  =
>size=3D2><BR>exit<BR>-----------------------------------</FONT></DIV></BL=
>OCKQUOTE></BODY></HTML>
>
>------=_NextPart_000_000C_01C4EF79.425FC370--
>
--
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.