[ncl-talk] Input in flex scanner failed

David Brown dbrown at ucar.edu
Mon Aug 11 17:58:11 MDT 2014


Hi Michael,

These files are used by the map plotting routines. Since they are not NCL
source code, they cannot be loaded with the "load" command.
As explained on the web page you pointed to:

You must download all ten of these files, unzip them, and either put them
in the directory "$NCARG_ROOT/lib/ncarg/database/rangs" (which NCL will
look in by default), or put them somewhere else and set the environment
variable NCARG_RANGS to this directory. The files take up about 140
megabytes, unzipped.

Assuming you leave them in their current location you simply need to set
the environment variable NCARG_RANGS to
point to the directory:

export NCARG_RANGS=/Users/notaro/upper_fox_river/rangs
or
setenv NCARG_RANGS /Users/notaro/upper_fox_river/rangs

 -dave






On Mon, Aug 11, 2014 at 4:21 PM, Michael Notaro <mnotaro at wisc.edu> wrote:

> I am receiving the following error
> "Input in flex scanner failed".
> It is resulting from my call to load
> "Users/notaro/upper_fox_river/rangs".
> That directory contains the files
> needed to use RANGS_GSHHS as
> described here:
>
> https://www.ncl.ucar.edu/Document/Graphics/rangs.shtml
> and found here:
> http://www2008.io-warnemuende.de/homepages/rfeistel/
>
>
> Any suggestions? I am using NCL 6.1.2 on the mac.
>
>
> Thanks, Michael
>
>
>
>
>
>
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
>
> load "/Users/notaro/upper_fox_river/rangs"
>
>
>
>
> begin
>
>
>
>
> end
>
>
>
>
>
>
>
>
>
>
>
>
>
> [mmia:~/upper_fox_river/rangs] notaro% pwd
>
> /Users/notaro/upper_fox_river/rangs
>
> [mmia:~/upper_fox_river/rangs] notaro% ls -l -h
>
> total 275288
>
> -rwxr-xr-x@ 1 notaro staff 85M May 13 1997 gshhs(0).rim
>
> -rwxr-xr-x@ 1 notaro staff 20M May 13 1997 gshhs(1).rim
>
> -rwxr-xr-x@ 1 notaro staff 4.9M May 13 1997 gshhs(2).rim
>
> -rwxr-xr-x@ 1 notaro staff 1.1M May 13 1997 gshhs(3).rim
>
> -rwxr-xr-x@ 1 notaro staff 167K May 13 1997 gshhs(4).rim
>
> -rwxr-xr-x@ 1 notaro staff 253K May 6 1997 rangs(0).cat
>
> -rwxr-xr-x@ 1 notaro staff 6.2M Feb 1 1999 rangs(0).cel
>
> -rwxr-xr-x@ 1 notaro staff 253K May 6 1997 rangs(1).cat
>
> -rwxr-xr-x@ 1 notaro staff 5.7M Feb 1 1999 rangs(1).cel
>
> -rwxr-xr-x@ 1 notaro staff 253K May 6 1997 rangs(2).cat
>
> -rwxr-xr-x@ 1 notaro staff 3.9M Feb 1 1999 rangs(2).cel
>
> -rwxr-xr-x@ 1 notaro staff 253K May 5 1997 rangs(3).cat
>
> -rwxr-xr-x@ 1 notaro staff 3.2M Feb 1 1999 rangs(3).cel
>
> -rwxr-xr-x@ 1 notaro staff 253K May 5 1997 rangs(4).cat
>
>
>
> -rwxr-xr-x@ 1 notaro staff 2.9M Jan 29 1999 rangs(4).cel
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140811/0823e941/attachment.html 


More information about the ncl-talk mailing list