Re: v6.1.2 RANGS-GSHHS problem

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 01 2013 - 10:40:07 MST

Hi Karin,

I just tried the "maponly_11.ncl" script, which uses the rangs database, and had no problems.
The file sizes of my files compare exactly with yours below, and your filenames look correct.

Could the problem be with the read permissions on the directory?

The Fontconfig error you're getting is puzzling. I wonder if this has something to do with
the version of cairo/fontconfig that you have on your system? What MacOS are you running,
and which NCL binary did you download?

--Mary

On Mar 1, 2013, at 3:09 AM, Karin Meier-Fleischer wrote:

> Hi,
>
> I've installed the RANGS-GSHHS HighRes database files as described on
> http://www.ncl.ucar.edu/Document/Graphics/rangs.shtml , but I'll get an error.
>
> I run the maponly_20.ncl example (a system call was added to see what's in the rangs
> directory).
>
>
> NCL/tests> ncl maponly_20.ncl
> Copyright (C) 1995-2013 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.2
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
>
> ls -la /home/k204045/local/ncl_ncarg-6.1.2/lib/ncarg/database/rangs
> insgesamt 137656
> drwxr-xr-x 2 k204045 users 4096 27. Feb 14:01 .
> drwxr-xr-x 4 k204045 users 4096 27. Feb 13:51 ..
> -rw------- 1 k204045 users 144 27. Feb 13:55 .directory
> -rw-r--r-- 1 k204045 users 89496428 13. Mai 1997 gshhs(0).rim
> -rw-r--r-- 1 k204045 users 20775224 13. Mai 1997 gshhs(1).rim
> -rw-r--r-- 1 k204045 users 5099196 13. Mai 1997 gshhs(2).rim
> -rw-r--r-- 1 k204045 users 1109192 13. Mai 1997 gshhs(3).rim
> -rw-r--r-- 1 k204045 users 170948 13. Mai 1997 gshhs(4).rim
> -rw-r--r-- 1 k204045 users 259200 6. Mai 1997 rangs(0).cat
> -rw-r--r-- 1 k204045 users 6518664 1. Feb 1999 rangs(0).cel
> -rw-r--r-- 1 k204045 users 259200 6. Mai 1997 rangs(1).cat
> -rw-r--r-- 1 k204045 users 5945492 1. Feb 1999 rangs(1).cel
> -rw-r--r-- 1 k204045 users 259200 6. Mai 1997 rangs(2).cat
> -rw-r--r-- 1 k204045 users 4062215 1. Feb 1999 rangs(2).cel
> -rw-r--r-- 1 k204045 users 259200 5. Mai 1997 rangs(3).cat
> -rw-r--r-- 1 k204045 users 3398642 1. Feb 1999 rangs(3).cel
> -rw-r--r-- 1 k204045 users 259200 5. Mai 1997 rangs(4).cat
> -rw-r--r-- 1 k204045 users 3045848 29. Jan 1999 rangs(4).cel
> fatal:MapRGDHDrawMapList: MDRGOL/MDRGOF - ERROR OPENING RANGS/GSHHS CAT FILE
> fatal:PlotManagerPostDraw: error in plot post-draw
> fatal:_NhlPlotManagerDraw: PostDraw error
> fatal:MapRGDHDrawMapList: MDRGOL/MDRGOF - ERROR OPENING RANGS/GSHHS CAT FILE
> fatal:PlotManagerPostDraw: error in plot post-draw
> fatal:_NhlPlotManagerDraw: PostDraw error
> (0) Warning: this map may take awhile to draw.
> fatal:MapRGDHDrawMapList: MDRGOL/MDRGOF - ERROR OPENING RANGS/GSHHS CAT FILE
> fatal:PlotManagerPostDraw: error in plot post-draw
> fatal:_NhlPlotManagerDraw: PostDraw error
>
>
> If I set the environment variable NCARG_RANGS to the rangs directory another error occured:
>
>
> NCL/tests> setenv NCARG_RANGS $NCARG_ROOT/lib/ncarg/database/rangs
> NCL/tests> ncl maponly_20.ncl
> Copyright (C) 1995-2013 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.2
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
>
> ls -la /home/k204045/local/ncl_ncarg-6.1.2/lib/ncarg/database/rangs
> insgesamt 137656
> drwxr-xr-x 2 k204045 users 4096 27. Feb 14:01 .
> drwxr-xr-x 4 k204045 users 4096 27. Feb 13:51 ..
> -rw------- 1 k204045 users 144 27. Feb 13:55 .directory
> -rw-r--r-- 1 k204045 users 89496428 13. Mai 1997 gshhs(0).rim
> -rw-r--r-- 1 k204045 users 20775224 13. Mai 1997 gshhs(1).rim
> -rw-r--r-- 1 k204045 users 5099196 13. Mai 1997 gshhs(2).rim
> -rw-r--r-- 1 k204045 users 1109192 13. Mai 1997 gshhs(3).rim
> -rw-r--r-- 1 k204045 users 170948 13. Mai 1997 gshhs(4).rim
> -rw-r--r-- 1 k204045 users 259200 6. Mai 1997 rangs(0).cat
> -rw-r--r-- 1 k204045 users 6518664 1. Feb 1999 rangs(0).cel
> -rw-r--r-- 1 k204045 users 259200 6. Mai 1997 rangs(1).cat
> -rw-r--r-- 1 k204045 users 5945492 1. Feb 1999 rangs(1).cel
> -rw-r--r-- 1 k204045 users 259200 6. Mai 1997 rangs(2).cat
> -rw-r--r-- 1 k204045 users 4062215 1. Feb 1999 rangs(2).cel
> -rw-r--r-- 1 k204045 users 259200 5. Mai 1997 rangs(3).cat
> -rw-r--r-- 1 k204045 users 3398642 1. Feb 1999 rangs(3).cel
> -rw-r--r-- 1 k204045 users 259200 5. Mai 1997 rangs(4).cat
> -rw-r--r-- 1 k204045 users 3045848 29. Jan 1999 rangs(4).cel
> Fontconfig error: Cannot load default config file
> ncl: cairo-ft-font.c:638: _cairo_ft_unscaled_font_lock_face: Assertion `!unscaled->from_face' failed.
> Abort
> NCL/tests>
>
>
> The gshhs files have the suffix .rim and not .cel or .cat. Could this be the problem?
> Any idea?
>
> Best regards,
> Karin
>
> --
> Karin Meier-Fleischer
>
> Deutsches Klimarechenzentrum GmbH
> Application Support
>
> Deutsches Klimarechenzentrum GmbH
> Bundesstrasse 45a
> D-20146 Hamburg, Germany
>
> E-Mail:
> meier-fleischer@dkrz.de
>
> Internet:
> http://www.dkrz.de/
>
> Phone: +49 40 460094 126
> Fax: +49 40 460094 174
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 1 10:40:16 2013

This archive was generated by hypermail 2.1.8 : Fri Mar 01 2013 - 10:41:03 MST