[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on read.ncdump



Hi Rick,

>      I'm copying my reply to Russ Rew at Unidata, so that the usage of
> read.ncdump.c might be indicated as a comment at the top of the program.
> The answer to your question is to use the output of ncdump as input to
> read.ncdump.  Here's an example in terms of a perl script:
> 
> #!/usr/bin/perl -w
> for ($a = 0; $a < scalar(@ARGV); $a++) {
>   $command = "ncdump -c $ARGV[$a] | read.ncdump\n";
>   system($command);
> }
> 
> I've included the original announcement of the program at the bottom of
> this message.
> 
> Cheers,
> Rick
> 
> PS - Russ, I wonder if you could modify the version on the Unidata website 
> to include the perl script as a comment.  Please see Mekonnen's question:

OK, it's done.  Thanks for the modification.

--Russ