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

Home » Public Forums » archive » Keywords GS and LIMITS not allowed in TRIGRID
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Keywords GS and LIMITS not allowed in TRIGRID [message #9586] Sun, 13 July 1997 00:00 Go to previous message
Scott Applequist is currently offline  Scott Applequist
Messages: 4
Registered: November 1996
Junior Member
I am trying to specify the grid spacing and limits in the
TRIGRID function (1-909R). I am getting an error message
that neither keyword is allowed in this function (quite
contrary to the documentation it seems). The following
are the relevant code and error message I receive. Thanks
for any possible guidance.

;These arrays contain 74 longitude, latitudes, and geopotentials
bigbox=[15.,-115.,60.,-60.]
xlon = fltarr(nh)
xlat = fltarr(nh)
hght = fltarr(nh)

;Data assignment statements
.
.
.

triangulate, xlon, xlat, tr, b
gridhght = trigrid(xlon, xlat, hght, tr, extrapolate=b $
,gs=[1.0,1.0] , limits=bigbox )


----------------------Session Output-------------------
IDL. Version 4.0.1 (vms alpha).
Copyright 1989-1995, Research Systems, Inc.
All rights reserved. Unauthorized reproduction prohibited.
Installation number: 12608-30.
Licensed for use by: FSU - GFDI

IDL> .run test
% Compiled module: $MAIN$.
571201/0000
68 good values
% Keyword GS not allowed in call to: TRIGRID
% Execution halted at: $MAIN$ 36
FEDORA$DKB200:[SCOTT.PROGS.FIXDATA]TEST.PRO;11

If I omit the gs=[1.0,1.0] part, the same error is returned
with the word LIMITS in place of GS. If both are omitted,
TRIGRID works, but not with the desired grid spacing or limits.
[Message index]
 
Read Message
Read Message
Previous Topic: shared colormap
Next Topic: Re: Automatic Compiliation of IDL Programs, Was: Lost Functions

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

Current Time: Sat Oct 11 06:54:13 PDT 2025

Total time taken to generate the page: 0.80074 seconds