[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #CLK-561789]: IDV - Failure to execute Vegetation Temperature Condition Index script
- Subject: [IDV #CLK-561789]: IDV - Failure to execute Vegetation Temperature Condition Index script
- Date: Mon, 20 Aug 2007 08:05:36 -0600
Hi Richard-
> Sorry for taking long to reply to your mail.
No problem.
> I replied almost immediately but after sometime the mail was bounced
> back to me with the massage that the attachment was too small hence
> suspicious.
>
> I now attach a full script containing the vegetation temperature
> condition index for your necessary help
The problem is this section:
a = Double(user_a)
b = Double(user_b)
A = Double(user_A)
B = Double(user_B)
and then you try to do:
den1 = (b*float(pixelNDVI)+a)
since b and a are Java Doubles, you would need to get the
doubleValue from them because Double's don't have any Math
functions on them. You could either do:
a = Double(user_a).doubleValue()
or just use the Jython intrisic:
a = double(user_a)
If you don't need double precision, just use:
a = float(user_a)
Don Murray
> Richard Kyuma
>
>
> -----Original Message-----
> From: Unidata IDV Support [mailto:address@hidden]
> Sent: Monday, August 13, 2007 5:19 PM
> To: Richard Kyuma
> Subject: [IDV #CLK-561789]: IDV - Failure to execute Vegetation
> Temperature Condition Index script
>
> Hi Richard-
>
> > The attached text file contains a new error message after I have made
> > some corrections in the script.
>
> Sorry for the dealy in responding. I don't see any obvious problems
> with the revised script. Can you send me exactly which line is causing
> the error? Since you've clipped this out from some larger text, the
> line numbers in the error message do not correspond to what I have.
>
> Thanks.
>
> Don
>
> > Pls advice
> >
> > Richard Kyuma
> > -----Original Message-----
> > From: Unidata User Support [mailto:address@hidden]
> > Sent: Tuesday, July 31, 2007 7:08 PM
> > To: Richard Kyuma
> > Subject: [IDV #CLK-561789]: IDV - Failure to execute Vegetation
> > Temperature Condition Index script
> >
> >
> > Richard Kyuma,
> >
> > Your Ticket has been received, and a Unidata staff member will review
> > it and reply accordingly. Listed below are details of this new Ticket.
> > Please make sure the Ticket ID remains in the Subject: line on all
> > correspondence related to this Ticket.
> >
> > Ticket ID: CLK-561789
> > Subject: IDV - Failure to execute Vegetation Temperature Condition
> > Index script
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> >
> > Please let us know if we can be of further assistance,
> >
> > Unidata User Support
> >
> >
> >
>
>
> Ticket Details
> ===================
> Ticket ID: CLK-561789
> Department: Support IDV
> Priority: High
> Status: Open
>
>
>
Ticket Details
===================
Ticket ID: CLK-561789
Department: Support IDV
Priority: High
Status: Open