Compilation error with code from ENVI Help [message #41940] |
Mon, 29 November 2004 18:24 |
Neil.Sims
Messages: 2 Registered: November 2004
|
Junior Member |
|
|
Hi
I'm getting a compilation error on a line of code and I wonder if
someone out there can help me with it.
As part of my code I add geographic coordinates to the header file
(before ENVI_SETUP_HEAD). The code I'm having trouble with is:
; Create the coordinates for the projection
; Set the pixel size and map tie point
ps1 = [1D/225, 1D/225]
mc1 = [0D, 0, 114.4, -9.8]
; Create the map information
map_info = envi_map_info_create (/geographic, mc=mc1, ps=ps1)
I get a compilation error on the "map_info = ......" line and I have
no idea why. I'm quite new to programming, and slowly becoming
acquainted with the alien logic required, but this code is copied
directly from the examples in ENVI Help!
Any help would be greatly appreciated.
Neil.
P.S. Thanks to Liam Gumley for assisting with an earlier query.
|
|
|