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

Home » Public Forums » archive » Broken CGFIXPS routine?
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: Broken CGFIXPS routine? [message #94709 is a reply to message #94708] Fri, 01 September 2017 07:19 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
So I assume that cgfixps.pro is not found because it is not compiling

IDL> .run cgfixps

because of spurious characters introduced during a bad merge. This was fixed on the GitHub site (according to the link you give) but still seems to be broken on the main Coyote site
http://www.idlcoyote.com/programs/cgfixps.pro
So I would make sure you get your copy of cgfixps.pro from GitHub

https://github.com/idl-coyote/coyote/blob/master/cgfixps.pro

--Wayne

On Thursday, August 31, 2017 at 7:21:40 PM UTC-4, Matteo wrote:
> Hi,
>
> I was trying to generate a plot in a way that was used to work, as in:
>
> CGPS_OPEN, filename='testplot.ps'
> CGPLOT, FINDGEN(10)
> CGPS_CLOSE, /pdf
>
> but know I obtained the error message: "CGPS_CLOSE -> Attempt to call undefined procedure: CGFIXPS". I obviously have CGFIXPS in the Coyote library, but the problem seem to be in the following lines (as it seems to have been noted here: https://github.com/idl-coyote/coyote/issues/11). Any idea on the best fix for this issue?
>
>
>
> <<<<<<< HEAD
> Get_Lun, in_lun
> OpenR, in_lun, in_filename
> =======
>>>> >>>> 8ba3a7b34691137b0d0b3d3f508b434ded51fa12
> IF (FStat(in_lun)).size EQ 0 THEN BEGIN
> Free_lun, in_lun
> Free_lun, out_lun
> File_Delete, out_filename
> ;Print, 'Zero Length File Encountered...'
> RETURN
> ENDIF
>
> <<<<<<< HEAD
> ; Move along in the file until the end of the Prolog.
> line = ""
> count = 0
> target = "void"
> buffer = StrArr(100)
>
> =======
>>>> >>>> 8ba3a7b34691137b0d0b3d3f508b434ded51fa12
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: histogram and color bar
Next Topic: EP Flux

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

Current Time: Wed Oct 08 14:08:17 PDT 2025

Total time taken to generate the page: 0.00177 seconds