[gembud] GEMPAK5.10.4 gd2img

Stephen Sinnis ssinnis at pelmorex.com
Tue Nov 6 07:56:02 MST 2007


Does anyone know what the limitations are for KXKY for gd2img?

Following the examples for producing a nice Topographical Image,
everything is fine:
<http://www.unidata.ucar.edu/software/gempak/examples/image_to_grid/topo
img/>

We had success producing 1km landuse and basemap grids, by following the
instructions to download the higher resolution world files
<http://glcf.umiacs.umd.edu/data/landcover/data.shtml>.

However, I can only get part of North America successfully turned into
an image.  As I expand the GRDAREA in GD2IMG, I eventually get an error
"dgc_grid failed -7".

I have found the note from 28 SEP 2007 concerning the "**" pushed to
column 73 and verified that I have the latest imgm2gi.f and gd2img, (Re:
[gembud] nex2gini navigation errors in GEMPAK).

What is interesting is that if I change the GFUNC from

GFUNC=miss(miss(miss(mask(slt(topo,0),slt(luse,.5)),mask(0,slt(luse,.5))
),sgt(topo,0)),1)

to 

GFUNC=topo

at the larger GRDAREA, then we successfully get an image, but no lakes.


DETAILS:

 GEMPAK-GD2IMG>l
 GDATTIM  = last
 GDFILE   = nam_basemap.gem
 GLEVEL   = 0
 GVCORD   = none
 GFUNC    =
miss(miss(miss(mask(slt(topo,0),slt(luse,.5)),mask(0,slt(luse,.5))),sgt(
topo,0)),1)
 SCALE    = 0
 PROJ     = str/90;-97;0
 GRDAREA  = 41;-120;58;-14
 KXKY     = 1002;825
 CPYFIL   =  
 SATFIL   = nam_basemap.gini
 CALINFO  = 99/3/TOPO,0,7,-8103,0;8,95,0,4700
 WMOHDR   = TICZ99/CHIZ/
 GEMPAK-GD2IMG>r
dgc_grid failed -7
 Parameters requested:
GDATTIM,GDFILE,GLEVEL,GVCORD,GFUNC,SCALE,PROJ,GRDAREA,
 KXKY,CPYFIL,SATFIL,CALINFO,WMOHDR.
 GEMPAK-GD2IMG>

whereas, successful with:

 GEMPAK-GD2IMG>l
 GDATTIM  = last
 GDFILE   = nam_basemap.gem
 GLEVEL   = 0
 GVCORD   = none
 GFUNC    = topo
 SCALE    = 0
 PROJ     = str/90;-97;0
 GRDAREA  = 41;-120;58;-14
 KXKY     = 1002;825
 CPYFIL   =  
 SATFIL   = nam_basemap.gini
 CALINFO  = 99/3/TOPO,0,7,-8103,0;8,95,0,4700
 WMOHDR   = TICZ99/CHIZ/
 GEMPAK-GD2IMG>r
 Parameters requested:
GDATTIM,GDFILE,GLEVEL,GVCORD,GFUNC,SCALE,PROJ,GRDAREA,
 KXKY,CPYFIL,SATFIL,CALINFO,WMOHDR.

uname -a
Linux gempak3.testdev.pelmorex.com 2.6.18-1.2200.fc5 #1 Sat Oct 14
16:59:26 EDT 2006 i686 i686 i386 GNU/Linux

Stephen Sinnis
Pelmorex Media Inc
T. 905.829.1159 x1379
F. 905.829.5800 


More information about the gembud mailing list