Re: NCARG_ROOT question

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Apr 02 2014 - 20:35:42 MDT

Hi Kristina,

I don’t quite understand what you mean about combining 6.1.2 and and an “ncarg” directory from version 6.0.0. If you downloaded NCL V6.1.2, it has its own “ncarg” directory, and this is the one you should use.

The error you’re getting is coming from the “copy_VarCoords” function inside of $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl. This function shouldn’t be referencing “scale_factor” and “add_offset” directly, but if you are mixing and matching versions of NCL, then this would be the first thing I’d suspect.

Can you try using a clean version of 6.1.2, without the “ncarg” from the other version of NCL, and see if it works?

—Mary

On Apr 2, 2014, at 7:19 AM, Kristina Fröhlich <kristina_froehlich@yahoo.de> wrote:

> Hi NCL-ers,
>
> I am migrating ncl from one machine to another and ran into the following error, see below. Running the skript under the old system worked well.
>
> I took a new compiled binary 6.1.2 and the whole ncarg - directory from an old dir using the version 6.0.0 and implemented it into some bin-dir-structure. Obviously the path can be found by NCL but cannot be properly applied.
>
> Should I update the ncarg-dir's as well? Or is something else missing?
>
> Best regards, Kristina
>
> /e/rhome/kurout/bin/NCL/lib/ncarg/nclscripts/csm/contributed.ncl
> warning:Attempt to reference attribute (scale_factor) which is undefined
> warning:Attempt to reference attribute (add_offset) which is undefined
> (0) Max (var_an)-2.14748e+09 Min(var_an) -2.14748e+09
> fatal:Subscript out of range, error in subscript #0
> fatal:An error occurred reading dfrom
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 190 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
>
>
>
> _______________________________________________
> 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 Wed Apr 2 20:35:49 2014

This archive was generated by hypermail 2.1.8 : Thu Apr 03 2014 - 13:36:27 MDT