Re: how to rasterize point data with IDL [message #69297] |
Sun, 10 January 2010 11:01  |
ray.laymon064
Messages: 8 Registered: July 2008
|
Junior Member |
|
|
On Jan 10, 1:38 am, "Jeff N." <jeffnettles4...@gmail.com> wrote:
> On Jan 10, 12:17 am, "R.Laymon" <ray.laymon...@gmail.com> wrote:
>
>> Dear all,
>
>> I have a x(lat), y(long), Z(data) type of daily data for 8-years. I am
>> trying to rasterize these point data to create daily spatial maps (365
>> days x 8 years = ~ 3000 images). There is an in built ENVI function
>> Vector/Rasterize Point data. Since I need to create ~3000 images and
>> doing that manually one by one is not time-wise reasonable with ENVI,
>> could anybody tell me if I may and how can I use this function in IDL?
>> Thx!
>
>> Ray
>
> There are of course several ways to do this, but perhaps the easiest
> for you would be to use ENVI_GRID_DOIT, which is the programmatical
> equivalent of the Rasterize Point Data command you see in the GUI.
> ENVI help for the command has an example to get you started. See if
> that fits your needs.
>
> Jeff
Hi Jeff,
It worked great. That was exactly what I was looking for. Thanks a lot
for your help.
Ray
|
|
|
|
Re: how to rasterize point data with IDL [message #83157 is a reply to message #69297] |
Sun, 10 February 2013 04:20  |
jpdavra
Messages: 3 Registered: February 2013
|
Junior Member |
|
|
On Monday, 11 January 2010 00:31:24 UTC+5:30, R.Laymon wrote:
> On Jan 10, 1:38 am, "Jeff N." <jeffnettles4...@gmail.com> wrote:
>> On Jan 10, 12:17 am, "R.Laymon" <ray.laymon...@gmail.com> wrote:
>>
>>> Dear all,
>>
>>> I have a x(lat), y(long), Z(data) type of daily data for 8-years. I am
>>> trying to rasterize these point data to create daily spatial maps (365
>>> days x 8 years = ~ 3000 images). There is an in built ENVI function
>>> Vector/Rasterize Point data. Since I need to create ~3000 images and
>>> doing that manually one by one is not time-wise reasonable with ENVI,
>>> could anybody tell me if I may and how can I use this function in IDL?
>>> Thx!
>>
>>> Ray
>>
>> There are of course several ways to do this, but perhaps the easiest
>> for you would be to use ENVI_GRID_DOIT, which is the programmatical
>> equivalent of the Rasterize Point Data command you see in the GUI.
>> ENVI help for the command has an example to get you started. See if
>> that fits your needs.
>>
>> Jeff
>
> Hi Jeff,
>
> It worked great. That was exactly what I was looking for. Thanks a lot
> for your help.
>
> Ray
Hey, i'm jigar from india, working on ENVI + IDL.....ENVI_DO_IT function working properly which example given in help but my own data i cant rasterize.
in my ascii file, there id x,y and z as
x->lat
y->long means location
z->temperature data
i have upto 150 data each x y and z
in example there is given that...
x_pts = [0, 500, 500, 0, 250]
y_pts = [0, 0, 500, 500, 250]
z_pts = [0, 100, 200, 300, 1000]
now i have to assign all lat, long points to x and y and assign temperature data to z_pts.... am i write?
but my problem is that ..... how to assign my x,y and z data which i have in form of
x-> image.x
y-> image.y
z-> image.z
but how i can assign thai all x,y,z into x_pts, y_pts and z_pts???? plz reply me soon
|
|
|