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.
Jimmy, I see that "2000" is hardcoded into snswnd.f for the maximum number of levels, so I'm assuming this has to be increased to 5000. If you still see crashes, then compile the code with "-g" turned on in the FFLAGS in the Makeinc.xxx file, and then use "where" in the debugger with the program executable and core file to track down the point where the program is walking off into space. Steve Chiswell Unidata User Support > [address@hidden - Tue Jan 04 10:25:43 2005]: > > Hi- > I have sounding data I am trying to plot in time series fashion. The > number of soundings I am trying to plot: 5 > levels per sounding: 5000 > number of soundings in file: ~300 > number of parameters: 9 > > I tried to increase the MSDSIZ parameter to 9,000,000 to account for the > large amount of data. The levels that can be handled has been increased to > 5000 in gemprm.h and GEMPRM.PRM and works in SNPROF. > > When I run sncross (and also sncross2 where I made the same changes) it > shows me the contour levels but then seg faults and core dumps. > This is shown below... > > Is there another parameter for memory that must change, or another > parameter for handling the number of levels in sncross? > Thanks for the help and happy new year. > jimmyc > > > GEMPAK-SNCROSS>l > CXSTNS = mob1 > SNPARM = thta > SNFILE = sound10.gem > DATTIM = 0052;0243;0403;0519;0556; > VCOORD = PRES > PTYPE = log > YAXIS = 1000/200/100/1;1;1; > TAXIS = > LINE = 1;1/1;2/5 > BORDER = 1 > CINT = 3 > WIND = bk1 > TITLE = 0 > PANEL = > DEVICE = xw > CLEAR = n > FILTER = 1 > TEXT = 1 > CURVE = 2 > CLRBAR = > CONTUR = 3 > FINT = 0;15;20;25;30;35;40;45;50;55;60;65;70;75; > FLINE = 0;0;5;21;23;20;17;18;2;14;15;29;30; > CTYPE = C > GEMPAK-SNCROSS>r > Creating process: xw for queue 771522565 > > SNCROSS PARAMETERS > > TIMES TOP LVL FOR TEMP TOP LVL FOR WIND > 030610/0052 97 99 > 030610/0243 136 139 > 030610/0403 149 150 > 030610/0519 447 775 > 030610/0556 278 278 > PARM: THTA > VCOORD: PRES > CLEAR: NO > STATION: MOB1 > > LEVELS: 297.00 300.00 303.00 306.00 309.00 312.00 > 315.00 > COLORS: 1 1 1 1 1 1 > 1 > LINTYP: 1 2 1 2 1 2 > 1 > LINWID: 5 5 5 5 5 5 > 5 > LABEL: 1 1 1 1 1 1 > 1 > > LEVELS: 318.00 321.00 324.00 327.00 330.00 333.00 > 336.00 > COLORS: 1 1 1 1 1 1 > 1 > LINTYP: 2 1 2 1 2 1 > 2 > LINWID: 5 5 5 5 5 5 > 5 > LABEL: 1 1 1 1 1 1 > 1 > > LEVELS: 339.00 > COLORS: 1 > LINTYP: 1 > LINWID: 5 > LABEL: 1 > Enter <cr> to accept parameters or type EXIT: > Segmentation fault (core dumped) > > > -- > James Correia Jr. > Ph.D. Candidate in Agricultural Meteorology > President (Dictator) of the ISU Graduate Meteorology Club > Dept. of Agronomy, Iowa State University > ********************************************* > Email: address@hidden > Phone: 515-294-5587 > Web: http://www.mesoscale.iastate.edu/jimmyc/ > ISU GMC: http://www.stuorg.iastate.edu/gmc/ > ********************************************* > "There is a difference between knowing the path and walking the path" > -"Morpheus" > > "Scientific theories are built to be used, but they must be mistrusted, > tested and improved." > -Balik and Frank > > >