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.
Andy, See: http://www.unidata.ucar.edu/glimpse/gempak/4692 You likely won't have to change MAXGRIBSIZE in decode_grib.c since that is the size of a bulletin that is read. The other changes in gemprm.h and MCHPRM.* would be needed. You would want to do a complete "make distclean"from $NAWIPS to remove all files in $GEMLIB (they all heave to be recompiled for the new array sizes). I didn't find the product that interesting to change the defaults in GEMPAK. Steve Chiswell Unidata User Support >From: "Siffert, Andy" <address@hidden> >Organization: UCAR/Unidata >Keywords: 200202071630.g17GUox03390 > >I seem to be having problems creating a .gem file. The problem seems to be >that the Grids are to large for my gempak. > >dcgrib error: >[asiffert@kcalxmb1 temp]$ /usr/local/nawips/bin/linux/dcgrib2 -m 100000 >p06i_2002012812f006.gem < p06i_ 2002012812f006.grib >[32010] 020207/0757 [DC 3] Starting up. >[32010] 020207/0757 [DCGRIB -55] Grid too large 1121 x 881 [987601 > 400000] >[32010] 020207/0757 [DC 5] Normal termination. >[32010] 020207/0757 [DC 2] Number of bulletins read and processed: 0 >[32010] 020207/0757 [DC 6] Shutting down. > > >I've never had to recompile or change my gempak settings. So, I was >wondering if you have ever had to do this. >I think I have an idea how to do this, but I need some guidance. > >So, what I want to do is in change my: gemprm.h > >#define LLMXGD ( ?????? ) > /* Max # grid points */ >#define LLMDGG ( ?????? ) > > /* Max mem for intern grids */ >Change my MCHPRM.Linux > PARAMETER ( LLMXGD = ??????? ) >C! Max # grid points > >Change , >unidata/ldmbridge/dcgrib2/decode_grib.c -> MAXGRIBSIZE=????? > > >So, my questions is this correct, that these are the three things I need to >change. >If so, what should be my size if I want to view these files (Grid too large >1121 x 881 [987601 > 400000]) > >#define LLMXGD ( 400000 ) *WHY IS this to small if I'm only doing a >987601 type file. > /* Max # grid points */ >#define LLMDGG ( 2504000 ) > /* Max mem for intern grids */ >Current Settings > > >How do I recompile all the above after I make the changes? > >Thanks for all your help. >Can't wait to look at this data. >Andy > >**************************************** > Andy Siffert > Aquila Weather Desk > Research and Development > 1100 Walnut Street, Suite 3300 > Kansas City, MO 64106 > 816-527-1247 > Fax: 816-527-4247 >http://www.guaranteedweather.com >***************************************** >