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

20000414: Hodo command in McIdas messes up map drawing



>From: Gilbert Sebenste <address@hidden>
>Organization: NIU
>Keywords: 200004141903.NAA13692 McIDAS-X 7.60 HODO BATCH

Gilbert,

>Found a bug, I believe, in the HODO program.
>
>Until the College of DuPage weather computers get back on their feet, I
>am making a bunch of images for them. I am now running their batch files,
>including one which make a bunch of hodographs using the HODO command.
>
>After it makes all the images, any images from satellite, surface, or
>upper air data have tons of errors from the "MAP" program stating that it:
>
>MAP: Invalid Dash Length.
>MAP: First DASHSET IS TOO SMALL ---> 0
>MAP: Must be valid "DASH LENGTH" integer value within range 1 thru 64.
>MAP:
>MAP: failed, rc=255.
>
>?????? Ya got me.

Can you send me the BATCH file or script that you are running when this
problem occurs?  It sounds like graphics are not being bound off
correctly in HODO, but I need to be able to run a script that "reliably"
fails (:-) to make sure.

Thanks.
Tom

>From address@hidden  Tue Apr 18 09:12:34 2000
>To: Gilbert Sebenste <address@hidden>
>Subject: 20000418: Hodo command in McIdas messes up map drawing (cont.)

Gilbert,

