This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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