Problem setting up emacs idl-shell [message #6232] |
Wed, 15 May 1996 00:00  |
asb
Messages: 13 Registered: May 1994
|
Junior Member |
|
|
I want to run idl form an emacs idl shell. I installed idl-shell.el
and added the appropriate line to my .emacs file. When I typed
M-x idl-shell
I got the error message:
Cannot open load file: idl
I figure that line 234 in idl-shell.el, which reads
(require 'idl)
is causing the problem, so I changed it to include the full path to
idl executable. When I tried it again, I got a different error
message:
Invalid read syntax: "#"
Anyone know how to set it up so it works?
Thanks.
Alan
|
|
|
Re: problem set [message #10715 is a reply to message #6232] |
Tue, 13 January 1998 00:00  |
f055
Messages: 29 Registered: April 1995
|
Junior Member |
|
|
In article <34BA75F2.41C6@io.harvard.edu>, Martin Schultz <mgs@io.harvard.edu> writes:
-(1) The contours are artificially closed near the boundaries of the
-plot, producing vertical lines which distract the reader,
You could try adding missing=!values.f_nan as an additional parameter in
your call to the trigrid function. It should set the values around the
edges and outside the region of data coverage to the NaN missing code rather
than to the default of zero. They then won't be contoured. In fact, the
lines will stop short of the edges - something that you may not want
either! But, having set them to NaN during the gridding phase, you could
then apply some smoothing to the gridded field (taking into account the
fact that you have some NaN values - e.g. with
smoothfactor=3 ;(the higher the value, the greater the smoothing)
fdsmooth=smooth(fd,smoothfactor,/nan,/edge_truncate)
which will infill some of the missing regions with nearby/adjacent
non-missing values (and will, of course, also smooth the field).
Hope that's of some help
Tim
......................... Dr Tim Osborn . t.osborn@uea.ac.uk
.... ___/.. __ /.. /.. /. Senior Research Associate . phone:01603 592089
... /..... /. /.. /.. /.. Climatic Research Unit . fax: 01603 507784
.. /..... __/.. /.. /... School of Environmental Sciences.
. /..... /\ ... /.. /.... University of East Anglia .
____/.._/..\_..____/..... Norwich NR4 7TJ .
......................... UK .
|
|
|
Re: problem set [message #10716 is a reply to message #6232] |
Mon, 12 January 1998 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Martin Schultz (mgs@io.harvard.edu) writes:
> PS: David, if you tell me "That's all in my book", then I am (almost)
> ready to buy it ;-)
Uh, that may be *one* subject I didn't cover as thoroughly
as I should have. :-(
But I'll include it in the next printing, Martin, if you
write it up for me. :-)
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|