<html><head><base href="x-msg://11712/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">HI Ugo,<div>Glad to hear you solved the problem. </div><div> -dave</div><div><br><div><div>On Dec 12, 2012, at 1:38 PM, ugo merlini wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr">Hi,<br><br>I have solved the problem is a my error on filezilla ftp program<span class="Apple-converted-space"> </span><img title="Imbarazzato" alt="Imbarazzato" src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/emo/embarrased_smile.gif" height="19" width="19" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: text-bottom; "><span class="Apple-converted-space"> </span>configuration<br><br>Regards<br><br>Ugo<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From:<span class="Apple-converted-space"> </span><a href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a><br>Subject: Re: [ncl-install] Graphic plotting problem<br>Date: Wed, 12 Dec 2012 13:02:58 -0700<br>To:<span class="Apple-converted-space"> </span><a href="mailto:ugomerlini@hotmail.com">ugomerlini@hotmail.com</a><br><br><div>Ugo,</div><div>Do you have an older installation of NCL on this system that works? What sort of system is it? Regular Linux or are you running Linux over Windows in some fashion?</div><div>Thanks. </div><div> -dave</div><br><div><div>On Dec 12, 2012, at 12:36 PM, ugo merlini wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><div class="ecxhmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr">Hi,<br><br>I have same results with pdf. I'm able to open the file<br><br>only with ps but I get the error below.<br><br>I'm using ncl in command line mode only<br><br>Regards<br><br>Ugo<br><br><br><br>GPL Ghostscript 9.02 (2011-03-30)<br>Copyright (C) 2010 Artifex Software, Inc. All rights reserved.<br>This software comes with NO WARRANTY: see the file PUBLIC for details.<br>GS>(C:/Users/Ugo Merlini/Desktop/Server/meteo/maponly.ps) run<br>>>showpage, press <return> to continue<<<br>(C:/Users/Ugo Merlini/Desktop/Server/meteo/maponly.pdf) run<br>GS> **** Warning: An error occurred while reading an XREF table.<br> **** The file has been damaged. This may have been caused<br> **** by a problem while converting or transfering the file.<br> **** Ghostscript will attempt to recover the data.<br>Processing pages 1 through 1.<br>Page 1<br> **** Warning: stream Length incorrect.<br> **** Unknown operator: '31l'<br> **** Error reading a content stream. The page may be incomplete.<br>>>showpage, press <return> to continue<<<br>(C:/Users/Ugo Merlini/Desktop/Server/meteo/maponly.ps) run<br> **** Warning: File has unbalanced q/Q operators (too many q's)<br><br> **** This file had errors that were repaired or ignored.<br> **** The file was produced by:<br> **** >>>> cairo 1.10.2 (<a href="http://cairographics.org" target="_blank">http://cairographics.org</a>) <<<<<br> **** Please notify the author of the software that produced this<br> **** file that it does not conform to Adobe's published PDF<br> **** specification.<br><br>GS>>>showpage, press <return> to continue<<<br><br>GS><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">Subject: Re: [ncl-install] Graphic plotting problem<br>From:<span class="ecxApple-converted-space"> </span><a href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a><br>Date: Wed, 12 Dec 2012 12:17:53 -0700<br>CC:<span class="ecxApple-converted-space"> </span><a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a><br>To:<span class="ecxApple-converted-space"> </span><a href="mailto:ugomerlini@hotmail.com">ugomerlini@hotmail.com</a><br><br>Hi Ugo,<div>Do you have this problem just with png output? Can you create a ps or pdf file or display to X11 window?</div><div> -dave</div><div><br><div><div>On Dec 12, 2012, at 9:59 AM, ugo merlini wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><div class="ecxhmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr">Hi,<span class="ecxApple-converted-space"> </span><br><br><br>i'm trying version 6.1 of ncl. I have grafhic output problem so I tried this little script<span class="ecxApple-converted-space"> </span><br><br>;================================================;<span class="ecxApple-converted-space"> </span><br>; maponly_1.ncl<span class="ecxApple-converted-space"> </span><br>;================================================;<span class="ecxApple-converted-space"> </span><br>;<span class="ecxApple-converted-space"> </span><br>; Concepts illustrated:<span class="ecxApple-converted-space"> </span><br>; - Drawing a default cylindrical equidistant map<span class="ecxApple-converted-space"> </span><br>;<span class="ecxApple-converted-space"> </span><br>;================================================;<span class="ecxApple-converted-space"> </span><br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<span class="ecxApple-converted-space"> </span><br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<span class="ecxApple-converted-space"> </span><br>; ================================================;<span class="ecxApple-converted-space"> </span><br>begin<span class="ecxApple-converted-space"> </span><br><br> wks = gsn_open_wks("png","maponly") ; open a ps file<span class="ecxApple-converted-space"> </span><br> plot = gsn_csm_map_ce(wks,False) ; draw global map<span class="ecxApple-converted-space"> </span><br><br> end<span class="ecxApple-converted-space"> </span><br><br><br>I get a corruped file (png or pdf)<span class="ecxApple-converted-space"> </span><br><br><a class="ecxmoz-txt-link-freetext" href="http://i103.photobucket.com/albums/m136/ugo73/maponly.png" target="_blank">http://i103.photobucket.com/albums/m136/ugo73/maponly.png</a><span class="ecxApple-converted-space"> </span><br><br>I'm using debian squeeze and and precompiled file ncl_ncarg-6.1.0.linux_debian_x86_64_gcc445.tar.gz<br><br><br>regards<br><br>Ugo<br></div>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></div></span></blockquote></div><br></div></div></div></div></span><br class="ecxApple-interchange-newline"></blockquote></div><br></div></div></div></span><br class="Apple-interchange-newline"></blockquote></div><br></div></body></html>