330 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
2
answers
330
views
IDL error 'End of file encountered before end of program'
I am using IDL workspace but unable to get started because I get the error below. Note that I can work in the console without any error.
I am new to IDL and I would appreciate if anyone can help me ...
0
votes
1
answer
49
views
In the IDL program, with> and gt, respectively, the running results are different,why?
In the penultimate eighth line of the following procedure:
FUNCTION plant_growth, n_months, initial_plants, pick_strategy
N = LONARR(n_months + 1)
M = LONARR(n_months + 1)
N[0] = ...
0
votes
1
answer
85
views
How to create pseudo-color figures with IDL Graphics
I want to plot a 2-D matrix as a pseudo-color figure in IDL, just like the function pcolor in matlab. I know the function image can do that, but I hope it can generate IDL Graphics like the plot, ...
0
votes
1
answer
183
views
Can we run IDL(Interactive Data Language) in Databricks Notebook (python code)
I am working on a project where we use Azure stack for data engineering and analysis.
The main component for computation is Azure Databricks in which most of the code is written in python code.
...
0
votes
1
answer
87
views
Long start time for idl
IDL (v8.6) takes a long time to start (minutes) even for plain start (idl -IDL_STARTUP ""). It quickly prints
IDL 8.6.1 (linux x86_64 m64).
(c) 2017, Exelis Visual Information Solutions, Inc....
0
votes
1
answer
710
views
How to run .pro file in exelis IDL
I'm trying to run a .pro file on IDL, I opened the file in IDL, but I cannot input anything at the consoleenter image description here
I'm using IDL on ubuntu.
Is it because the environment isn't set ...
0
votes
1
answer
100
views
If condition is met, variable needs to be within a specific range
I am brand new to IDL, and find that the documentation online is lacking in comparison to other languages. This is also my very first post on stackoverflow, so I will do my best to include the proper ...
0
votes
0
answers
42
views
Is there an equivalent of the IDL dist() function in Python? [duplicate]
dist(n) generates a (n x n) matrix of elements. Each element is the straight-line
"distance" from either element [0, 0] or the element just beyond another corner, whichever is closest.
I'm ...
-1
votes
1
answer
112
views
Decode IASI Satellite Spectrum - convert IDL to python
Since I have no experience in IDL coding, I need help converting the piece of code below to python.
The following parameters are known and are 1D arrays oder scalars.
IDefScaleSondNbScale, ...
0
votes
1
answer
149
views
Convert datetime and timedelta from Python to IDL
Please does anyone know how to convert the following python script to IDL,
hours = list(Timed)
start_date = datetime(year=1800, month=1, day=1, hour=0, minute=0, second=0)
days =[]
Months =[]
Years =[...
0
votes
1
answer
233
views
Automatically Read Array Size into IDL
I am trying to automate a code in IDL that takes a few .dat files created and reads them into an array. Each of these files has 4 columns but a different number of rows, and I am not sure how to set ...
0
votes
1
answer
2k
views
Is there a way to run IDL code without paying for license?
I have to convert some code from IDL to Python as a part of a project. The problem is that to convert it I need to learn IDL first and I can't seem to find a compiler for it nor can I find any ...
1
vote
1
answer
261
views
Add variable to structure tag in IDL
I was wondering if someone knew how to add more values to a structure variable in IDL?
For example, if we have the structure 'struct'
struct = {structname, x:[1,2,3], y:[10,11,12]}
And I specifically ...
0
votes
1
answer
252
views
Plot a fieldline onto 2D magnetic field components in IDL
I would like to overplot a single fieldline at some radius or starting point, onto a contour of a magnetic field model without using the streamline function.
For example, here are the cartesian ...
-1
votes
2
answers
295
views
Dividing arrays in IDL and sum over array elements
I was wondering how to divide two arrays
a = [1,2,3,4,5]
b = [2,4,6,8,15]
to get
a/b = [0.5,0.5,0.5,0.5,0.3]
Thanks in advance for the help.