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

Home » Public Forums » archive » Re: how to rasterize point data with 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
Re: how to rasterize point data with IDL [message #69297] Sun, 10 January 2010 11:01 Go to next message
ray.laymon064 is currently offline  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 #69310 is a reply to message #69297] Sat, 09 January 2010 22:38 Go to previous messageGo to next message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
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
Re: how to rasterize point data with IDL [message #83157 is a reply to message #69297] Sun, 10 February 2013 04:20 Go to previous message
jpdavra is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Coyote Graphics Correct Usage
Next Topic: how to rasterize point data with IDL

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

Current Time: Wed Oct 08 15:48:51 PDT 2025

Total time taken to generate the page: 0.00603 seconds