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

Home » Public Forums » archive » Advice on using julian day with the image function?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Advice on using julian day with the image function? [message #91406] Thu, 09 July 2015 14:08 Go to previous message
sally.benson2 is currently offline  sally.benson2
Messages: 3
Registered: July 2015
Junior Member
Hi,
I have always used direct graphics but now I am converting over to the idl function graphics. I am trying to create a time by height plot of radar reflectivity. Here is the code I am using:

refd is radar reflectivity [time,height]
julidan_day is the time array in idl's julian day
height is the height array in meters

p3=image(refd,julian_day,height,position=reform(pos[0,*]),$
/buffer,rgb_table=my_table,image_dimensions=[400,400])

The error I am getting is
% QHULL:
qhull precision error: 101 attempts to construct a convex hull
with joggled input. Increase joggle above 'QJ0.12'
or modify qh_JOGGLE... parameters in user.h


The image function is trying to put my data on a regular grid using qhull but it is failing because the julian_day numbers are too big? How can I get the image function to use julian day? I like julian day for my time axis because it is easy to format it using xtickformat and xtickunits. I also tried seconds since 1970 but I got a similar error.

p3=image(refd,seconds_1970,height,position=reform(pos[0,*]), $
/buffer,rgb_table=my_table,image_dimensions=[400,400])

% QHULL:
qhull precision error: 101 attempts to construct a convex hull
with joggled input. Increase joggle above 'QJ5.1'
or modify qh_JOGGLE... parameters in user.h

Has anyone been successful in using julian day with the idl image function? Any help is greatly appreciated.
Thanks!
Sally
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to extract Geokey & Geotag from GeoTiff file
Next Topic: Writing float array to file

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

Current Time: Wed Oct 08 13:33:02 PDT 2025

Total time taken to generate the page: 0.00466 seconds