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

Home » Public Forums » archive » Band reader
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Band reader [message #37561 is a reply to message #37471] Tue, 30 December 2003 05:13 Go to previous messageGo to previous message
julio is currently offline  julio
Messages: 31
Registered: December 2003
Member
Thanks Fotis, I'll try it!
Julio

Fotis <fotis@physics.uoc.gr> wrote in message news:<bsr9pk$njg$1@nic.grnet.gr>...
> Julio wrote:
>> Hello, I'm a new user of ENVI/IDL and I'm writing a routine to
>> calibrate the channels 1 and 2 of AVHRR images. Acording to KLM User's
>> Guide, the slope and intercept coeficients values depend on the CN.
>> I'm using the ENVI_GET_IMAGE to read the channels, but it reads the
>> matrix, and not unit values. How can I do to read only the CN and then
>> apply the right values of intercept and slope?
>> Thanks a lot!
> Assume that calibr. factors change for CN values larger or less
> than 499.
> Assume b1 is the matrix of the first band (0.63 micron)
> temp1=fltarr(ns,nl)
> temp2=fltarr(ns,nl)
> calibr_b1=fltarr(ns,nl)
>
> temp1=float(b1)* SLOPE1 + INTERC1
> temp2=float(b1)* SLOPE2 + INTERC2
>
> calibr_b1=temp1 * (b1 le 499) + temp2 * (b1 gt 499)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: DXF Models
Next Topic: Re: Installing IDL 6.0 on RedHat 9 - "Segmentation fault"

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

Current Time: Sat Oct 11 09:41:42 PDT 2025

Total time taken to generate the page: 2.32138 seconds