comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Compilation error with code from ENVI Help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Compilation error with code from ENVI Help [message #41940] Mon, 29 November 2004 18:24
Neil.Sims is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: connecting to a server to retrieve data (optimizing)
Next Topic: Canny Edge Detection

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:13:30 PDT 2025

Total time taken to generate the page: 0.00281 seconds