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.
>From: "Paul L. Sirvatka" <address@hidden> >Organization: College of DuPage >Keywords: 200102162013.f1GKD9L01250 McIDAS-X SFCCON GRDDISP Paul, >Thanks for that quick response. I have changed all the OUT=SAVE commands >to a NA map and it looks better. I found the problem in raobcon.pgm and sfccon.pgm that would cause a floating point exception and the image window to disappear. If you want to get a jump on the code mods that will be released in the next addendum, do the following: <login as 'mcidas'> cd mcidas7.7/src <edit sfccon.pgm and change (around line 1310): c --- completed successfully status = u0putftime( gfrm, jday1, time1 ) ! <<<<< UPC add 981201 >>>>> status = u0putcolor() ! <<<<< UPC add 20000602 >>>>> to: c --- completed successfully C..... Update frame contents IF plot was done ! <<<<< UPC add 20010304 >>>>> status = mccmdstr( 'OUT', 1, 'CON', parm1 ) if ( parm1 .ne. 'SAVE' ) then status = u0putftime( gfrm, jday1, time1 ) ! <<<<< UPC add 981201 >>>>> status = u0putcolor() ! <<<<< UPC add 20000602 >>>>> endif The exact same change must be made to raobcon.pgm (around line 1504): change: c --- completed successfully status = u0putftime( gfrm, jday1, time1 ) ! <<<<< UPC add 981201 >>>>> status = u0putcolor() ! <<<<< UPC add 20000602 >>>>> to: c --- completed successfully C..... Update frame contents IF plot was done ! <<<<< UPC add 20010304 >>>>> status = mccmdstr( 'OUT', 1, 'CON', parm1 ) if ( parm1 .ne. 'SAVE' ) then status = u0putftime( gfrm, jday1, time1 ) ! <<<<< UPC add 981201 >>>>> status = u0putcolor() ! <<<<< UPC add 20000602 >>>>> endif After making the editorial changes do: make sfccon.k raobcon.k rm ~/bin/sfccon.k ~/bin/raobcon.k ln sfccon.k raobcon.k ~/bin >I tried to do some VOrticity contouring from the upper air maps. Simple >things like RAOBCON ABV 500 USA. I would like it to look right and there >are some weird values. I have noticed that things like this will look correct when the projection specified in the original invocation are MERCator, but not when it is CONFormal. correct: RAOBCON ABV 500 USA PRO=MERC incorrect: RAOBCON ABV 500 USA PRO=CONF I don't know why this is the case, but I suspect that it is subtly related to the rewrite of MAP. This is another one of those things that I have to touch base with SSEC on. By the way, the default projection is set in MAP.CORE as a GLOBAL value. I sent out one addendum with this as PROJECTION= CONF, but, given a number of things, have reversed this to PROJECTION= MERC. You should make the corresponding change (if needed) in your ~mcidas/data/MAP.CORE file. >I am not sure how to even think about this. When I >plotted the values rather than the contours, I got some positive, some >negative and som weird exponentials. I was playing with POW keyword and >that did not help. I was getting nothing but the 0 lines plotted. Will the >CINT work with that? To answer the specific question here, yes CINT will work. The real answer, however, is if the original projection for the map was CONF, then the display of the objective analysis is incorrect, and I don't know if the CINT= setting will fix things (I suspect not). Tom