For some reason, the ubuntu version of h5utils provided with apt-get install
h5utils does not have internally consistent paths/libraries for the
colormaps.

A temporary solution is the following:
To convert the file foo.h5 into foo.png with colormap foomap
h5topng -c /usr/share/h5utils/colormaps/foomap foo.h5

This is ugly, but it works, and you can go about your work.  You could make
an alias or script to wrap this up nicely, but I'll check my own computer
for config files to see if there's a more elegant solution.

Note: This thread is essentially a duplication of
http://ab-initio.mit.edu/pipermail/meep-discuss/2008-August/002067.html
<http://ab-initio.mit.edu/pipermail/meep-discuss/2008-August/002052.html>
to which I've posted the same reply.

Matt



On Wed, Aug 20, 2008 at 7:45 PM, Matt Eichenfield <[EMAIL PROTECTED]> wrote:

> To whom it may concern:
>
> I have seen that h5utils version 1.11.1 fixes a bug in version 1.11 wherein
> the program fails to find colormaps in h5topng.  However, I am having the
> same problem using h5utils version 1.10-7ubuntu1, which I'm assuming is
> h5utils version 1.10.  I got this version using apt-get install h5utils on
> August 20, 2008.
>
> Here are a couple examples of errors:
>
> $ h5topng -RZc dkbluered -C ring-eps-000000.00.h5 ring-ez-*.h5
> Could not find colormap "dkbluered"
>
> $ h5topng -R -C ring-eps-000000.00.h5 ring-ez-*.h5
> Could not find colormap "gray"
>
> Should I just remove h5utils using apt-get and "manually" install version
> 1.11?  Is this a known issue in versions earlier than 1.11 as well?
>
> Thanks,
> Matt Eichenfield
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to