[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990212: McIDAS-X 7.40 - Gridplot cmd in PANels



>From: address@hidden
>Organization: SMSU
>Keywords: 199902121845.LAA13194 McIDAS-X 7.40 GRIDPLOT PANEL

Bill,

>In my newly installed and running mcidas 7.4, we're getting some
>odd results from GRIDPLOT.  These (old) batch files attempt to map
>various items from the ETA grids...been doing that for perhaps a year.

OK, but some things have changed in 7.40 which might require that you
modify your BATCH script(s).

>Now, a couple of the the commands supply error messages, and a few
>fail... most most invocations work.  
>
>Batch file invocation:
>
>GRIDPLOT PCP SFC #?PINT USA #?TIME X 30 GRIDF=#?GR2 GRA=1 PAN=1 COLOR=3 
>UNIT=IN
>
>As mcidas interprets it:
>
>GRIDPLOT PCP SFC .2 USA 12 X 30 GRIDF=5043 GRA=1 PAN=1 COLOR=3 UNIT=IN
> --BEGIN CONTOURS
>STRING FOR CONTOURS NOT FOUND .2
>IGTV: Program called abort

The comment that STRING FOR CONTOURS NOT FOUND message indicates that
the string table is lacking a definition for the string ?PINT.  Check
this with TL and redefine it using TE if necessary.

>And here's one that natters at me but seems to work:
>GRIDPLOT T SFC 5 USA #?TIME X 30 GRIDF=#?GR2 GRA=1 PAN=1 COLOR=3 UNIT=F 
>DASH=NEG
>(Pine wrapped that line above, but it's not wrapped in the file.)

Here is a red flag.  One of the bit things that changed in 7.4 is
panelization.  In 7.1, panels were simply 1/4 sections of a full screen.
In 7.40, one can panelize a frame into NxM mini-frames (or panels).
This is undoubtedly where your old code is failing.

> Erased image frame(s) 1-1, panel(s) 1-4

Is the frame panelized at this point (i.e. do you see 4 small panels
in the frame)?

>GRIDPLOT T SFC 5 USA 12 X 30 GRIDF=5043 GRA=1 PAN=1 COLOR=3 UNIT=F DASH=NEG
>GRIDPLOT: WARNING: IGTV command line truncated
>GRIDPLOT: WARNING: Unexpected results likely!

This warning is probably be something you can ignore.

>GRIDPLOT: IGTV 136 5 DEF COLOR=3 DASH=NEG PRO=CONF LAT=20.83 49.88 
>LON=78.02 137
>GRIDPLOT: .97 SLON=105.00 LSIZE=6 UNIT=F VDEV=YES LIN=15 330 ELE=16 484 
>GRIDF=50
>GRIDPLOT: 43 CMAP=8 GRA=1 IMA=
> --BEGIN CONTOURS
> --END CONTOURS
>GRIDPLOT: DONE
> 
>Looking at your online documentation, it doesn't look like GRIDPLOT has
>changed functionality or syntax.

It hasn't, but frame panelization has changed.

I just did the following which worked:

SF 1
PANEL 2 2 1
GRIDPLOT T SFC 5 USA 12 X 30 GRIDF=5043 GRA=1 PAN=1 COLOR=3 UNIT=F DASH=NEG

>Your thoughts are eagerly solicited.

Try running my mod of your example and see if it doesn't do what you want.
You will then have to adjust your BATCH script accordingly.

>Bill

Tom