[Met_help] [rt.rap.ucar.edu #77971] History for Question about installing MET MODE graphics tool
Julie Prestopnik via RT
met_help at ucar.edu
Mon Sep 19 10:13:13 MDT 2016
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Dear Met Help:
I am trying to install MET in my home directory, and I am going through the installation instructions. The installation/README documentation says:
- When running MODE Graphics, set $MET_FONT_DIR to the directory containing
font data required at runtime. A link to the tarball containing this font
data can be found on the MET website.
Where can I find this tarball on the MET website? It does not seem to be on the MET download page.
Also according to the instructions, MET won't work with Netcdf4, the default netcdf and its libraries installed here are netcdf4, I do have a self-installed netcdf3.6.3 in my home directory. I guess pointing to that version 3 will be fine, isn't it (I haven't tried installing yet, because the font problem I mentioned above)?
Thank you
Steven
=============================================================
Steven C Chan, Visiting Scientist from Newcastle University
Met Office Hadley Centre FitzRoy Road Exeter Devon EX1 3PB United Kingdom
Tel: +44 (0)1392 886153
Email: steven.chan at metoffice.gov.uk Website: www.metoffice.gov.uk
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Question about installing MET MODE graphics tool
From: Julie Prestopnik
Time: Mon Sep 19 09:22:46 2016
Hi Steven.
I see that you are having a difficult time locating the link to the
font
data. Thank you for letting us know. We'll try to make that more
clear in
our documentation. You can find the link to the font data on our
online
tutorial under the plot_mode_field tool:
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/plot_mode_field/index.php
Here is a link directly to the font data:
http://sourceforge.net/projects/gs-fonts
Please set the *MET_FONT_DIR* environment variable to point to the
directory containing those fonts.
Pointing to your self-installed version of netcdf-3.6.3 in your home
directory should be fine. You could use NetCDF version 4.1.1 or
later, but
the *--disable-netcdf-4* command line argument would need to be set
when
configuring and installing the package.
I hope that helps!
Thanks,
Julie Prestopnik
On Mon, Sep 19, 2016 at 4:40 AM, Chan, Steven via RT
<met_help at ucar.edu>
wrote:
>
> Mon Sep 19 04:40:02 2016: Request 77971 was acted upon.
> Transaction: Ticket created by steven.chan at metoffice.gov.uk
> Queue: met_help
> Subject: Question about installing MET MODE graphics tool
> Owner: Nobody
> Requestors: steven.chan at metoffice.gov.uk
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77971 >
>
>
> Dear Met Help:
>
> I am trying to install MET in my home directory, and I am going
through
> the installation instructions. The installation/README documentation
says:
>
> - When running MODE Graphics, set $MET_FONT_DIR to the directory
> containing
> font data required at runtime. A link to the tarball
containing this
> font
> data can be found on the MET website.
>
> Where can I find this tarball on the MET website? It does not seem
to be
> on the MET download page.
>
> Also according to the instructions, MET won't work with Netcdf4, the
> default netcdf and its libraries installed here are netcdf4, I do
have a
> self-installed netcdf3.6.3 in my home directory. I guess pointing to
that
> version 3 will be fine, isn't it (I haven't tried installing yet,
because
> the font problem I mentioned above)?
>
> Thank you
> Steven
>
> =============================================================
> Steven C Chan, Visiting Scientist from Newcastle University
> Met Office Hadley Centre FitzRoy Road Exeter Devon EX1 3PB
United
> Kingdom
> Tel: +44 (0)1392 886153
> Email: steven.chan at metoffice.gov.uk Website: www.metoffice.gov.uk
>
>
>
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #77971] Question about installing MET MODE graphics tool
From: Chan, Steven
Time: Mon Sep 19 09:49:31 2016
Dear Julie:
Thank you for your email. I have downloaded the fonts. MET also
compiled properly in my home directly, and I will work on tutorial
tomorrow. I winded up do using my own NetCDF library.
If there is one more additional issue that I found out during make is
the include path for freetype2. The network I work with only has
freetype2 installed. It seems the default for freetype2 install will
put include files in a way that MET MODE does not expect. A proper
compile the two paths below in the include:
/usr/include/freetype2/
/usr/include/freetype2/freetype/
Failing to include the former one will cause the compiler failing to
find .h files in:
/usr/include/freetype2/freetype/config
MET_FREETYPEINC can only take one path, so one cannot have both
together set in the same env variable. Of course depending how
libraries and include files are installed it could be
/usr/local/include/blahblahblah.
I am no expert in system administration nor managing complex software
package, but I manage to fudge by forcing C_INCLUDE_PATH to include
/usr/include/freetype2/.
I think a discussion about this problem when compiling other software
with freetype2 is on stackoverflow and other places:
http://stackoverflow.com/questions/34910660/fatal-error-freetype-
config-ftheader-h
https://forum.juce.com/t/build-problem-on-ubuntu-10-04/7672
Steven
-----Original Message-----
From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
Sent: 19 September 2016 16:23
To: Chan, Steven
Subject: Re: [rt.rap.ucar.edu #77971] Question about installing MET
MODE graphics tool
Hi Steven.
I see that you are having a difficult time locating the link to the
font data. Thank you for letting us know. We'll try to make that
more clear in our documentation. You can find the link to the font
data on our online tutorial under the plot_mode_field tool:
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/plot_mode_field/index.php
Here is a link directly to the font data:
http://sourceforge.net/projects/gs-fonts
Please set the *MET_FONT_DIR* environment variable to point to the
directory containing those fonts.
Pointing to your self-installed version of netcdf-3.6.3 in your home
directory should be fine. You could use NetCDF version 4.1.1 or
later, but the *--disable-netcdf-4* command line argument would need
to be set when configuring and installing the package.
I hope that helps!
Thanks,
Julie Prestopnik
On Mon, Sep 19, 2016 at 4:40 AM, Chan, Steven via RT
<met_help at ucar.edu>
wrote:
>
> Mon Sep 19 04:40:02 2016: Request 77971 was acted upon.
> Transaction: Ticket created by steven.chan at metoffice.gov.uk
> Queue: met_help
> Subject: Question about installing MET MODE graphics tool
> Owner: Nobody
> Requestors: steven.chan at metoffice.gov.uk
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77971
> >
>
>
> Dear Met Help:
>
> I am trying to install MET in my home directory, and I am going
> through the installation instructions. The installation/README
documentation says:
>
> - When running MODE Graphics, set $MET_FONT_DIR to the directory
> containing
> font data required at runtime. A link to the tarball
containing
> this font
> data can be found on the MET website.
>
> Where can I find this tarball on the MET website? It does not seem
to
> be on the MET download page.
>
> Also according to the instructions, MET won't work with Netcdf4, the
> default netcdf and its libraries installed here are netcdf4, I do
have
> a self-installed netcdf3.6.3 in my home directory. I guess pointing
to
> that version 3 will be fine, isn't it (I haven't tried installing
yet,
> because the font problem I mentioned above)?
>
> Thank you
> Steven
>
> =============================================================
> Steven C Chan, Visiting Scientist from Newcastle University Met
Office
> Hadley Centre FitzRoy Road Exeter Devon EX1 3PB United Kingdom
> Tel: +44 (0)1392 886153
> Email: steven.chan at metoffice.gov.uk Website: www.metoffice.gov.uk
>
>
>
>
>
--
Julie Prestopnik
National Center for Atmospheric Research Research Applications
Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
More information about the Met_help
mailing list