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.
Dorothy, Your grid size is only 96673 points. The defaults I provide for GEMPAK allow 400,000 plotted points (and 750,000 total points). Since you have GEMPAK 5.7.2 that is the version to use over an older 5.6 version. The panel issue with the clear between drawing the box and plotting the data is a known problem with gdcntr: http://my.unidata.ucar.edu/content/support/help/MailArchives/gempak/msg03598.html The solution is to use gdplot2 instead since it does not have the problem when using the PANEL option to draw boxes around the plot area. Gdplot2 has all the functionality of gdcntr, plus that of gdwind, gdmap, and gdstream, so its the most general way to go. Deleting grids can't reduce the size of a file since the space is already allocated. To make smaller files, you could create a new one with gdcfil and copy over the desired grids with gdmod, but this isn't necessary to accomplish your goal of getting the box around the plot without having clear being called. Steve Chiswell Unidata User Support >Hi Dororthy, > >I am forwarding your email to our developers who handle support-related >questions. > >Cheers, >Jen > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~ >Jennifer Oxelson Unidata >303-497-8123 Web Developer/Administrat > or >address@hidden http://my.unidata.ucar.ed > u > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~ > > > > >On Wed, 27 Oct 2004, Dorothy Durnford wrote: > >> Hi, >> >> I'm trying to plot NARR (North America regional reanalysis) >> fields. They come in grid files containing space for 9000 grids. I >> usually work with gempak 5.6, but it crashes with these huge files. I >> can use gempak 5.7.2 with these files, but I'm having a problem with >> gdcntr. When I plot a page with multiple panels, the first panel's >> outline box appears, the page clears, then the first panel's plot >> appears, followed by the other panels' plots plus boxes. Is this a bug >> in v. 5.7.2? So, I tried deleting grids from the huge file, to make it >> a manageable size for v. 5.6 to handle. Deleting grids didn't reduce >> the size of the file. I then used gdcfil to create my own grid file, to >> which I could copy grids. I copied the navigation info that gdinfo >> provides re the huge file. It follows: >> >> GRID NAVIGATION: >> PROJECTION: LCC >> ANGLES: 50.0 -107.0 50.0 >> GRID SIZE: 349 277 >> LL CORNER: 1.00 -145.50 >> UR CORNER: 46.35 -2.57 >> >> GRID ANALYSIS BLOCK: >> ANALYSIS TYPE: BARNES >> DELTAN: 4.000 >> DELTAX: -9999.000 >> DELTAY: -9999.000 >> GRID AREA: 0.00 -180.00 86.00 180.00 >> EXTEND AREA: 0.00 -180.00 86.00 180.00 >> DATA AREA: 0.00 -180.00 86.00 180.00 >> >> I used these values in gdcfil, with anlyss=4/0;0;0;0. Gdinfo tells me >> that the new grid's navigation info is identical to that of the huge >> file. But, when I try to copy a grid to the new file, gdmod tells me >> that there are differences in the navigations of the two files. Why is >> this? How can I get these grids into a smaller file? >> >> Thanks, Dorothy >> >> >> > -- 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.