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.
Brian, I'll look at this using some of the acars observations that I have. I do convert those from NetCDF to GEMPAK. Steve Chiswell Unidata User SUpport > Hi Steve, > > Thanks for the help with the margins! > > No, I have not converted the flight observations to GEMPAK > before, though it shouldn't be too hard if I have a sample > surface file to use as a template. The aircraft data have height > values and (I believe) pressure values also. I can get a sample > of the data to you if you like. > > Brian > > On Apr 6, 2007, at 3:47 PM, Unidata GEMPAK Support wrote: > > > Brian, > > > > It is possible to set the margins to zero in PTYPE, eg: > > PTYPE = log//0;0;0;0 > > In fact, setting common margins is necessary to do things such > > as overlay the gdross output on level2 RHI plots from nexr2rhi. > > > > I was considering a modified version of gdcross to input a file that > > would provide the track locations and plot those point locations. > > Either as a surface format file where PRES or HGHT would be stored in > > a variable, or an upperair format file.In the past I have used > > a ship file for aircraft data to store the large numbers of in-situ > > observations. > > > > You mentioned that your data was in NetCDF. Have you converted the > > flight observations to GEMPAK values at any point in the past? > > > > Steve Chiswell > > Unidata User Support > > > > > >> Hi Steve, > >> > >> I have calculated the relative x;y screen locations for the cross > >> section, and as a test, I used GPANOT to plot an "x" at location > >> .5;.5 which should be the center of the plot. The "x" does get > >> plotted, but the location is relative to the edges of the window, and > >> not the edges of the plotted data, thus title and line labels can > >> affect the location of the "x" within the data area. I am able to > >> suppress nearly all the labels, except for the tick marks and the > >> lat,lon endpoint text at the bottom corners of the cross section, but > >> the plot still has some margin between the edge of the window and > >> the data area. Is there a way to force the data area to cover the > >> entire window? > >> > >> Brian > >> > >> On Apr 4, 2007, at 4:10 PM, Unidata GEMPAK Support wrote: > >> > >>> Brian, > >>> > >>> The cross section plots are x/y "graph" mode plots and not > >>> lat/lon "map" mode plots, so gpanot will not be able to convert > >>> lat/lon into axis locations to overlay on gdcross output. > >>> > >>> You could calculate x/y screen locations based on cross section > >>> relative locations (eg calculating a normalized 0,1 distance of > >>> an aircraft lat/lon from the cross section cxstns location > >>> and then plot those locations versus a scaled height, but can't be > >>> done automatically at this time given the tools at hand. > >>> > >>> Are your aircraft locations in a GEMPAK surface data file? > >>> > >>> Steve Chiswell > >>> Unidata User Support > >>> > >>> > >>>> Hi Steve! > >>>> > >>>> I was wondering if there is a way to plot an annotation > >>>> on a cross section. I've used GDCROSS to create a > >>>> cross section of model data, and would like to super- > >>>> impose an aircraft track onto it. I have lat, lon, alt for > >>>> the aircraft data, and the cross section is height based. > >>>> > >>>> I thought of using GPANOT, but I'm not sure if it was > >>>> designed to be used with cross sections. The LOCI > >>>> parameter allows for lat, lon but not alt. > >>>> > >>>> Do you know of a way to do this? > >>>> > >>>> > >>>> Brian Jamison > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> Ticket Details > >>> =================== > >>> Ticket ID: PGI-541511 > >>> Department: Support GEMPAK > >>> Priority: Normal > >>> Status: Closed > >>> > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: PGI-541511 > > Department: Support GEMPAK > > Priority: Normal > > Status: Closed > > > > Ticket Details =================== Ticket ID: PGI-541511 Department: Support GEMPAK Priority: Normal Status: Closed