NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[gembud] GEMPAK5.10.4 gd2img

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/topoimg/>

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=3Dmiss(miss(miss(mask(slt(topo,0),slt(luse,.5)),mask(0,slt(luse,.5)=
)
),sgt(topo,0)),1)

to

GFUNC=3Dtopo

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


DETAILS:

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


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: