Re: NCL error when runing WRFSI GUI

From: So-Young Ha <syha_at_nyahnyahspammersnyahnyah>
Date: Mon, 24 Apr 2006 09:54:48 -0600

Alex,
It seems to me that it is not a problem of ncl, but of wrfsi gui system.
So you may need to check this link.
http://wrfsi.noaa.gov/gui/users_guide/V3/users_guide.html

- specially, this part (way down the page).

*3.2.6 /Domain Graphics [Optional]/*

The user can create and view graphic images (Figs. 22) to see the
results of a WRF SI domain localization, and specifically create and
view images of the static land characteristic files. To do this, both
NCAR Graphics 4.2.0 (or higher) and NCL must be installed and the NCAR
Graphics environment variables NCARG_ROOT and NCL_COMMAND must be set.
Six sample images of graphics output from the /Australia/ localization
are created with this method from the GUI (Figs. 23?28).

It is not necessary to use the GUI to run NCL, but again, NCAR Graphics
with NCL must be installed and their environment variables set. The GUI
will suppress the *Domain Graphics* user interface option if these two
variables are not set. The following is an example of how to set these
variables, including NCAR_RANGS:

            setenv *NCARG_ROOT* /usr/local/ncarg-4.3.0

            setenv *NCL_COMMAND* /usr/local/ncarg-4.3.0/bin/ncl (must
include /ncl/)

            setenv *NCARG_RANGS* /data/ncl/rangs (/optional/ high
resolution coastline data)

To create graphics plots of the WRF SI static fields outside of the GUI,
just cd to INSTALLROOT/graphics/ncl/ and run the perl script
generate_images.pl. For example:
 
            cd INSTALLROOT/graphics/ncl
            setenv MOAD_DATAROOT /wrfsi/domains/Australia
            generate_images.pl

One thing is - your path to NCL_COMMAND should include "ncl".
Hope this helps.

So-Young

Mary Haley wrote:

>
> Hi Alex,
>
> I m not familiar with the WRFSI model and how it uses NCAR Graphics,
> or where it tries to write the NCGM files. The NCL_COMMAND environment
> variable is not one that we recognize, so this must be something that
> WRFSI depends on.
>
> Having said this, there may be other reasons why the avc.d01.ncgm file
> did not get created. For one, maybe the directory path is wrong, or
> not writable by you. Or, if the directory is close to 100% full, it
> may not allow you to write more files there. The other possibility is
> that there is something wrong with the avc.ncl script, and it couldn't
> be fully executed.
>
> The error message "WARNING: avc.ncl FAILED TO GENERATE NCGM FILE" is
> coming from the WRFSI package, I believe, and not from NCL or NCAR
> Graphics. You may need to look at the documentation or code for WRFSI
> to see what could be the possible causes of this error message.
>
> This should give you a few places to start looking for the problem.
> Let me know if you think we can be of more help somehow.
>
> --Mary
>
>> Rick, and all:
>>
>> Now, my environments are:
>> printenv NCARG_ROOT
>> /npoess/apps/IRIX64/ncarg/64 (V4.2.1)
>> printenv NCL_COMMAND
>> /npoess/apps/IRIX64/NCL-4.2-64/bin (V4.2.0).
>> When I ran wrf_tool and tried to produde graphics, error occurred.
>> See attached jpg.
>>
>> BTW, I did not use NCL's new lib/ and include/ at all. I do not know
>> what those are for.
>>
>> Alex
>>
>> -----Original Message-----
>> From: Foo, Alex (Space Technology)
>> Sent: Thursday, April 20, 2006 2:54 PM
>> To: 'Rick Grubin'; 'grubin_at_ucar.edu'
>> Subject: RE: [ncl-talk] FW: Install NCL to where?
>>
>> Thank you Rick, But, what about NCL's new lib/ and include/ files, some
>> of them have the same names as those of my current NCAR Graphics, but
>> are different? See C.h and ncargC.h, for example:
>>
>> ll $NCARG_ROOT/include/ncarg (my current NCAR Graphics V4.2.1) total 320
>> -rw-r--r-- 1 8338 100 12520 Aug 23 2000 c.h
>> -rw-r--r-- 1 8338 100 7610 Aug 23 2000 cgm_tools.h
>> -rw-r--r-- 1 8338 100 6822 Aug 23 2000 cgmdef.h
>> -rw-r--r-- 1 8338 100 4205 Aug 23 2000 ctrans.h
>> -rw-r--r-- 1 8338 100 50101 Aug 23 2000 gks.h
>> -rw-r--r-- 1 8338 100 4133 Aug 23 2000 gksP.h
>> -rw-r--r-- 1 8338 100 52056 Aug 23 2000 ncargC.h
>> -rw-r--r-- 1 8338 100 15447 Aug 23 2000 ncarg_ras.h
>> -rw-r--r-- 1 8338 100 8626 Aug 23 2000 ngmath.h
>> ll 32/include/ncarg/ (the NCL I downloaded) total 285
>> -rw-r--r-- 1 s119664 sp-lg-e1 12577 Jan 10 02:32 c.h
>> -rw-r--r-- 1 s119664 sp-lg-e1 50101 Jan 10 02:35 gks.h
>> drwxrwxr-x 2 s119664 sp-lg-e1 12288 Apr 19 19:52 hlu/
>> -rw-r--r-- 1 s119664 sp-lg-e1 66546 Jan 10 02:35 ncargC.h
>> drwxrwxr-x 2 s119664 sp-lg-e1 4096 Apr 19 19:52 ncl/
>>
>> Let's say I'd like to install NCL under my $NCARG_ROOT. If I
>> over-write/replace my old files with the same names of NCL's, will this
>> cause any problem for my current NCAR Graphics? I am just worried and do
>> not want to mess up my current NCAR Graphics.
>> What do you suggest me to do?
>>
>> Alex
>> -----Original Message-----
>> From: Rick Grubin [mailto:grubin_at_ucar.edu]
>> Sent: Thursday, April 20, 2006 1:20 PM
>> To: Foo, Alex (Space Technology)
>> Subject: Re: FW: Install NCL to where?
>>
>> Hi Alex,
>>
>>> The instruction to install NCL in two sites are confusing me:
>>> http://wrfsi.noaa.gov/gui/faq_ncl/
>>
>>
>> These instructions are specific to the WRF group at NOAA, their site,
>> and their computing environment.
>>
>>> http://www.ncl.ucar.edu/Download/install.shtml#Gunzip
>>
>>
>> These are the default NCL installation instructions, per the NCL Team at
>> NCAR. They are not absolute, but rather an example on how you might
>> want to install the software. Locations noted in these instructions
>> (such as /usr/local as a value for $NCARG_ROOT) are only suggestions --
>> you may modify them as you wish, if you prefer a different root
>> installation directory. The location you choose will depend wholly on
>> policies and procedures established at your site, as the NCL
>> installation isn't dependent upon the installation location you choose.
>>
>>> I already have NCAR Graphics 4.3.1.
>>> The NCL package has bin/ lib/ and include/ Do I have to put the NCL
>>> bin/* under $NCARG_ROOT/bin/ncl/ or just under $NCARG_ROOT/bin/?
>>> Where whould I put NCL lib/* and include/*? under $NCARG_ROOT/lib/ and
>>
>>
>>> $NCARG_ROOT/include/?
>>> or under $NCARG_ROOT/bin/ncl/lib/ and $NCARG_ROOT/bin/ncl/include/?
>>
>>
>> It would be fine to install NCL under $NCARG_ROOT. The {bin, include,
>> lib} directories there are sufficient and will conform to the
>> instructions found on the NCL website.
>>
>> Please remember that you must have permission to write to the directory
>> defined by $NCARG_ROOT.
>>
>> -Rick.
>> ----
>> Rick Grubin NCAR/CISL/SCD/VETS
>> Visualization + Enabling Technologies
>> grubin_at_ucar.edu 303.497.1832
>>
>>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 24 2006 - 09:54:48 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 24 2006 - 14:13:35 MDT