Re: High-resolution coastlines

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 15 Sep 2008 14:00:33 -0600 (MDT)

On Mon, 15 Sep 2008, Chiara Antoniazzi wrote:

>>
>> Hi,
>> I'm having trouble with the coastline example:
>>
>> http://www.ncl.ucar.edu/Applications/Scripts/maponly_11.ncl
>>
>> I've just followed the instructions for this new database and copied this
>> script, but the last map doesn't appear and the script doesn't finish to
>> run.
>> But If I stop the script there are no errors .
>> I attach a picture wtih my result.
>>
>>
>> My .bashrc file is:
>> -------------------
>> #THIS IS TO SET UP THE /sw/... path preferences.\
>> . /sw/bin/init.sh
>>
>> # Add environment variables for using NCL:
>> export NCARG_ROOT=/Users/chiara/Desktop/NCL/
>> ncl_ncarg-5.0.0.MacOS_powerpc_8.10.0
>> export NCARG_RANGS=$NCARG_ROOT/lib/ncarg/database/rangs
>>
>> export PATH=/opt/ibmcmp/xlf/8.1/bin:.:$NCARG_ROOT/bin:$PATH
>>
>> #ustomize the prompt:
>> PS1="[\\u@\\h:\\w]$ "
>>
>> # Specify memory allocation:
>>
>> ulimit -Ss unlimited
>> ulimit -Sd unlimited
>>
>> --------------------------
>>
>> and the new files are in this folder rangs:
>> ~/Desktop/NCL/ncl_ncarg-5.0.0.MacOS_powerpc_8.10.0/lib/ncarg/database/rangs

Hi Chiara,

I think you may have the wrong path for NCARG_RANGS. You set
it to:

   export NCARG_RANGS=$NCARG_ROOT/lib/ncarg/database/rangs

and NCARG_ROOT is:

  export NCARG_ROOT=/Users/chiara/Desktop/NCL/

This means that NCL is looking for the files in

   /Users/chiara/Desktop/NCL/lib/ncarg/database/rangs

You said the files were actually in:

~/Desktop/NCL/ncl_ncarg-5.0.0.MacOS_powerpc_8.10.0/lib/ncarg/database/rangs

So, you either need to move the files to the directory
"/Users/chiara/Desktop/NCL/lib/ncarg/database/rangs", or
else set NCARG_RANGS to

   /Users/chiara/Desktop/NCL/ncl_ncarg-5.0.0.MacOS_powerpc_8.10.0/lib/ncarg/database/rangs

If you do the former, then you won't need to set NCARG_RANGS, because
NCL by default will look in $NCARG_ROOT/lib/ncarg/database/rangs.

--Mary

>> ncl_ncarg-5.0.0.MacOS_powerpc_8.10.0
>>
>> gshhs(0).rim* rangs(1).cel*
>> gshhs(1).rim* rangs(2).cat*
>> gshhs(2).rim* rangs(2).cel*
>> gshhs(3).rim* rangs(3).cat*
>> gshhs(4).rim* rangs(3).cel*
>> rangs(0).cat* rangs(4).cat*
>> rangs(0).cel* rangs(4).cel*
>> rangs(1).cat*
>>
>>
>>
>> Can you help me?
>> Thanks!
>>
>>
>>>
>>> Chiara Antoniazzi
>>> Visiting Researcher
>>> UCLA Atmospheric & Oceanic Sciences
>>>
>>
>>
>
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 15 2008 - 14:00:33 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 17 2008 - 10:32:36 MDT