Even though I havn't yet spotted the reason the dash line parameters
are getting set to 0 after you run your HODOMAKE.BAT script (and they
shouldn't be), I can tell you how to modify the script so that you
won't get the MAP errors after the script ends.  Simply add the
following command as the last line of HODOMAKE.BAT:

GD INI

The GD command is used to set things like default line width and dash
pattern lengths.  The 'INI' positional parameter says to return all
of those values to their start up values.

Here is the online HELP for GD:

HELP GD
GD -- Sets graphics display parameters
  GD INI
  GD width dlength gcolor glength
Parameters:
  INI     | initializes the graphics parameters to their logon values
  width   | graphics line width in pixels; range 1-64 (def=last value set;
            at logon it is set to 1)
  dlength | pixel length of dashes in lines; range 0-64 (def=last value
            set; at logon it is set to 10)
  gcolor  | graphics color level of gaps in dashed lines (def=last
            value set; at logon it is set to 255, transparent)
  glength | pixel length of gaps in dashed lines; range 0-64 (def=last
            value set; at logon it is set to 10)
Remark:
  Enter GD with no parameters to list the current graphics settings.
Example:
  GD 3 5 3 5
  Sets the line width to 3 pixels; sets the length of dashes and gaps in
  the dashed lines to 5 pixels; sets the color of the gaps to color
  level 3.
----------


REM
REM HODOMAKE.BAT - Begin
REM

SF 1
EG 1
EG I 1
HODO KABR X X GRA=1
ZA 3 X L POS=8 180 "KABR 
SVGIF 1 /home/httpd/html/codgifs/hodos/abrhodo.GIF

HODO KALB X X GRA=1
ZA 3 X L POS=8 180 "KALB 
SVGIF 1 /home/httpd/html/codgifs/hodos/albhodo.GIF

HODO KABQ X X GRA=1
ZA 3 X L POS=8 180 "KABQ 
SVGIF 1 /home/httpd/html/codgifs/hodos/abqhodo.GIF

HODO KAMA X X GRA=1
ZA 3 X L POS=8 180 "KAMA 
SVGIF 1 /home/httpd/html/codgifs/hodos/amahodo.GIF

HODO KBIS X X GRA=1
ZA 3 X L POS=8 180 "KBIS 
SVGIF 1 /home/httpd/html/codgifs/hodos/bishodo.GIF

HODO KBOI X X GRA=1
ZA 3 X L POS=8 180 "KBOI 
SVGIF 1 /home/httpd/html/codgifs/hodos/boihodo.GIF

HODO KBRO X X GRA=1
ZA 3 X L POS=8 180 "KBRO 
SVGIF 1 /home/httpd/html/codgifs/hodos/brohodo.GIF

HODO KBUF X X GRA=1
ZA 3 X L POS=8 180 "KBUF 
SVGIF 1 /home/httpd/html/codgifs/hodos/bufhodo.GIF

HODO KCAR X X GRA=1
ZA 3 X L POS=8 180 "KCAR 
SVGIF 1 /home/httpd/html/codgifs/hodos/carhodo.GIF

HODO 74560 X X GRA=1
ZA 3 X L POS=8 180 "KILX 
SVGIF 1 /home/httpd/html/codgifs/hodos/ilxhodo.GIF

HODO KCHS X X GRA=1
ZA 3 X L POS=8 180 "KCHS 
SVGIF 1 /home/httpd/html/codgifs/hodos/chshodo.GIF

HODO 72649 X X GRA=1
ZA 3 X L POS=8 180 "KMPX 
SVGIF 1 /home/httpd/html/codgifs/hodos/mpxhodo.GIF

HODO KCHH X X GRA=1
ZA 3 X L POS=8 180 "KCHH 
SVGIF 1 /home/httpd/html/codgifs/hodos/chhhodo.GIF

HODO KCRP X X GRA=1
ZA 3 X L POS=8 180 "KCRP 
SVGIF 1 /home/httpd/html/codgifs/hodos/crphodo.GIF

HODO KDRT X X GRA=1
ZA 3 X L POS=8 180 "KDRT 
SVGIF 1 /home/httpd/html/codgifs/hodos/drthodo.GIF

HODO KDNR X X GRA=1
ZA 3 X L POS=8 180 "KDNR 
SVGIF 1 /home/httpd/html/codgifs/hodos/dnrhodo.GIF

HODO KDRA X X GRA=1
ZA 3 X L POS=8 180 "KDRA 
SVGIF 1 /home/httpd/html/codgifs/hodos/drahodo.GIF

HODO KDDC X X GRA=1
ZA 3 X L POS=8 180 "KDDC 
SVGIF 1 /home/httpd/html/codgifs/hodos/ddchodo.GIF

HODO KEKO X X GRA=1
ZA 3 X L POS=8 180 "KEKO 
SVGIF 1 /home/httpd/html/codgifs/hodos/ekohodo.GIF

HODO KEPZ X X GRA=1
ZA 3 X L POS=8 180 "KEPZ 
SVGIF 1 /home/httpd/html/codgifs/hodos/epzhodo.GIF

HODO 72376 X X GRA=1
ZA 3 X L POS=8 180 "KFSX 
SVGIF 1 /home/httpd/html/codgifs/hodos/fsxhodo.GIF

HODO KFWD X X GRA=1
ZA 3 X L POS=8 180 "KFWD 
SVGIF 1 /home/httpd/html/codgifs/hodos/fwdhodo.GIF

HODO 72634 X X GRA=1
ZA 3 X L POS=8 180 "KAPX 
SVGIF 1 /home/httpd/html/codgifs/hodos/apxhodo.GIF

HODO KGGW X X GRA=1
ZA 3 X L POS=8 180 "KGGW 
SVGIF 1 /home/httpd/html/codgifs/hodos/ggwhodo.GIF

HODO KGJT X X GRA=1
ZA 3 X L POS=8 180 "KGJT 
SVGIF 1 /home/httpd/html/codgifs/hodos/gjthodo.GIF

HODO 74389 X X GRA=1
ZA 3 X L POS=8 180 "KGYX 
SVGIF 1 /home/httpd/html/codgifs/hodos/gyxhodo.GIF

HODO KTFX X X GRA=1
ZA 3 X L POS=8 180 "KTFX 
SVGIF 1 /home/httpd/html/codgifs/hodos/tfxhodo.GIF

HODO KGRB X X GRA=1
ZA 3 X L POS=8 180 "KGRB 
SVGIF 1 /home/httpd/html/codgifs/hodos/grbhodo.GIF

HODO KGSO X X GRA=1
ZA 3 X L POS=8 180 "KGSO 
SVGIF 1 /home/httpd/html/codgifs/hodos/gsohodo.GIF

HODO KINL X X GRA=1
ZA 3 X L POS=8 180 "KINL 
SVGIF 1 /home/httpd/html/codgifs/hodos/inlhodo.GIF

HODO KJAN X X GRA=1
ZA 3 X L POS=8 180 "KJAN 
SVGIF 1 /home/httpd/html/codgifs/hodos/janhodo.GIF

HODO KJAX X X GRA=1
ZA 3 X L POS=8 180 "KJAX 
SVGIF 1 /home/httpd/html/codgifs/hodos/jaxhodo.GIF

HODO KEYW X X GRA=1
ZA 3 X L POS=8 180 "KEYW 
SVGIF 1 /home/httpd/html/codgifs/hodos/eywhodo.GIF

HODO KLCH X X GRA=1
ZA 3 X L POS=8 180 "KLCH 
SVGIF 1 /home/httpd/html/codgifs/hodos/lchhodo.GIF

HODO KLIT X X GRA=1
ZA 3 X L POS=8 180 "KLIT 
SVGIF 1 /home/httpd/html/codgifs/hodos/lithodo.GIF

HODO KLZK X X GRA=1
ZA 3 X L POS=8 180 "KLZK 
SVGIF 1 /home/httpd/html/codgifs/hodos/lzkhodo.GIF

HODO KMFR X X GRA=1
ZA 3 X L POS=8 180 "KMFR 
SVGIF 1 /home/httpd/html/codgifs/hodos/mfrhodo.GIF

HODO KMIA X X GRA=1
ZA 3 X L POS=8 180 "KMIA 
SVGIF 1 /home/httpd/html/codgifs/hodos/miahodo.GIF

HODO KMAF X X GRA=1
ZA 3 X L POS=8 180 "KMAF 
SVGIF 1 /home/httpd/html/codgifs/hodos/mafhodo.GIF

HODO KBNA X X GRA=1
ZA 3 X L POS=8 180 "KBNA 
SVGIF 1 /home/httpd/html/codgifs/hodos/bnahodo.GIF

HODO KMHX X X GRA=1
ZA 3 X L POS=8 180 "KMHX 
SVGIF 1 /home/httpd/html/codgifs/hodos/mhxhodo.GIF

HODO KOUN X X GRA=1
ZA 3 X L POS=8 180 "KOUN 
SVGIF 1 /home/httpd/html/codgifs/hodos/ounhodo.GIF

HODO KGEG X X GRA=1
ZA 3 X L POS=8 180 "KGEG 
SVGIF 1 /home/httpd/html/codgifs/hodos/geghodo.GIF

HODO KLBF X X GRA=1
ZA 3 X L POS=8 180 "KLBF 
SVGIF 1 /home/httpd/html/codgifs/hodos/lbfhodo.GIF

HODO KOAK X X GRA=1
ZA 3 X L POS=8 180 "KOAK 
SVGIF 1 /home/httpd/html/codgifs/hodos/oakhodo.GIF

HODO KFFC X X GRA=1
ZA 3 X L POS=8 180 "KFFC 
SVGIF 1 /home/httpd/html/codgifs/hodos/ffchodo.GIF

HODO KPBZ X X GRA=1
ZA 3 X L POS=8 180 "KPBZ 
SVGIF 1 /home/httpd/html/codgifs/hodos/pbzhodo.GIF

HODO KPIT X X GRA=1
ZA 3 X L POS=8 180 "KPIT 
SVGIF 1 /home/httpd/html/codgifs/hodos/pithodo.GIF

HODO KDVN X X GRA=1
ZA 3 X L POS=8 180 "KDVN 
SVGIF 1 /home/httpd/html/codgifs/hodos/dvnhodo.GIF

HODO KUIL X X GRA=1
ZA 3 X L POS=8 180 "KUIL 
SVGIF 1 /home/httpd/html/codgifs/hodos/uilhodo.GIF

HODO 72489 X X GRA=1
ZA 3 X L POS=8 180 "KREV 
SVGIF 1 /home/httpd/html/codgifs/hodos/revhodo.GIF

HODO KRIW X X GRA=1
ZA 3 X L POS=8 180 "KRIW 
SVGIF 1 /home/httpd/html/codgifs/hodos/riwhodo.GIF

HODO KSLE X X GRA=1
ZA 3 X L POS=8 180 "KSLE 
SVGIF 1 /home/httpd/html/codgifs/hodos/slehodo.GIF

HODO KSLC X X GRA=1
ZA 3 X L POS=8 180 "KSLC 
SVGIF 1 /home/httpd/html/codgifs/hodos/slchodo.GIF

HODO KMYF X X GRA=1
ZA 3 X L POS=8 180 "KMYF 
SVGIF 1 /home/httpd/html/codgifs/hodos/myfhodo.GIF

HODO TJSJ X X GRA=1
ZA 3 X L POS=8 180 "TJSJ 
SVGIF 1 /home/httpd/html/codgifs/hodos/jsjhodo.GIF

HODO KSHV X X GRA=1
ZA 3 X L POS=8 180 "KSHV 
SVGIF 1 /home/httpd/html/codgifs/hodos/shvhodo.GIF

HODO KSGF X X GRA=1
ZA 3 X L POS=8 180 "KSGF 
SVGIF 1 /home/httpd/html/codgifs/hodos/sgfhodo.GIF

HODO KIAD X X GRA=1
ZA 3 X L POS=8 180 "KIAD 
SVGIF 1 /home/httpd/html/codgifs/hodos/iadhodo.GIF

HODO KTLH X X GRA=1
ZA 3 X L POS=8 180 "KTLH 
SVGIF 1 /home/httpd/html/codgifs/hodos/tlhhodo.GIF

HODO KTBW X X GRA=1
ZA 3 X L POS=8 180 "KTBW 
SVGIF 1 /home/httpd/html/codgifs/hodos/tbwhodo.GIF

HODO KTOP X X GRA=1
ZA 3 X L POS=8 180 "KTOP 
SVGIF 1 /home/httpd/html/codgifs/hodos/tophodo.GIF

HODO KTUS X X GRA=1
ZA 3 X L POS=8 180 "KTUS 
SVGIF 1 /home/httpd/html/codgifs/hodos/tushodo.GIF

HODO KOAX X X GRA=1
ZA 3 X L POS=8 180 "KOAX 
SVGIF 1 /home/httpd/html/codgifs/hodos/oaxhodo.GIF

HODO 72632 X X GRA=1
ZA 3 X L POS=8 180 "KDTX 
SVGIF 1 /home/httpd/html/codgifs/hodos/dtxhodo.GIF

HODO 72426 X X GRA=1
ZA 3 X L POS=8 180 "KILN 
SVGIF 1 /home/httpd/html/codgifs/hodos/ilnhodo.GIF

HODO KWAL X X GRA=1
ZA 3 X L POS=8 180 "KWAL 
SVGIF 1 /home/httpd/html/codgifs/hodos/walhodo.GIF

HODO KVBG X X GRA=1
ZA 3 X L POS=8 180 "KVBG 
SVGIF 1 /home/httpd/html/codgifs/hodos/vbghodo.GIF

HODO KXMR X X GRA=1
ZA 3 X L POS=8 180 "KXMR 
SVGIF 1 /home/httpd/html/codgifs/hodos/xmrhodo.GIF

REM HODO KUNR X X GRA=1
REM ZA 3 X L POS=8 180 "KUNR
REM SVGIF 1 /home/httpd/html/codgifs/hodos/unrhodo.GIF

REM HODO KLKN X X GRA=1
REM ZA 3 X L POS=8 180 "KLKN 
REM SVGIF 1 /home/httpd/html/codgifs/hodos/lknhodo.GIF
EG I 1 17
EG 1 17

REM
REM Reset graphics parameters back to login values
REM

GD INI

REM HODAMAKE.BAT - End

Tom