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

Home » Public Forums » archive » idl
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
idl [message #296] Tue, 25 February 1992 07:07 Go to next message
terrie is currently offline  terrie
Messages: 1
Registered: February 1992
Junior Member
Hi,


I am trying to call a fortran subroutine from IDL using the call_external function. I am running on a SUN 4/390 f77 version 1.3.1, SUNOS 4.1.1. I have followed the instructions for creating a shareable library as described in the IDL manual. However when I issue the command from the IDL prompt:

iret=call_external('fcode.so','_test_')

I get the error message:

ld.so: call to undefined procedure _s_wsle from 0xf????????

Note that fcode.so is the shareable library file I just created and test is the name of my subroutine.

I have determined that _s_wsle is in the F77 library. I have successfully compiled fortran code on our machine before so I'm not sure if the problem is caused by IDL or SUNOS. I have been successful in using the call_external function to call a "c" version of test using similar steps. Has anyone e
experienced this problem??? If so were you able to correct the problem? I have contacted SUN regarding this situation and they are sending me patches for the operating system for ld.so, ldconfig, ldd, and whole host of related patches. I understand that the IDL folks do not have fortran on their SUN's so if any one has tried this please drop me a line.


Thanks,

Greg Terrie
e-mail: terrie@merl.noarl.navy.mil
tele: (601)-688-4549
Re: IDL [message #2008 is a reply to message #296] Fri, 13 May 1994 09:26 Go to previous messageGo to next message
neri is currently offline  neri
Messages: 3
Registered: May 1993
Junior Member
In article <2quej9$afq@news.bu.edu> anders@uss-enterprise.bu.edu (Anders M Jorgensen) writes:
> [ Article crossposted from sci.astro.research ]
> [ Author was Luca Fini ]
> [ Posted on 12 May 1994 10:02:50 -0500 ]
>
>
> Now we are going to make a major upgrade of uor network of SparcStations,
> we are moving form SunOS4.1.1 to Solaris 2.3.
> Looking around to find new versions of the licenced pakages we have
> (Autocad, Matlab, and others) we have experienced pretty good interactions
> with vendors: all of them will provide the new versions of their packages
> at special "upgrade" prices (we usually have not software maintenance
> contracts), *EXCEPT* for IDL. They simply want to sell us a new package
> from scratch.
>
> My question is: is this a problem due to the Italian reseller, or is it a
> general policy of RSI ?
>

My experience has been otherwise. Get on maintenance, ($400 US) and its
done. They even let me trade in an old PDP-11 IDL license for
substantial credit when I purchased my workstation version. It sounds
like the local reseller is trying to fund his retirement off of you.



--
Jess Neri neri@hobbes.nrl.navy.mil (202) 404-7567 # # ## #
Pulsed Power Physics Branch, Plasma Physics Division ## # # # #
Naval Research Laboratory, Washington DC 20375 # ## ## #
######### Nuts Running Loose ################# # # # # ###
Re: IDL [message #2009 is a reply to message #296] Fri, 13 May 1994 10:00 Go to previous messageGo to next message
geomagic is currently offline  geomagic
Messages: 22
Registered: November 1993
Junior Member
In article <2quej9$afq@news.bu.edu> anders@uss-enterprise.bu.edu (Anders M Jorgensen) writes:

[ Article crossposted from sci.astro.research ]
[ Author was Luca Fini ]
[ Posted on 12 May 1994 10:02:50 -0500 ]

[although somewhat on the fringe of the charter, since IDL is a
rather popular analysis package used by astronomers, maybe one
of us knows the answer to this question - mod.]

> This is not a post about science. Sometimes we have to go down to
> dirty jobs...
>
> Now we are going to make a major upgrade of uor network of SparcStations,
> we are moving form SunOS4.1.1 to Solaris 2.3.
> Looking around to find new versions of the licenced pakages we have
> (Autocad, Matlab, and others) we have experienced pretty good interactions
> with vendors: all of them will provide the new versions of their packages
> at special "upgrade" prices (we usually have not software maintenance
> contracts), *EXCEPT* for IDL. They simply want to sell us a new package
> from scratch.
>
> My question is: is this a problem due to the Italian reseller, or is it a
> general policy of RSI ?

Are you simply upgrading the operating system on existing hardward? If yes,
then, at worst, all you need to do is pay the $250/license version
upgrade fee to obtain a version of IDL that supports Solaris. If you
are upgrading the hardware it's possible that the $250/license upgrade
fee would also apply if you are basically using IDL on the same machines.
For instance, we upgraded our HP720's to HP735's. We just called IDL
to get new license keys since our IP addresses changed, but we were
still using IDL on the same machines we had originally purchased them for.

You have to stick up for your rights with software companies. Matlab tried
to substitute a single user license for an unlimited user license during
a version upgrade. They claimed it was actually a "better license." Yea,
right! I faxed them a copy of the purchase agreement they signed when
they sold the software to the government. One of the provisions stated
that the license could not be modified. Some software companies seem
to have had a large influx of car sales sleazes recently.

Dan O'Connell
geomagic@seismo.do.usbr.gov
Seismotectonics Group, U.S. Bureau of Reclamation
Denver Federal Center, P.O. Box 25007 D-3611, Denver, CO 80225
"We do custom earthquakes (for food)"
or
"Just more roadkill on the information superhighway"

/\
/ \
/ \ /\ /\
/\ / \ / \ / \ /\ /\/\ /\/\
___/ \ /\/\/\/ \ / \ /\ / \ / \/ \/ \ /\_______
\/ \ / \ / \/ \/ \/
\/ \/

--
Dan O'Connell
geomagic@seismo.do.usbr.gov
Seismotectonics Group, U.S. Bureau of Reclamation
Re: IDL [message #2012 is a reply to message #296] Fri, 13 May 1994 04:33 Go to previous messageGo to next message
stl is currently offline  stl
Messages: 70
Registered: February 1994
Member
Hi,

In response to the posting about IDL charging you for new licenses, it
seems that there is some misunderstanding. Creaso, the supporter of IDL
in EUrope (and I might say a very good support group) shouldn't be
charging you (most likely isn't).
It is my understanding that, if you are running a version greater
3.1.0 you can upgrade, and switch operating systems at no cost (because
we are doing the same thing!) If you have an older version, there is an
upgrade cost to a version greater then 3.1.0.

I would suggest calling your support person (should be someone at Creaso
in germany) and discussing the situation more thuroughly.

-stephen
--
Stephen C Strebel / SKI TO DIE
stl@maz.sma.ch / and
Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT
01 256 93 85 / (and pray for snow)
Re: IDL [message #2013 is a reply to message #296] Thu, 12 May 1994 19:56 Go to previous messageGo to next message
gurman is currently offline  gurman
Messages: 82
Registered: August 1992
Member
In article <2quej9$afq@news.bu.edu>, anders@uss-enterprise.bu.edu (Anders M
Jorgensen) wrote:

> [ Article crossposted from sci.astro.research ]
> [ Author was Luca Fini ]
> [ Posted on 12 May 1994 10:02:50 -0500 ]
>
> [although somewhat on the fringe of the charter, since IDL is a
> rather popular analysis package used by astronomers, maybe one
> of us knows the answer to this question - mod.]
>
> This is not a post about science. Sometimes we have to go down to
> dirty jobs...
>
> Now we are going to make a major upgrade of uor network of SparcStations,
> we are moving form SunOS4.1.1 to Solaris 2.3.
> Looking around to find new versions of the licenced pakages we have
> (Autocad, Matlab, and others) we have experienced pretty good interactions
> with vendors: all of them will provide the new versions of their packages
> at special "upgrade" prices (we usually have not software maintenance
> contracts), *EXCEPT* for IDL. They simply want to sell us a new package
> from scratch.
>
> My question is: is this a problem due to the Italian reseller, or is it a
> general policy of RSI ?

Luca -

My understanding is that in the US RSI offers a credit on
cross-platform (such as MIPS Ultrix -> Alpha OSF/1 upgrades), but that it
will allow OS upgrades on the same machine free. I don't run Suns, so has
anyone who does had to find out?

My guess is that the Italian distributor is, as we say, taking you for
a ride.

Good luck,

Joe Gurman
--
Joseph B. Gurman / NASA Goddard Space Flight Center/ Solar Data Analysis
Center / Code 682 / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions while at |
| work. Any opinions expressed herein must therefore be someone else's. |
Re: IDL [message #75532 is a reply to message #296] Mon, 21 March 2011 06:50 Go to previous messageGo to next message
Ammar Yusuf is currently offline  Ammar Yusuf
Messages: 36
Registered: October 2010
Member
On Mar 20, 10:55 am, BigDaveII <davidharri...@yahoo.com> wrote:
> Hello all
>
> So I have made some progress but I am stuck again being new to IDL
>
> So I got it to display a color image using the following code
>
> data = read_binary('avhrr_pf.ndvi.1nmegl.8207.bin', data_type = 4,
> data_dims = [360, 180], endian = 'big')
> device, decomposed = 0
> xloadct
> window, 0, xsize = 360, ysize = 180
> !order=1
> tv, data
>
> However, I was trying to create a procedure so that I can just call it
> up.
>
> I keep getting this error
>
> File does not exist: 'homework1a.pro'.
> pro Homework1a,
>                   ^
> % Syntax error.
>   At: F:\GMUMAY2010\GGS754EarthScienceandAdvanceDataAnalysis\Homew ork
> \Homework1\Data\NDVI\HW1\Homework1a, Line 1
> % 1 Compilation error(s) in module $MAIN$.
> IDL> tv, data
>
> What am I doing wrong?
>
> How do I calculate which pixels correspond to the particular latitude
> and longitude values that defines a subset, and then use IDL's array
> subscripting to put that subset into a new variable?
>
> How do I set up a loop to go through all of my NDVI images, extract
> the appropriate subset, then display each subset?
>
> I have taken some general notes
>
> Define a 3D data array data(360, 180, 24)
> for k=1,24
> forming the file name for each k
> read one file into an 2D array, say a
> data(*,*,k) = a
> end loop k
>
> determine the indices for the given lat/lon, say ig, jg
> pick the values for that location and form a time series vector
> ts = data(ig, jg, *)
>
> display the time series, ts

Hi, your first error is this right?
File does not exist: 'homework1a.pro'.
pro Homework1a,

The reason you are getting that is because the procedure name and the
file name are case sensitive and have to be the same. Try doing that
and see if works.
Re: IDL [message #78865 is a reply to message #296] Thu, 05 January 2012 07:49 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
shambhu writes:

> I called the routine cgmap_define.pro to execute map -> Erase
>
> I got the following error.
>
> % Attempt to call undefined method: 'CGMAP::ERASE'.
> % Execution halted at: REFER

The latest Coyote Graphics mapping routines can be
found here, under "Software":

http://www.idlcoyote.com/store

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: IDL [message #78947 is a reply to message #296] Fri, 06 January 2012 09:38 Go to previous message
Russell[1] is currently offline  Russell[1]
Messages: 101
Registered: August 2011
Senior Member
There isn't a default interpolation scheme, per se. There are 10 or
so different interpolation routines, but are primarily focused on
fitting a polynomial to the data and evaluating the fit at the
requested points. In general, the lowest order is the default (so
linear interpolation). This is probably fine if your grid is well
sampled and you don't expect deviations smaller than the typical grid
spacing. Of course, you cannot create information --- so you don't
know what the curve is doing, no amount of interpolation will fix it.
But it's really a question of "how smooth you want the curve to
appear". Any interpolation scheme will be *COMPLETELY* untrustworthy
outside the limits of your data (that's called extrapolation, gulp).


http://physics.nyu.edu/grierlab/idl_html_help/mathematics9.h tml

Russell



On Jan 6, 1:22 am, shambhu <shambhu.mc...@gmail.com> wrote:
> Hi all, which Interpolation method is used in IDl by default, when
> call to Interpolation routine?
Re: IDL [message #78951 is a reply to message #78865] Thu, 05 January 2012 22:22 Go to previous message
shambhu is currently offline  shambhu
Messages: 41
Registered: December 2011
Member
Hi all, which Interpolation method is used in IDl by default, when
call to Interpolation routine?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Compare Filled Contour Plot in Three Graphics Systems
Next Topic: Technology!

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

Current Time: Wed Oct 08 13:29:52 PDT 2025

Total time taken to generate the page: 0.00898 seconds