problems with NCL ps file

From: David B. Reusch <dbr_at_nyahnyahspammersnyahnyah>
Date: Fri, 12 Jun 2009 11:04:17 -0400


I am having problems reading a NCL-generated PS file into Illustrator
and I have not been able to isolate it to either NCL or Illustrator. In
all cases, when opening in Illustrator, I get the "The operation cannot
complete because of an unknown error" message. Depending on which
version/platform of Illustrator (I've tried CS2, CS3, CS4 on PPC Mac
10.4, WinXP, Intel Mac 10.5, respectively), some of the image is still
displayed. The file prints and can be opened/viewed in gv, Preview and
ImageMagick. It even opens in Photoshop, though I'm not sure that's a
fair test since it's being rasterized.

This problem actually started in Dec 2007 and languished on my desk
until this week. Because of that I've been able to test it out on LOTS
of NCL releases, all on Mac 10.4.x: 4.2.0.a033 and a034, 4.3.0, 4.3.1,
5.0.0 and 5.1.0. Unfortunately, the NCL release doesn't seem to matter
since Illustrator has the same problem regardless (though only the 5.1.0
PS file has been tested across multiple Illustrator versions).

I've attached a file with my script, input data and a sample PS file.
To run the script (plot_avg_map_new.ncl), be sure to first set
environment variable INFILE to "avg_57_79_020" (e.g., setenv INFILE
avg_57_79_020, in csh/tcsh). This points the script to the text input
file. The script will produce a PS file


517 Deike Building
Earth & Environmental Systems Institute
Penn State University
University Park, PA 16802

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Fri Jun 12 2009 - 09:04:17 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 15 2009 - 08:53:05 MDT