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

Home » Public Forums » archive » Re: Need help with map projection conversion in ENVI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Need help with map projection conversion in ENVI [message #74521 is a reply to message #74520] Sun, 23 January 2011 17:08 Go to previous messageGo to previous message
Robin Wilson is currently offline  Robin Wilson
Messages: 40
Registered: August 2010
Member
> I've been going back and forth on this with no success. Any
> suggestions would be most welcome.

This could well be a bit of a long shot...but I noticed that the output
filename was not defined properly in the code you gave. You had the code:

oname=/temp.img'

As far as I can see there may be two things wrong with that:

1) It needs a ' at the beginning to make it a valid string (although the
compiler will probably catch that, so I guess that's a typo when copying
to the newsgroup

2) A filename of "/temp.img" on a Linux/Unix/OS X machine may well not
be able to be written to, as you are unlikely to have write access to
the root of the root filesystem.

ENVI_FILE_OPEN will give an rfid of -1 if it couldn't open the file, so
if the file hadn't been written properly in the first place then that
might explain why.

It's just a crazy idea...but it can often be the simplest things that
cause the major problems (I know I've done this before).

Cheers,

Robin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: listing all subroutines and paths used in a program.
Next Topic: How to speed up or remove this FOR loop

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

Current Time: Sun Oct 12 16:35:27 PDT 2025

Total time taken to generate the page: 0.39764 seconds